53 myTransparentSingleValuePixel.
pixelValue = theValue;
68 myTransparentThreeValuePixel.
red = theRedValue;
69 myTransparentThreeValuePixel.
green = theGreenValue;
70 myTransparentThreeValuePixel.
blue = theBlueValue;
101 if ( theValue != theValue )
107 bool myTransparentPixelFound =
false;
112 if ( myTransparentPixel.
pixelValue == theValue )
114 myTransparentPixelFound =
true;
120 if ( myTransparentPixelFound )
122 return (
int )(( float )theGlobalTransparency *( 1.0 - ( myTransparentPixel.
percentTransparent / 100.0 ) ) );
125 return theGlobalTransparency;
139 if ( theRedValue != theRedValue || theGreenValue != theGreenValue || theBlueValue != theBlueValue )
145 bool myTransparentPixelFound =
false;
150 if ( myTransparentPixel.
red == theRedValue )
152 if ( myTransparentPixel.
green == theGreenValue )
154 if ( myTransparentPixel.
blue == theBlueValue )
156 myTransparentPixelFound =
true;
164 if ( myTransparentPixelFound )
166 return (
int )(( float )theGlobalTransparency *( 1.0 - ( myTransparentPixel.
percentTransparent / 100.0 ) ) );
169 return theGlobalTransparency;