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

#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_uInt8mpBuffer
std::vector< sal_uInt8mpMap

Detailed Description

Definition at line 66 of file Octree.hxx.

Constructor & Destructor Documentation

InverseColorMap::InverseColorMap ( const BitmapPalette rPal)
InverseColorMap::~InverseColorMap ( )

Definition at line 270 of file Octree.cxx.

Member Function Documentation

sal_uInt16 InverseColorMap::GetBestPaletteIndex ( const BitmapColor rColor)

Definition at line 281 of file Octree.cxx.

References Color::GetBlue(), Color::GetGreen(), Color::GetRed(), and mpMap.

Referenced by Bitmap::ImplConvertDown8BPP().

void InverseColorMap::ImplCreateBuffers ( )

Definition at line 272 of file Octree.cxx.

References mpBuffer, mpMap, nColorMax, and nCount.

Referenced by InverseColorMap().

Member Data Documentation

std::vector<sal_uInt8> InverseColorMap::mpBuffer

Definition at line 69 of file Octree.hxx.

Referenced by ImplCreateBuffers(), and InverseColorMap().

std::vector<sal_uInt8> InverseColorMap::mpMap

Definition at line 70 of file Octree.hxx.

Referenced by GetBestPaletteIndex(), ImplCreateBuffers(), and InverseColorMap().

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