20#ifndef INCLUDED_VCL_INC_IMPOCTREE_HXX
21#define INCLUDED_VCL_INC_IMPOCTREE_HXX
40 :
nRed(rColor.GetRed() << 5)
41 ,
nGreen(rColor.GetGreen() << 5)
42 ,
nBlue(rColor.GetBlue() << 5)
103 return BitmapColor(std::clamp(
nRed, sal_Int16(0), sal_Int16(8160)) >> 5,
104 std::clamp(
nGreen, sal_Int16(0), sal_Int16(8160)) >> 5,
105 std::clamp(
nBlue, sal_Int16(0), sal_Int16(8160)) >> 5);
sal_uInt8 GetBlue() const
sal_uInt8 GetGreen() const
void ImplAddColorError7(const ImpErrorQuad &rErrQuad)
ImpErrorQuad & operator-=(const BitmapColor &rColor)
ImpErrorQuad(const BitmapColor &rColor)
BitmapColor ImplGetColor() const
void ImplAddColorError5(const ImpErrorQuad &rErrQuad)
void ImplAddColorError3(const ImpErrorQuad &rErrQuad)
void ImplAddColorError1(const ImpErrorQuad &rErrQuad)
void operator=(const BitmapColor &rColor)