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
 
BmpMirrorFlags mnMirrFlags
 
tools::Long mnLeftCrop
 
tools::Long mnTopCrop
 
tools::Long mnRightCrop
 
tools::Long mnBottomCrop
 
Degree10 mnRotate10
 
short mnContPercent
 
short mnLumPercent
 
short mnRPercent
 
short mnGPercent
 
short mnBPercent
 
bool mbInvert
 
sal_uInt8 mcAlpha
 
GraphicDrawMode meDrawMode
 

Detailed Description

Definition at line 34 of file GraphicAttributes.hxx.

Constructor & Destructor Documentation

GraphicAttr::GraphicAttr ( )

Definition at line 22 of file grfattr.cxx.

References NONE, and Standard.

Member Function Documentation

sal_uInt8 GraphicAttr::GetAlpha ( ) const
inline

Definition at line 103 of file GraphicAttributes.hxx.

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

Definition at line 94 of file GraphicAttributes.hxx.

short GraphicAttr::GetChannelG ( ) const
inline

Definition at line 91 of file GraphicAttributes.hxx.

short GraphicAttr::GetChannelR ( ) const
inline

Definition at line 88 of file GraphicAttributes.hxx.

short GraphicAttr::GetContrast ( ) const
inline

Definition at line 85 of file GraphicAttributes.hxx.

GraphicDrawMode GraphicAttr::GetDrawMode ( ) const
inline

Definition at line 60 of file GraphicAttributes.hxx.

double GraphicAttr::GetGamma ( ) const
inline

Definition at line 97 of file GraphicAttributes.hxx.

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

Definition at line 82 of file GraphicAttributes.hxx.

BmpMirrorFlags GraphicAttr::GetMirrorFlags ( ) const
inline

Definition at line 63 of file GraphicAttributes.hxx.

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

tools::Long GraphicAttr::GetRightCrop ( ) const
inline
Degree10 GraphicAttr::GetRotation ( ) const
inline
tools::Long GraphicAttr::GetTopCrop ( ) const
inline
bool GraphicAttr::IsAdjusted ( ) const
inline

Definition at line 113 of file GraphicAttributes.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

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

Definition at line 100 of file GraphicAttributes.hxx.

bool GraphicAttr::IsMirrored ( ) const
inline

Definition at line 106 of file GraphicAttributes.hxx.

References NONE.

Referenced by GraphicObject::GetTransformedGraphic().

bool GraphicAttr::IsRotated ( ) const
inline

Definition at line 111 of file GraphicAttributes.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

bool GraphicAttr::IsSpecialDrawMode ( ) const
inline

Definition at line 105 of file GraphicAttributes.hxx.

References Standard.

Referenced by GraphicObject::GetTransformedGraphic().

bool GraphicAttr::IsTransparent ( ) const
inline

Definition at line 112 of file GraphicAttributes.hxx.

Referenced by GraphicObject::GetTransformedGraphic().

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

Definition at line 57 of file GraphicAttributes.hxx.

bool GraphicAttr::operator== ( const GraphicAttr rAttr) const
void GraphicAttr::SetAlpha ( sal_uInt8  cAlpha)
inline

Definition at line 102 of file GraphicAttributes.hxx.

void GraphicAttr::SetChannelB ( short  nChannelBPercent)
inline

Definition at line 93 of file GraphicAttributes.hxx.

void GraphicAttr::SetChannelG ( short  nChannelGPercent)
inline

Definition at line 90 of file GraphicAttributes.hxx.

void GraphicAttr::SetChannelR ( short  nChannelRPercent)
inline

Definition at line 87 of file GraphicAttributes.hxx.

void GraphicAttr::SetContrast ( short  nContrastPercent)
inline

Definition at line 84 of file GraphicAttributes.hxx.

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 65 of file GraphicAttributes.hxx.

void GraphicAttr::SetDrawMode ( GraphicDrawMode  eDrawMode)
inline

Definition at line 59 of file GraphicAttributes.hxx.

void GraphicAttr::SetGamma ( double  fGamma)
inline

Definition at line 96 of file GraphicAttributes.hxx.

void GraphicAttr::SetInvert ( bool  bInvert)
inline

Definition at line 99 of file GraphicAttributes.hxx.

void GraphicAttr::SetLuminance ( short  nLuminancePercent)
inline

Definition at line 81 of file GraphicAttributes.hxx.

void GraphicAttr::SetMirrorFlags ( BmpMirrorFlags  nMirrFlags)
inline

Definition at line 62 of file GraphicAttributes.hxx.

Referenced by GraphicObject::Draw().

void GraphicAttr::SetRotation ( Degree10  nRotate10)
inline

Definition at line 78 of file GraphicAttributes.hxx.

Member Data Documentation

bool GraphicAttr::mbInvert
private

Definition at line 49 of file GraphicAttributes.hxx.

Referenced by operator==().

sal_uInt8 GraphicAttr::mcAlpha
private

Definition at line 50 of file GraphicAttributes.hxx.

Referenced by operator==().

GraphicDrawMode GraphicAttr::meDrawMode
private

Definition at line 51 of file GraphicAttributes.hxx.

Referenced by operator==().

double GraphicAttr::mfGamma
private

Definition at line 37 of file GraphicAttributes.hxx.

Referenced by operator==().

tools::Long GraphicAttr::mnBottomCrop
private

Definition at line 42 of file GraphicAttributes.hxx.

Referenced by operator==().

short GraphicAttr::mnBPercent
private

Definition at line 48 of file GraphicAttributes.hxx.

Referenced by operator==().

short GraphicAttr::mnContPercent
private

Definition at line 44 of file GraphicAttributes.hxx.

Referenced by operator==().

short GraphicAttr::mnGPercent
private

Definition at line 47 of file GraphicAttributes.hxx.

Referenced by operator==().

tools::Long GraphicAttr::mnLeftCrop
private

Definition at line 39 of file GraphicAttributes.hxx.

Referenced by operator==().

short GraphicAttr::mnLumPercent
private

Definition at line 45 of file GraphicAttributes.hxx.

Referenced by operator==().

BmpMirrorFlags GraphicAttr::mnMirrFlags
private

Definition at line 38 of file GraphicAttributes.hxx.

Referenced by operator==().

tools::Long GraphicAttr::mnRightCrop
private

Definition at line 41 of file GraphicAttributes.hxx.

Referenced by operator==().

Degree10 GraphicAttr::mnRotate10
private

Definition at line 43 of file GraphicAttributes.hxx.

Referenced by operator==().

short GraphicAttr::mnRPercent
private

Definition at line 46 of file GraphicAttributes.hxx.

Referenced by operator==().

tools::Long GraphicAttr::mnTopCrop
private

Definition at line 40 of file GraphicAttributes.hxx.

Referenced by operator==().


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