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 65 of file Octree.hxx.

Constructor & Destructor Documentation

◆ InverseColorMap()

InverseColorMap::InverseColorMap ( const BitmapPalette rPal)
explicit

◆ ~InverseColorMap()

InverseColorMap::~InverseColorMap ( )

Definition at line 262 of file Octree.cxx.

Member Function Documentation

◆ GetBestPaletteIndex()

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().

◆ ImplCreateBuffers()

void InverseColorMap::ImplCreateBuffers ( )
private

Definition at line 264 of file Octree.cxx.

References mpBuffer, mpMap, nColorMax, and nCount.

Referenced by InverseColorMap().

Member Data Documentation

◆ mpBuffer

std::vector<sal_uInt8> InverseColorMap::mpBuffer
private

Definition at line 68 of file Octree.hxx.

Referenced by ImplCreateBuffers(), and InverseColorMap().

◆ mpMap

std::vector<sal_uInt8> InverseColorMap::mpMap
private

Definition at line 69 of file Octree.hxx.

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


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