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

#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 ~ScanlineTransformer ()=default
 

Private Attributes

sal_uInt8pData
 
const BitmapPalettemrPalette
 
sal_uInt32 mnX
 

Detailed Description

Definition at line 194 of file ScanlineTools.hxx.

Constructor & Destructor Documentation

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

Definition at line 202 of file ScanlineTools.hxx.

Member Function Documentation

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 217 of file ScanlineTools.hxx.

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

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 209 of file ScanlineTools.hxx.

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 211 of file ScanlineTools.hxx.

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 228 of file ScanlineTools.hxx.

References BitmapPalette::GetBestIndex().

Member Data Documentation

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

Definition at line 199 of file ScanlineTools.hxx.

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

Definition at line 198 of file ScanlineTools.hxx.

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

Definition at line 197 of file ScanlineTools.hxx.


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