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

#include <GraphicObject.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 58 of file GraphicObject.hxx.

Constructor & Destructor Documentation

GraphicAttr::GraphicAttr ( )

Definition at line 24 of file grfattr.cxx.

References NONE, and Standard.

Member Function Documentation

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

Definition at line 117 of file GraphicObject.hxx.

short GraphicAttr::GetChannelG ( ) const
inline

Definition at line 114 of file GraphicObject.hxx.

short GraphicAttr::GetChannelR ( ) const
inline

Definition at line 111 of file GraphicObject.hxx.

short GraphicAttr::GetContrast ( ) const
inline

Definition at line 108 of file GraphicObject.hxx.

GraphicDrawMode GraphicAttr::GetDrawMode ( ) const
inline

Definition at line 86 of file GraphicObject.hxx.

double GraphicAttr::GetGamma ( ) const
inline

Definition at line 120 of file GraphicObject.hxx.

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

Definition at line 105 of file GraphicObject.hxx.

BmpMirrorFlags GraphicAttr::GetMirrorFlags ( ) const
inline

Definition at line 89 of file GraphicObject.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 126 of file GraphicObject.hxx.

bool GraphicAttr::IsAdjusted ( ) const
inline

Definition at line 137 of file GraphicObject.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

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

Definition at line 123 of file GraphicObject.hxx.

bool GraphicAttr::IsMirrored ( ) const
inline

Definition at line 129 of file GraphicObject.hxx.

References NONE.

Referenced by GraphicObject::GetTransformedGraphic().

bool GraphicAttr::IsRotated ( ) const
inline

Definition at line 135 of file GraphicObject.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

bool GraphicAttr::IsSpecialDrawMode ( ) const
inline

Definition at line 128 of file GraphicObject.hxx.

References Standard.

Referenced by GraphicObject::GetTransformedGraphic().

bool GraphicAttr::IsTransparent ( ) const
inline

Definition at line 136 of file GraphicObject.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

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

Definition at line 83 of file GraphicObject.hxx.

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

Definition at line 116 of file GraphicObject.hxx.

void GraphicAttr::SetChannelG ( short  nChannelGPercent)
inline

Definition at line 113 of file GraphicObject.hxx.

void GraphicAttr::SetChannelR ( short  nChannelRPercent)
inline

Definition at line 110 of file GraphicObject.hxx.

void GraphicAttr::SetContrast ( short  nContrastPercent)
inline

Definition at line 107 of file GraphicObject.hxx.

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

Definition at line 91 of file GraphicObject.hxx.

void GraphicAttr::SetDrawMode ( GraphicDrawMode  eDrawMode)
inline

Definition at line 85 of file GraphicObject.hxx.

void GraphicAttr::SetGamma ( double  fGamma)
inline

Definition at line 119 of file GraphicObject.hxx.

void GraphicAttr::SetInvert ( bool  bInvert)
inline

Definition at line 122 of file GraphicObject.hxx.

void GraphicAttr::SetLuminance ( short  nLuminancePercent)
inline

Definition at line 104 of file GraphicObject.hxx.

void GraphicAttr::SetMirrorFlags ( BmpMirrorFlags  nMirrFlags)
inline

Definition at line 88 of file GraphicObject.hxx.

Referenced by GraphicObject::Draw().

void GraphicAttr::SetRotation ( sal_uInt16  nRotate10)
inline

Definition at line 101 of file GraphicObject.hxx.

void GraphicAttr::SetTransparency ( sal_uInt8  cTransparency)
inline

Definition at line 125 of file GraphicObject.hxx.

Member Data Documentation

bool GraphicAttr::mbInvert
private

Definition at line 74 of file GraphicObject.hxx.

Referenced by operator==().

sal_uInt8 GraphicAttr::mcTransparency
private

Definition at line 75 of file GraphicObject.hxx.

Referenced by operator==().

GraphicDrawMode GraphicAttr::meDrawMode
private

Definition at line 76 of file GraphicObject.hxx.

Referenced by operator==().

double GraphicAttr::mfGamma
private

Definition at line 62 of file GraphicObject.hxx.

Referenced by operator==().

long GraphicAttr::mnBottomCrop
private

Definition at line 67 of file GraphicObject.hxx.

Referenced by operator==().

short GraphicAttr::mnBPercent
private

Definition at line 73 of file GraphicObject.hxx.

Referenced by operator==().

short GraphicAttr::mnContPercent
private

Definition at line 69 of file GraphicObject.hxx.

Referenced by operator==().

short GraphicAttr::mnGPercent
private

Definition at line 72 of file GraphicObject.hxx.

Referenced by operator==().

long GraphicAttr::mnLeftCrop
private

Definition at line 64 of file GraphicObject.hxx.

Referenced by operator==().

short GraphicAttr::mnLumPercent
private

Definition at line 70 of file GraphicObject.hxx.

Referenced by operator==().

BmpMirrorFlags GraphicAttr::mnMirrFlags
private

Definition at line 63 of file GraphicObject.hxx.

Referenced by operator==().

long GraphicAttr::mnRightCrop
private

Definition at line 66 of file GraphicObject.hxx.

Referenced by operator==().

sal_uInt16 GraphicAttr::mnRotate10
private

Definition at line 68 of file GraphicObject.hxx.

Referenced by operator==().

short GraphicAttr::mnRPercent
private

Definition at line 71 of file GraphicObject.hxx.

Referenced by operator==().

long GraphicAttr::mnTopCrop
private

Definition at line 65 of file GraphicObject.hxx.

Referenced by operator==().


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