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

#include <dxfreprd.hxx>

Public Member Functions

 DXFPalette ()
 
 ~DXFPalette ()
 
sal_uInt8 GetRed (sal_uInt8 nIndex) const
 
sal_uInt8 GetGreen (sal_uInt8 nIndex) const
 
sal_uInt8 GetBlue (sal_uInt8 nIndex) const
 

Private Member Functions

void SetColor (sal_uInt8 nIndex, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue)
 

Private Attributes

std::array< sal_uInt8, 256 > pRed
 
std::array< sal_uInt8, 256 > pGreen
 
std::array< sal_uInt8, 256 > pBlue
 

Detailed Description

Definition at line 50 of file dxfreprd.hxx.

Constructor & Destructor Documentation

DXFPalette::DXFPalette ( )

Definition at line 54 of file dxfreprd.cxx.

References i, and SetColor().

DXFPalette::~DXFPalette ( )

Definition at line 108 of file dxfreprd.cxx.

Member Function Documentation

sal_uInt8 DXFPalette::GetBlue ( sal_uInt8  nIndex) const
inline

Definition at line 125 of file dxfreprd.hxx.

References pBlue.

Referenced by DXF2GDIMetaFile::ConvertColor().

sal_uInt8 DXFPalette::GetGreen ( sal_uInt8  nIndex) const
inline

Definition at line 124 of file dxfreprd.hxx.

References pGreen.

Referenced by DXF2GDIMetaFile::ConvertColor().

sal_uInt8 DXFPalette::GetRed ( sal_uInt8  nIndex) const
inline

Definition at line 123 of file dxfreprd.hxx.

References pRed.

Referenced by DXF2GDIMetaFile::ConvertColor().

void DXFPalette::SetColor ( sal_uInt8  nIndex,
sal_uInt8  nRed,
sal_uInt8  nGreen,
sal_uInt8  nBlue 
)
private

Definition at line 113 of file dxfreprd.cxx.

References pBlue, pGreen, and pRed.

Referenced by DXFPalette().

Member Data Documentation

std::array<sal_uInt8, 256> DXFPalette::pBlue
private

Definition at line 64 of file dxfreprd.hxx.

Referenced by GetBlue(), and SetColor().

std::array<sal_uInt8, 256> DXFPalette::pGreen
private

Definition at line 63 of file dxfreprd.hxx.

Referenced by GetGreen(), and SetColor().

std::array<sal_uInt8, 256> DXFPalette::pRed
private

Definition at line 62 of file dxfreprd.hxx.

Referenced by GetRed(), and SetColor().


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