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 ()
 
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 49 of file dxfreprd.hxx.

Constructor & Destructor Documentation

◆ DXFPalette()

DXFPalette::DXFPalette ( )

Definition at line 57 of file dxfreprd.cxx.

References i, and SetColor().

Member Function Documentation

◆ GetBlue()

sal_uInt8 DXFPalette::GetBlue ( sal_uInt8  nIndex) const
inline

Definition at line 123 of file dxfreprd.hxx.

References nIndex, and pBlue.

Referenced by DXF2GDIMetaFile::ConvertColor().

◆ GetGreen()

sal_uInt8 DXFPalette::GetGreen ( sal_uInt8  nIndex) const
inline

Definition at line 122 of file dxfreprd.hxx.

References nIndex, and pGreen.

Referenced by DXF2GDIMetaFile::ConvertColor().

◆ GetRed()

sal_uInt8 DXFPalette::GetRed ( sal_uInt8  nIndex) const
inline

Definition at line 121 of file dxfreprd.hxx.

References nIndex, and pRed.

Referenced by DXF2GDIMetaFile::ConvertColor().

◆ SetColor()

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

Definition at line 111 of file dxfreprd.cxx.

References nIndex, pBlue, pGreen, and pRed.

Referenced by DXFPalette().

Member Data Documentation

◆ pBlue

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

Definition at line 62 of file dxfreprd.hxx.

Referenced by GetBlue(), and SetColor().

◆ pGreen

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

Definition at line 61 of file dxfreprd.hxx.

Referenced by GetGreen(), and SetColor().

◆ pRed

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

Definition at line 60 of file dxfreprd.hxx.

Referenced by GetRed(), and SetColor().


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