Lines Matching refs:alpha
35 static inline double MagickOver_(const double p,const double alpha, in MagickOver_() argument
42 Sa=QuantumScale*alpha; in MagickOver_()
53 const double alpha,const Quantum *q,const double beta,Quantum *composite) in CompositePixelOver() argument
66 Sa=QuantumScale*alpha; in CompositePixelOver()
86 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->red,alpha, in CompositePixelOver()
92 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->green,alpha, in CompositePixelOver()
98 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->blue,alpha, in CompositePixelOver()
104 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->black,alpha, in CompositePixelOver()
123 const double alpha,const PixelInfo *q,const double beta,PixelInfo *composite) in CompositePixelInfoOver() argument
133 Sa=QuantumScale*alpha; in CompositePixelInfoOver()
136 composite->alpha=(double) QuantumRange*RoundToUnity(gamma); in CompositePixelInfoOver()
138 composite->red=gamma*MagickOver_(p->red,alpha,q->red,beta); in CompositePixelInfoOver()
139 composite->green=gamma*MagickOver_(p->green,alpha,q->green,beta); in CompositePixelInfoOver()
140 composite->blue=gamma*MagickOver_(p->blue,alpha,q->blue,beta); in CompositePixelInfoOver()
142 composite->black=gamma*MagickOver_(p->black,alpha,q->black,beta); in CompositePixelInfoOver()
146 const double alpha,const PixelInfo *q,const double beta,PixelInfo *composite) in CompositePixelInfoPlus() argument
156 Sa=QuantumScale*alpha; in CompositePixelInfoPlus()
159 composite->alpha=(double) QuantumRange*RoundToUnity(gamma); in CompositePixelInfoPlus()
169 const double alpha,const PixelInfo *q,const double beta,const double area, in CompositePixelInfoAreaBlend() argument
175 CompositePixelInfoPlus(p,(double) (1.0-area)*alpha,q,(double) (area*beta), in CompositePixelInfoAreaBlend()
180 const double alpha,const PixelInfo *q,const double beta,PixelInfo *composite) in CompositePixelInfoBlend() argument
185 CompositePixelInfoPlus(p,(double) (alpha*p->alpha),q,(double) (beta*q->alpha), in CompositePixelInfoBlend()