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

#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 void startLine (sal_uInt8 *pLine)=0
 
virtual void skipPixel (sal_uInt32 nPixel)=0
 
virtual Color readPixel ()=0
 
virtual void writePixel (Color nColor)=0
 
virtual ~ScanlineTransformer ()=default
 

Private Attributes

sal_uInt8pData
 
const BitmapPalettemrPalette
 

Detailed Description

Definition at line 81 of file ScanlineTools.hxx.

Constructor & Destructor Documentation

◆ ScanlineTransformer_8BitPalette()

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

Definition at line 88 of file ScanlineTools.hxx.

Member Function Documentation

◆ readPixel()

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

◆ skipPixel()

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 96 of file ScanlineTools.hxx.

References nPixel, and pData.

◆ startLine()

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 94 of file ScanlineTools.hxx.

References pData.

◆ writePixel()

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 107 of file ScanlineTools.hxx.

References BitmapPalette::GetBestIndex(), mrPalette, and pData.

Member Data Documentation

◆ mrPalette

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

Definition at line 85 of file ScanlineTools.hxx.

Referenced by readPixel(), and writePixel().

◆ pData

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

Definition at line 84 of file ScanlineTools.hxx.

Referenced by readPixel(), skipPixel(), startLine(), and writePixel().


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