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

#include <ScanlineTools.hxx>

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

Public Member Functions

 ScanlineTransformer_1BitPalette (const BitmapPalette &rPalette)
 
virtual void skipPixel (sal_uInt32 nPixel) override
 
virtual void startLine (sal_uInt8 *pLine) 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
 
sal_uInt32 mnX
 

Detailed Description

Definition at line 167 of file ScanlineTools.hxx.

Constructor & Destructor Documentation

◆ ScanlineTransformer_1BitPalette()

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

Definition at line 175 of file ScanlineTools.hxx.

Member Function Documentation

◆ readPixel()

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

◆ skipPixel()

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 182 of file ScanlineTools.hxx.

References mnX, and nPixel.

◆ startLine()

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 184 of file ScanlineTools.hxx.

References mnX, and pData.

◆ writePixel()

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 201 of file ScanlineTools.hxx.

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

Member Data Documentation

◆ mnX

sal_uInt32 vcl::bitmap::ScanlineTransformer_1BitPalette::mnX
private

Definition at line 172 of file ScanlineTools.hxx.

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

◆ mrPalette

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

Definition at line 171 of file ScanlineTools.hxx.

Referenced by readPixel(), and writePixel().

◆ pData

sal_uInt8* vcl::bitmap::ScanlineTransformer_1BitPalette::pData
private

Definition at line 170 of file ScanlineTools.hxx.

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


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