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

#include <GraphicAttributes.hxx>

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 (long nLeft_100TH_MM, long nTop_100TH_MM, long nRight_100TH_MM, long nBottom_100TH_MM)
 
long GetLeftCrop () const
 
long GetTopCrop () const
 
long GetRightCrop () const
 
long GetBottomCrop () const
 
void SetRotation (sal_uInt16 nRotate10)
 
sal_uInt16 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 SetTransparency (sal_uInt8 cTransparency)
 
sal_uInt8 GetTransparency () const
 
bool IsSpecialDrawMode () const
 
bool IsMirrored () const
 
bool IsCropped () const
 
bool IsRotated () const
 
bool IsTransparent () const
 
bool IsAdjusted () const
 

Private Attributes

double mfGamma
 
BmpMirrorFlags mnMirrFlags
 
long mnLeftCrop
 
long mnTopCrop
 
long mnRightCrop
 
long mnBottomCrop
 
sal_uInt16 mnRotate10
 
short mnContPercent
 
short mnLumPercent
 
short mnRPercent
 
short mnGPercent
 
short mnBPercent
 
bool mbInvert
 
sal_uInt8 mcTransparency
 
GraphicDrawMode meDrawMode
 

Detailed Description

Definition at line 35 of file GraphicAttributes.hxx.

Constructor & Destructor Documentation

GraphicAttr::GraphicAttr ( )

Definition at line 22 of file grfattr.cxx.

References NONE, and Standard.

Member Function Documentation

long GraphicAttr::GetBottomCrop ( ) const
inline
short GraphicAttr::GetChannelB ( ) const
inline

Definition at line 95 of file GraphicAttributes.hxx.

short GraphicAttr::GetChannelG ( ) const
inline

Definition at line 92 of file GraphicAttributes.hxx.

short GraphicAttr::GetChannelR ( ) const
inline

Definition at line 89 of file GraphicAttributes.hxx.

short GraphicAttr::GetContrast ( ) const
inline

Definition at line 86 of file GraphicAttributes.hxx.

GraphicDrawMode GraphicAttr::GetDrawMode ( ) const
inline

Definition at line 61 of file GraphicAttributes.hxx.

double GraphicAttr::GetGamma ( ) const
inline

Definition at line 98 of file GraphicAttributes.hxx.

long GraphicAttr::GetLeftCrop ( ) const
inline
short GraphicAttr::GetLuminance ( ) const
inline

Definition at line 83 of file GraphicAttributes.hxx.

BmpMirrorFlags GraphicAttr::GetMirrorFlags ( ) const
inline

Definition at line 64 of file GraphicAttributes.hxx.

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

long GraphicAttr::GetRightCrop ( ) const
inline
sal_uInt16 GraphicAttr::GetRotation ( ) const
inline
long GraphicAttr::GetTopCrop ( ) const
inline
sal_uInt8 GraphicAttr::GetTransparency ( ) const
inline

Definition at line 104 of file GraphicAttributes.hxx.

bool GraphicAttr::IsAdjusted ( ) const
inline

Definition at line 114 of file GraphicAttributes.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

bool GraphicAttr::IsCropped ( ) const
inline
bool GraphicAttr::IsInvert ( ) const
inline

Definition at line 101 of file GraphicAttributes.hxx.

bool GraphicAttr::IsMirrored ( ) const
inline

Definition at line 107 of file GraphicAttributes.hxx.

References NONE.

Referenced by GraphicObject::GetTransformedGraphic().

bool GraphicAttr::IsRotated ( ) const
inline

Definition at line 112 of file GraphicAttributes.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

bool GraphicAttr::IsSpecialDrawMode ( ) const
inline

Definition at line 106 of file GraphicAttributes.hxx.

References Standard.

Referenced by GraphicObject::GetTransformedGraphic().

bool GraphicAttr::IsTransparent ( ) const
inline

Definition at line 113 of file GraphicAttributes.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

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

Definition at line 58 of file GraphicAttributes.hxx.

bool GraphicAttr::operator== ( const GraphicAttr rAttr) const
void GraphicAttr::SetChannelB ( short  nChannelBPercent)
inline

Definition at line 94 of file GraphicAttributes.hxx.

void GraphicAttr::SetChannelG ( short  nChannelGPercent)
inline

Definition at line 91 of file GraphicAttributes.hxx.

void GraphicAttr::SetChannelR ( short  nChannelRPercent)
inline

Definition at line 88 of file GraphicAttributes.hxx.

void GraphicAttr::SetContrast ( short  nContrastPercent)
inline

Definition at line 85 of file GraphicAttributes.hxx.

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

Definition at line 66 of file GraphicAttributes.hxx.

void GraphicAttr::SetDrawMode ( GraphicDrawMode  eDrawMode)
inline

Definition at line 60 of file GraphicAttributes.hxx.

void GraphicAttr::SetGamma ( double  fGamma)
inline

Definition at line 97 of file GraphicAttributes.hxx.

void GraphicAttr::SetInvert ( bool  bInvert)
inline

Definition at line 100 of file GraphicAttributes.hxx.

void GraphicAttr::SetLuminance ( short  nLuminancePercent)
inline

Definition at line 82 of file GraphicAttributes.hxx.

void GraphicAttr::SetMirrorFlags ( BmpMirrorFlags  nMirrFlags)
inline

Definition at line 63 of file GraphicAttributes.hxx.

Referenced by GraphicObject::Draw().

void GraphicAttr::SetRotation ( sal_uInt16  nRotate10)
inline

Definition at line 79 of file GraphicAttributes.hxx.

void GraphicAttr::SetTransparency ( sal_uInt8  cTransparency)
inline

Definition at line 103 of file GraphicAttributes.hxx.

Member Data Documentation

bool GraphicAttr::mbInvert
private

Definition at line 50 of file GraphicAttributes.hxx.

Referenced by operator==().

sal_uInt8 GraphicAttr::mcTransparency
private

Definition at line 51 of file GraphicAttributes.hxx.

Referenced by operator==().

GraphicDrawMode GraphicAttr::meDrawMode
private

Definition at line 52 of file GraphicAttributes.hxx.

Referenced by operator==().

double GraphicAttr::mfGamma
private

Definition at line 38 of file GraphicAttributes.hxx.

Referenced by operator==().

long GraphicAttr::mnBottomCrop
private

Definition at line 43 of file GraphicAttributes.hxx.

Referenced by operator==().

short GraphicAttr::mnBPercent
private

Definition at line 49 of file GraphicAttributes.hxx.

Referenced by operator==().

short GraphicAttr::mnContPercent
private

Definition at line 45 of file GraphicAttributes.hxx.

Referenced by operator==().

short GraphicAttr::mnGPercent
private

Definition at line 48 of file GraphicAttributes.hxx.

Referenced by operator==().

long GraphicAttr::mnLeftCrop
private

Definition at line 40 of file GraphicAttributes.hxx.

Referenced by operator==().

short GraphicAttr::mnLumPercent
private

Definition at line 46 of file GraphicAttributes.hxx.

Referenced by operator==().

BmpMirrorFlags GraphicAttr::mnMirrFlags
private

Definition at line 39 of file GraphicAttributes.hxx.

Referenced by operator==().

long GraphicAttr::mnRightCrop
private

Definition at line 42 of file GraphicAttributes.hxx.

Referenced by operator==().

sal_uInt16 GraphicAttr::mnRotate10
private

Definition at line 44 of file GraphicAttributes.hxx.

Referenced by operator==().

short GraphicAttr::mnRPercent
private

Definition at line 47 of file GraphicAttributes.hxx.

Referenced by operator==().

long GraphicAttr::mnTopCrop
private

Definition at line 41 of file GraphicAttributes.hxx.

Referenced by operator==().


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