Lines Matching refs:mfRGBA
91 void SetAlpha( float fAlpha ) { mfRGBA[3] = fAlpha; } in SetAlpha()
93 bool IsVisible() const { return (mfRGBA[3] > 0); } in IsVisible()
94 const CGFloat* AsArray() const { return mfRGBA; } in AsArray()
95 CGFloat GetRed() const { return mfRGBA[0]; } in GetRed()
96 CGFloat GetGreen() const { return mfRGBA[1]; } in GetGreen()
97 CGFloat GetBlue() const { return mfRGBA[2]; } in GetBlue()
98 CGFloat GetAlpha() const { return mfRGBA[3]; } in GetAlpha()
100 CGFloat mfRGBA[4]; // RGBA member in RGBAColor
461 mfRGBA[0] = SALCOLOR_RED( nSalColor) * (1.0/255); in RGBAColor()
462 mfRGBA[1] = SALCOLOR_GREEN(nSalColor) * (1.0/255); in RGBAColor()
463 mfRGBA[2] = SALCOLOR_BLUE( nSalColor) * (1.0/255); in RGBAColor()
464 mfRGBA[3] = 1.0; // default to opaque in RGBAColor()
469 mfRGBA[0] = fRed; in RGBAColor()
470 mfRGBA[1] = fGreen; in RGBAColor()
471 mfRGBA[2] = fBlue; in RGBAColor()
472 mfRGBA[3] = fAlpha; in RGBAColor()