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

#include <BitmapPalette.hxx>

Public Member Functions

SAL_DLLPRIVATE const BitmapColorImplGetColorBuffer () const
 
SAL_DLLPRIVATE BitmapColorImplGetColorBuffer ()
 
BitmapChecksum GetChecksum () const
 
 BitmapPalette ()
 
 BitmapPalette (sal_uInt16 nCount)
 
bool operator== (const BitmapPalette &rBitmapPalette) const
 
bool operator!= (const BitmapPalette &rBitmapPalette) const
 
bool operator! ()
 
sal_uInt16 GetEntryCount () const
 
void SetEntryCount (sal_uInt16 nCount)
 
const BitmapColoroperator[] (sal_uInt16 nIndex) const
 
BitmapColoroperator[] (sal_uInt16 nIndex)
 
sal_uInt16 GetBestIndex (const BitmapColor &rCol) const
 
bool IsGreyPalette () const
 

Private Attributes

std::vector< BitmapColormaBitmapColor
 

Friends

class SalBitmap
 
class BitmapAccess
 

Detailed Description

Definition at line 28 of file BitmapPalette.hxx.

Constructor & Destructor Documentation

BitmapPalette::BitmapPalette ( )
inline

Definition at line 56 of file BitmapPalette.hxx.

BitmapPalette::BitmapPalette ( sal_uInt16  nCount)
inline

Definition at line 60 of file BitmapPalette.hxx.

Member Function Documentation

sal_uInt16 BitmapPalette::GetBestIndex ( const BitmapColor rCol) const
inline
BitmapChecksum BitmapPalette::GetChecksum ( ) const
inline

Definition at line 49 of file BitmapPalette.hxx.

References vcl_get_checksum().

Referenced by SalBitmap::updateChecksum().

sal_uInt16 BitmapPalette::GetEntryCount ( ) const
inline
SAL_DLLPRIVATE const BitmapColor* BitmapPalette::ImplGetColorBuffer ( ) const
inline

Definition at line 39 of file BitmapPalette.hxx.

Referenced by ImplPALToTC().

SAL_DLLPRIVATE BitmapColor* BitmapPalette::ImplGetColorBuffer ( )
inline

Definition at line 44 of file BitmapPalette.hxx.

bool BitmapPalette::IsGreyPalette ( ) const
bool BitmapPalette::operator! ( )
inline

Definition at line 75 of file BitmapPalette.hxx.

bool BitmapPalette::operator!= ( const BitmapPalette rBitmapPalette) const
inline

Definition at line 70 of file BitmapPalette.hxx.

bool BitmapPalette::operator== ( const BitmapPalette rBitmapPalette) const
inline

Definition at line 65 of file BitmapPalette.hxx.

References maBitmapColor.

const BitmapColor& BitmapPalette::operator[] ( sal_uInt16  nIndex) const
inline

Definition at line 90 of file BitmapPalette.hxx.

BitmapColor& BitmapPalette::operator[] ( sal_uInt16  nIndex)
inline

Definition at line 96 of file BitmapPalette.hxx.

void BitmapPalette::SetEntryCount ( sal_uInt16  nCount)
inline

Friends And Related Function Documentation

friend class BitmapAccess
friend

Definition at line 31 of file BitmapPalette.hxx.

friend class SalBitmap
friend

Definition at line 30 of file BitmapPalette.hxx.

Member Data Documentation

std::vector<BitmapColor> BitmapPalette::maBitmapColor
private

Definition at line 35 of file BitmapPalette.hxx.

Referenced by IsGreyPalette(), and operator==().


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