LibreOffice Module vcl (master) 1
|
#include <Octree.hxx>
Public Member Functions | |
InverseColorMap (const BitmapPalette &rPal) | |
~InverseColorMap () | |
sal_uInt16 | GetBestPaletteIndex (const BitmapColor &rColor) |
Private Member Functions | |
void | ImplCreateBuffers () |
Private Attributes | |
std::vector< sal_uInt8 > | mpBuffer |
std::vector< sal_uInt8 > | mpMap |
Definition at line 65 of file Octree.hxx.
|
explicit |
Definition at line 215 of file Octree.cxx.
References Color::GetBlue(), BitmapPalette::GetEntryCount(), Color::GetGreen(), Color::GetRed(), ImplCreateBuffers(), mpBuffer, mpMap, nColorMax, nIndex, and x.
InverseColorMap::~InverseColorMap | ( | ) |
Definition at line 262 of file Octree.cxx.
sal_uInt16 InverseColorMap::GetBestPaletteIndex | ( | const BitmapColor & | rColor | ) |
Definition at line 273 of file Octree.cxx.
References Color::GetBlue(), Color::GetGreen(), Color::GetRed(), and mpMap.
Referenced by Bitmap::ImplConvertDown8BPP().
|
private |
Definition at line 264 of file Octree.cxx.
References mpBuffer, mpMap, nColorMax, and nCount.
Referenced by InverseColorMap().
|
private |
Definition at line 68 of file Octree.hxx.
Referenced by ImplCreateBuffers(), and InverseColorMap().
|
private |
Definition at line 69 of file Octree.hxx.
Referenced by GetBestPaletteIndex(), ImplCreateBuffers(), and InverseColorMap().