96 mnLeftCrop = nLeft_100TH_MM;
97 mnTopCrop = nTop_100TH_MM;
98 mnRightCrop = nRight_100TH_MM;
99 mnBottomCrop = nBottom_100TH_MM;
109 void SetLuminance(
short nLuminancePercent) { mnLumPercent = nLuminancePercent; }
112 void SetContrast(
short nContrastPercent) { mnContPercent = nContrastPercent; }
115 void SetChannelR(
short nChannelRPercent) { mnRPercent = nChannelRPercent; }
118 void SetChannelG(
short nChannelGPercent) { mnGPercent = nChannelGPercent; }
121 void SetChannelB(
short nChannelBPercent) { mnBPercent = nChannelBPercent; }
137 return (mnLeftCrop != 0 || mnTopCrop != 0 || mnRightCrop != 0 || mnBottomCrop != 0);
139 bool IsRotated()
const {
return ((mnRotate10 % 3600_deg10) != 0_deg10); }
143 return (mnLumPercent != 0 || mnContPercent != 0 || mnRPercent != 0 || mnGPercent != 0
144 || mnBPercent != 0 || mfGamma != 1.0 || mbInvert);
BmpMirrorFlags mnMirrFlags
Degree10 GetRotation() const
short GetContrast() const
void SetGamma(double fGamma)
short GetChannelB() const
tools::Long GetTopCrop() const
void SetRotation(Degree10 nRotate10)
void SetChannelR(short nChannelRPercent)
bool operator!=(const GraphicAttr &rAttr) const
bool IsTransparent() const
bool IsSpecialDrawMode() const
tools::Long GetBottomCrop() const
tools::Long GetRightCrop() const
void SetMirrorFlags(BmpMirrorFlags nMirrFlags)
GraphicDrawMode GetDrawMode() const
void SetContrast(short nContrastPercent)
BmpMirrorFlags GetMirrorFlags() const
void SetChannelB(short nChannelBPercent)
sal_uInt8 GetAlpha() const
short GetChannelG() const
short GetChannelR() const
void SetCrop(tools::Long nLeft_100TH_MM, tools::Long nTop_100TH_MM, tools::Long nRight_100TH_MM, tools::Long nBottom_100TH_MM)
void SetInvert(bool bInvert)
GraphicDrawMode meDrawMode
bool operator==(const GraphicAttr &rAttr) const
void SetDrawMode(GraphicDrawMode eDrawMode)
void SetLuminance(short nLuminancePercent)
tools::Long GetLeftCrop() const
void SetAlpha(sal_uInt8 cAlpha)
void SetChannelG(short nChannelGPercent)
short GetLuminance() const