LibreOffice Module vcl (master)
1
|
#include <BitmapPalette.hxx>
Public Member Functions | |
SAL_DLLPRIVATE const BitmapColor * | ImplGetColorBuffer () const |
SAL_DLLPRIVATE BitmapColor * | ImplGetColorBuffer () |
BitmapChecksum | GetChecksum () const |
BitmapPalette () | |
BitmapPalette (sal_uInt16 nCount) | |
bool | operator== (const BitmapPalette &rBitmapPalette) const |
bool | operator!= (const BitmapPalette &rBitmapPalette) const |
bool | operator! () const |
sal_uInt16 | GetEntryCount () const |
void | SetEntryCount (sal_uInt16 nCount) |
const BitmapColor & | operator[] (sal_uInt16 nIndex) const |
BitmapColor & | operator[] (sal_uInt16 nIndex) |
sal_uInt16 | GetBestIndex (const BitmapColor &rCol) const |
bool | IsGreyPalette () const |
Private Attributes | |
std::vector< BitmapColor > | maBitmapColor |
Friends | |
class | SalBitmap |
class | BitmapAccess |
Definition at line 28 of file BitmapPalette.hxx.
|
inline |
Definition at line 56 of file BitmapPalette.hxx.
|
inline |
Definition at line 60 of file BitmapPalette.hxx.
|
inline |
Definition at line 102 of file BitmapPalette.hxx.
References Color::GetColorError(), i, and SAL_MAX_UINT16.
Referenced by OutputDevice::EmulateDrawTransparent(), BitmapColorQuantizationFilter::execute(), BitmapInfoAccess::GetBestPaletteIndex(), ImplPALToPAL(), ImplTCToPAL(), vcl::bitmap::ScanlineTransformer_8BitPalette::writePixel(), vcl::bitmap::ScanlineTransformer_4BitPalette::writePixel(), and vcl::bitmap::ScanlineTransformer_1BitPalette::writePixel().
|
inline |
Definition at line 49 of file BitmapPalette.hxx.
References vcl_get_checksum().
Referenced by SalBitmap::updateChecksum().
|
inline |
Definition at line 80 of file BitmapPalette.hxx.
Referenced by OutputDevice::EmulateDrawTransparent(), BitmapSolarizeFilter::execute(), Bitmap::GetGreyPalette(), BitmapInfoAccess::GetPaletteEntryCount(), Bitmap::ImplConvertDown(), Bitmap::ImplConvertUp(), Bitmap::ImplMakeGreyscales(), ImplPALToPAL(), ImplTCToPAL(), InverseColorMap::InverseColorMap(), IsGreyPalette(), vcl::bitmap::ScanlineTransformer_8BitPalette::readPixel(), vcl::bitmap::ScanlineTransformer_4BitPalette::readPixel(), and vcl::bitmap::ScanlineTransformer_1BitPalette::readPixel().
|
inline |
Definition at line 39 of file BitmapPalette.hxx.
Referenced by ImplPALToTC().
|
inline |
Definition at line 44 of file BitmapPalette.hxx.
bool BitmapPalette::IsGreyPalette | ( | ) | const |
Definition at line 186 of file bitmap/bitmap.cxx.
References Color::GetBlue(), GetEntryCount(), Color::GetGreen(), Bitmap::GetGreyPalette(), Color::GetRed(), and maBitmapColor.
|
inline |
Definition at line 75 of file BitmapPalette.hxx.
|
inline |
Definition at line 70 of file BitmapPalette.hxx.
|
inline |
Definition at line 65 of file BitmapPalette.hxx.
References maBitmapColor.
|
inline |
Definition at line 90 of file BitmapPalette.hxx.
|
inline |
Definition at line 96 of file BitmapPalette.hxx.
|
inline |
Definition at line 85 of file BitmapPalette.hxx.
Referenced by Bitmap::Bitmap(), vcl::unotools::bitmapExFromXBitmap(), Bitmap::GetGreyPalette(), Octree::GetPalette(), Bitmap::ImplConvertDown(), and Bitmap::ImplConvertUp().
|
friend |
Definition at line 31 of file BitmapPalette.hxx.
|
friend |
Definition at line 30 of file BitmapPalette.hxx.
|
private |
Definition at line 35 of file BitmapPalette.hxx.
Referenced by IsGreyPalette(), and operator==().