Lines Matching refs:ScaleQuantumToShort
116 ((ScaleQuantumToShort(XRedGamma((color)->red))*map->red_max/65535L)* \
118 ((ScaleQuantumToShort(XGreenGamma((color)->green))*map->green_max/65535L)* \
120 ((ScaleQuantumToShort(XBlueGamma((color)->blue))*map->blue_max/65535L)* \
123 ((ScaleQuantumToShort(XRedGamma(GetPixelRed(image,color)))*map->red_max/65535L)* \
125 ((ScaleQuantumToShort(XGreenGamma(GetPixelGreen(image,color)))*map->green_max/65535L)* \
127 ((ScaleQuantumToShort(XBlueGamma(GetPixelBlue(image,color)))*map->blue_max/65535L)* \
3130 pixel->alpha_color.red*ScaleQuantumToShort(HighlightModulate))/65535L+ in XGetPixelInfo()
3131 (ScaleQuantumToShort((Quantum) (QuantumRange-HighlightModulate)))); in XGetPixelInfo()
3133 pixel->alpha_color.green*ScaleQuantumToShort(HighlightModulate))/65535L+ in XGetPixelInfo()
3134 (ScaleQuantumToShort((Quantum) (QuantumRange-HighlightModulate)))); in XGetPixelInfo()
3136 pixel->alpha_color.blue*ScaleQuantumToShort(HighlightModulate))/65535L+ in XGetPixelInfo()
3137 (ScaleQuantumToShort((Quantum) (QuantumRange-HighlightModulate)))); in XGetPixelInfo()
3144 pixel->alpha_color.red*ScaleQuantumToShort(ShadowModulate))/65535L); in XGetPixelInfo()
3146 pixel->alpha_color.green*ScaleQuantumToShort(ShadowModulate))/65535L); in XGetPixelInfo()
3148 pixel->alpha_color.blue*ScaleQuantumToShort(ShadowModulate))/65535L); in XGetPixelInfo()
3155 pixel->alpha_color.red*ScaleQuantumToShort(DepthModulate))/65535L); in XGetPixelInfo()
3157 pixel->alpha_color.green*ScaleQuantumToShort(DepthModulate))/65535L); in XGetPixelInfo()
3159 pixel->alpha_color.blue*ScaleQuantumToShort(DepthModulate))/65535L); in XGetPixelInfo()
3166 pixel->alpha_color.red*ScaleQuantumToShort(TroughModulate))/65535L); in XGetPixelInfo()
3168 pixel->alpha_color.green*ScaleQuantumToShort(TroughModulate))/65535L); in XGetPixelInfo()
3170 pixel->alpha_color.blue*ScaleQuantumToShort(TroughModulate))/65535L); in XGetPixelInfo()
7882 color.red=ScaleQuantumToShort(XRedGamma(image->colormap[i].red)); in XMakeStandardColormap()
7883 color.green=ScaleQuantumToShort(XGreenGamma(image->colormap[i].green)); in XMakeStandardColormap()
7884 color.blue=ScaleQuantumToShort(XBlueGamma(image->colormap[i].blue)); in XMakeStandardColormap()
8017 ScaleQuantumToShort(XRedGamma(image->colormap[index].red)); in XMakeStandardColormap()
8019 ScaleQuantumToShort(XGreenGamma(image->colormap[index].green)); in XMakeStandardColormap()
8021 ScaleQuantumToShort(XBlueGamma(image->colormap[index].blue)); in XMakeStandardColormap()
8053 color.red=ScaleQuantumToShort( in XMakeStandardColormap()
8055 color.green=ScaleQuantumToShort( in XMakeStandardColormap()
8057 color.blue=ScaleQuantumToShort( in XMakeStandardColormap()
8145 color.red=ScaleQuantumToShort(XRedGamma(image->colormap[i].red)); in XMakeStandardColormap()
8146 color.green=ScaleQuantumToShort(XGreenGamma(image->colormap[i].green)); in XMakeStandardColormap()
8147 color.blue=ScaleQuantumToShort(XBlueGamma(image->colormap[i].blue)); in XMakeStandardColormap()
9149 pixel.pen_color.red=ScaleQuantumToShort(draw_info->fill.red); in XRenderImage()
9150 pixel.pen_color.green=ScaleQuantumToShort(draw_info->fill.green); in XRenderImage()
9151 pixel.pen_color.blue=ScaleQuantumToShort(draw_info->fill.blue); in XRenderImage()