Lines Matching refs:sal_uInt8

52 …r,g,b )		((ColorData)(((sal_uInt32)((sal_uInt8)(b))))|(((sal_uInt32)((sal_uInt8)(g)))<<8)|(((sal_u…
53 …ta)(((sal_uInt32)((sal_uInt8)(b))))|(((sal_uInt32)((sal_uInt8)(g)))<<8)|(((sal_uInt32)((sal_uInt8)…
54 #define COLORDATA_RED( n ) ((sal_uInt8)((n)>>16))
55 #define COLORDATA_GREEN( n ) ((sal_uInt8)(((sal_uInt16)(n)) >> 8))
56 #define COLORDATA_BLUE( n ) ((sal_uInt8)(n))
57 #define COLORDATA_TRANSPARENCY( n ) ((sal_uInt8)((n)>>24))
107 …((sal_uInt8)((((long)(_def_cDst)-(_def_cSrc))*(_def_cSrcTrans)+(((_def_cSrc)<<8L)|(_def_cDst)))>>8…
121 Color( sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue ) in Color()
123 Color( sal_uInt8 nTransparency, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue ) in Color()
132 sal_uInt8((rBColor.getRed() * 255.0) + 0.5), in Color()
133 sal_uInt8((rBColor.getGreen() * 255.0) + 0.5), in Color()
134 sal_uInt8((rBColor.getBlue() * 255.0) + 0.5)); in Color()
137 void SetRed( sal_uInt8 nRed );
138 sal_uInt8 GetRed() const { return COLORDATA_RED( mnColor ); } in GetRed()
139 void SetGreen( sal_uInt8 nGreen );
140 sal_uInt8 GetGreen() const { return COLORDATA_GREEN( mnColor ); } in GetGreen()
141 void SetBlue( sal_uInt8 nBlue );
142 sal_uInt8 GetBlue() const { return COLORDATA_BLUE( mnColor ); } in GetBlue()
143 void SetTransparency( sal_uInt8 nTransparency );
144 sal_uInt8 GetTransparency() const { return COLORDATA_TRANSPARENCY( mnColor ); } in GetTransparency()
150 sal_uInt8 GetColorError( const Color& rCompareColor ) const;
152 sal_uInt8 GetLuminance() const;
153 void IncreaseLuminance( sal_uInt8 cLumInc );
154 void DecreaseLuminance( sal_uInt8 cLumDec );
156 void IncreaseContrast( sal_uInt8 cContInc );
157 void DecreaseContrast( sal_uInt8 cContDec );
161 void Merge( const Color& rMergeColor, sal_uInt8 cTransparency );
196 inline void Color::SetRed( sal_uInt8 nRed ) in SetRed()
202 inline void Color::SetGreen( sal_uInt8 nGreen ) in SetGreen()
208 inline void Color::SetBlue( sal_uInt8 nBlue ) in SetBlue()
214 inline void Color::SetTransparency( sal_uInt8 nTransparency ) in SetTransparency()
225 inline sal_uInt8 Color::GetLuminance() const in GetLuminance()
227 return( (sal_uInt8) ( ( COLORDATA_BLUE( mnColor ) * 28UL + in GetLuminance()
232 inline void Color::Merge( const Color& rMergeColor, sal_uInt8 cTransparency ) in Merge()