LibreOffice Module vcl (master) 1
Public Member Functions | Private Attributes | List of all members
GraphicAttr Class Reference

#include <GraphicAttributes.hxx>

Collaboration diagram for GraphicAttr:
[legend]

Public Member Functions

 GraphicAttr ()
 
bool operator== (const GraphicAttr &rAttr) const
 
bool operator!= (const GraphicAttr &rAttr) const
 
void SetDrawMode (GraphicDrawMode eDrawMode)
 
GraphicDrawMode GetDrawMode () const
 
void SetMirrorFlags (BmpMirrorFlags nMirrFlags)
 
BmpMirrorFlags GetMirrorFlags () const
 
void SetCrop (tools::Long nLeft_100TH_MM, tools::Long nTop_100TH_MM, tools::Long nRight_100TH_MM, tools::Long nBottom_100TH_MM)
 
tools::Long GetLeftCrop () const
 
tools::Long GetTopCrop () const
 
tools::Long GetRightCrop () const
 
tools::Long GetBottomCrop () const
 
void SetRotation (Degree10 nRotate10)
 
Degree10 GetRotation () const
 
void SetLuminance (short nLuminancePercent)
 
short GetLuminance () const
 
void SetContrast (short nContrastPercent)
 
short GetContrast () const
 
void SetChannelR (short nChannelRPercent)
 
short GetChannelR () const
 
void SetChannelG (short nChannelGPercent)
 
short GetChannelG () const
 
void SetChannelB (short nChannelBPercent)
 
short GetChannelB () const
 
void SetGamma (double fGamma)
 
double GetGamma () const
 
void SetInvert (bool bInvert)
 
bool IsInvert () const
 
void SetAlpha (sal_uInt8 cAlpha)
 
sal_uInt8 GetAlpha () const
 
bool IsSpecialDrawMode () const
 
bool IsMirrored () const
 
bool IsCropped () const
 
bool IsRotated () const
 
bool IsTransparent () const
 
bool IsAdjusted () const
 

Private Attributes

double mfGamma
 
tools::Long mnLeftCrop
 
tools::Long mnTopCrop
 
tools::Long mnRightCrop
 
tools::Long mnBottomCrop
 
BmpMirrorFlags mnMirrFlags
 
GraphicDrawMode meDrawMode
 
Degree10 mnRotate10
 
short mnContPercent
 
short mnLumPercent
 
short mnRPercent
 
short mnGPercent
 
short mnBPercent
 
sal_uInt8 mcAlpha
 
bool mbInvert
 

Detailed Description

Definition at line 34 of file GraphicAttributes.hxx.

Constructor & Destructor Documentation

◆ GraphicAttr()

GraphicAttr::GraphicAttr ( )
inline

Definition at line 54 of file GraphicAttributes.hxx.

References NONE, and Standard.

Member Function Documentation

◆ GetAlpha()

sal_uInt8 GraphicAttr::GetAlpha ( ) const
inline

Definition at line 131 of file GraphicAttributes.hxx.

◆ GetBottomCrop()

tools::Long GraphicAttr::GetBottomCrop ( ) const
inline

◆ GetChannelB()

short GraphicAttr::GetChannelB ( ) const
inline

Definition at line 122 of file GraphicAttributes.hxx.

◆ GetChannelG()

short GraphicAttr::GetChannelG ( ) const
inline

Definition at line 119 of file GraphicAttributes.hxx.

◆ GetChannelR()

short GraphicAttr::GetChannelR ( ) const
inline

Definition at line 116 of file GraphicAttributes.hxx.

◆ GetContrast()

short GraphicAttr::GetContrast ( ) const
inline

Definition at line 113 of file GraphicAttributes.hxx.

◆ GetDrawMode()

GraphicDrawMode GraphicAttr::GetDrawMode ( ) const
inline

Definition at line 88 of file GraphicAttributes.hxx.

◆ GetGamma()

double GraphicAttr::GetGamma ( ) const
inline

Definition at line 125 of file GraphicAttributes.hxx.

◆ GetLeftCrop()

tools::Long GraphicAttr::GetLeftCrop ( ) const
inline

◆ GetLuminance()

short GraphicAttr::GetLuminance ( ) const
inline

Definition at line 110 of file GraphicAttributes.hxx.

◆ GetMirrorFlags()

BmpMirrorFlags GraphicAttr::GetMirrorFlags ( ) const
inline

Definition at line 91 of file GraphicAttributes.hxx.

Referenced by GraphicObject::Draw(), and GraphicObject::ImplGetCropParams().

◆ GetRightCrop()

tools::Long GraphicAttr::GetRightCrop ( ) const
inline

◆ GetRotation()

Degree10 GraphicAttr::GetRotation ( ) const
inline

◆ GetTopCrop()

tools::Long GraphicAttr::GetTopCrop ( ) const
inline

◆ IsAdjusted()

bool GraphicAttr::IsAdjusted ( ) const
inline

Definition at line 141 of file GraphicAttributes.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

◆ IsCropped()

bool GraphicAttr::IsCropped ( ) const
inline

◆ IsInvert()

bool GraphicAttr::IsInvert ( ) const
inline

Definition at line 128 of file GraphicAttributes.hxx.

◆ IsMirrored()

bool GraphicAttr::IsMirrored ( ) const
inline

Definition at line 134 of file GraphicAttributes.hxx.

References NONE.

Referenced by GraphicObject::GetTransformedGraphic().

◆ IsRotated()

bool GraphicAttr::IsRotated ( ) const
inline

Definition at line 139 of file GraphicAttributes.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

◆ IsSpecialDrawMode()

bool GraphicAttr::IsSpecialDrawMode ( ) const
inline

Definition at line 133 of file GraphicAttributes.hxx.

References Standard.

Referenced by GraphicObject::GetTransformedGraphic().

◆ IsTransparent()

bool GraphicAttr::IsTransparent ( ) const
inline

Definition at line 140 of file GraphicAttributes.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

◆ operator!=()

bool GraphicAttr::operator!= ( const GraphicAttr rAttr) const
inline

Definition at line 85 of file GraphicAttributes.hxx.

◆ operator==()

bool GraphicAttr::operator== ( const GraphicAttr rAttr) const
inline

◆ SetAlpha()

void GraphicAttr::SetAlpha ( sal_uInt8  cAlpha)
inline

Definition at line 130 of file GraphicAttributes.hxx.

◆ SetChannelB()

void GraphicAttr::SetChannelB ( short  nChannelBPercent)
inline

Definition at line 121 of file GraphicAttributes.hxx.

◆ SetChannelG()

void GraphicAttr::SetChannelG ( short  nChannelGPercent)
inline

Definition at line 118 of file GraphicAttributes.hxx.

◆ SetChannelR()

void GraphicAttr::SetChannelR ( short  nChannelRPercent)
inline

Definition at line 115 of file GraphicAttributes.hxx.

◆ SetContrast()

void GraphicAttr::SetContrast ( short  nContrastPercent)
inline

Definition at line 112 of file GraphicAttributes.hxx.

◆ SetCrop()

void GraphicAttr::SetCrop ( tools::Long  nLeft_100TH_MM,
tools::Long  nTop_100TH_MM,
tools::Long  nRight_100TH_MM,
tools::Long  nBottom_100TH_MM 
)
inline

Definition at line 93 of file GraphicAttributes.hxx.

◆ SetDrawMode()

void GraphicAttr::SetDrawMode ( GraphicDrawMode  eDrawMode)
inline

Definition at line 87 of file GraphicAttributes.hxx.

◆ SetGamma()

void GraphicAttr::SetGamma ( double  fGamma)
inline

Definition at line 124 of file GraphicAttributes.hxx.

◆ SetInvert()

void GraphicAttr::SetInvert ( bool  bInvert)
inline

Definition at line 127 of file GraphicAttributes.hxx.

◆ SetLuminance()

void GraphicAttr::SetLuminance ( short  nLuminancePercent)
inline

Definition at line 109 of file GraphicAttributes.hxx.

◆ SetMirrorFlags()

void GraphicAttr::SetMirrorFlags ( BmpMirrorFlags  nMirrFlags)
inline

Definition at line 90 of file GraphicAttributes.hxx.

Referenced by GraphicObject::Draw().

◆ SetRotation()

void GraphicAttr::SetRotation ( Degree10  nRotate10)
inline

Definition at line 106 of file GraphicAttributes.hxx.

Member Data Documentation

◆ mbInvert

bool GraphicAttr::mbInvert
private

Definition at line 51 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mcAlpha

sal_uInt8 GraphicAttr::mcAlpha
private

Definition at line 50 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ meDrawMode

GraphicDrawMode GraphicAttr::meDrawMode
private

Definition at line 43 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mfGamma

double GraphicAttr::mfGamma
private

Definition at line 37 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mnBottomCrop

tools::Long GraphicAttr::mnBottomCrop
private

Definition at line 41 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mnBPercent

short GraphicAttr::mnBPercent
private

Definition at line 49 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mnContPercent

short GraphicAttr::mnContPercent
private

Definition at line 45 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mnGPercent

short GraphicAttr::mnGPercent
private

Definition at line 48 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mnLeftCrop

tools::Long GraphicAttr::mnLeftCrop
private

Definition at line 38 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mnLumPercent

short GraphicAttr::mnLumPercent
private

Definition at line 46 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mnMirrFlags

BmpMirrorFlags GraphicAttr::mnMirrFlags
private

Definition at line 42 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mnRightCrop

tools::Long GraphicAttr::mnRightCrop
private

Definition at line 40 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mnRotate10

Degree10 GraphicAttr::mnRotate10
private

Definition at line 44 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mnRPercent

short GraphicAttr::mnRPercent
private

Definition at line 47 of file GraphicAttributes.hxx.

Referenced by operator==().

◆ mnTopCrop

tools::Long GraphicAttr::mnTopCrop
private

Definition at line 39 of file GraphicAttributes.hxx.

Referenced by operator==().


The documentation for this class was generated from the following file: