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

#include <ScanlineTools.hxx>

Inheritance diagram for vcl::bitmap::ScanlineTransformer_8BitPalette:
[legend]
Collaboration diagram for vcl::bitmap::ScanlineTransformer_8BitPalette:
[legend]

Public Member Functions

 ScanlineTransformer_8BitPalette (const BitmapPalette &rPalette)
 
virtual void startLine (sal_uInt8 *pLine) override
 
virtual void skipPixel (sal_uInt32 nPixel) override
 
virtual Color readPixel () override
 
virtual void writePixel (Color nColor) override
 
- Public Member Functions inherited from vcl::bitmap::ScanlineTransformer
virtual ~ScanlineTransformer ()=default
 

Private Attributes

sal_uInt8pData
 
const BitmapPalettemrPalette
 

Detailed Description

Definition at line 108 of file ScanlineTools.hxx.

Constructor & Destructor Documentation

vcl::bitmap::ScanlineTransformer_8BitPalette::ScanlineTransformer_8BitPalette ( const BitmapPalette rPalette)
inlineexplicit

Definition at line 115 of file ScanlineTools.hxx.

Member Function Documentation

virtual Color vcl::bitmap::ScanlineTransformer_8BitPalette::readPixel ( )
inlineoverridevirtual

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 125 of file ScanlineTools.hxx.

References COL_BLACK(), and BitmapPalette::GetEntryCount().

virtual void vcl::bitmap::ScanlineTransformer_8BitPalette::skipPixel ( sal_uInt32  nPixel)
inlineoverridevirtual

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 123 of file ScanlineTools.hxx.

virtual void vcl::bitmap::ScanlineTransformer_8BitPalette::startLine ( sal_uInt8 pLine)
inlineoverridevirtual

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 121 of file ScanlineTools.hxx.

virtual void vcl::bitmap::ScanlineTransformer_8BitPalette::writePixel ( Color  nColor)
inlineoverridevirtual

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 134 of file ScanlineTools.hxx.

References BitmapPalette::GetBestIndex().

Member Data Documentation

const BitmapPalette& vcl::bitmap::ScanlineTransformer_8BitPalette::mrPalette
private

Definition at line 112 of file ScanlineTools.hxx.

sal_uInt8* vcl::bitmap::ScanlineTransformer_8BitPalette::pData
private

Definition at line 111 of file ScanlineTools.hxx.


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