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

#include <ScanlineTools.hxx>

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

Public Member Functions

 ScanlineTransformer_4BitPalette (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
 
sal_uInt32 mnShift
 

Detailed Description

Definition at line 113 of file ScanlineTools.hxx.

Constructor & Destructor Documentation

◆ ScanlineTransformer_4BitPalette()

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

Definition at line 122 of file ScanlineTools.hxx.

Member Function Documentation

◆ readPixel()

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

◆ skipPixel()

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 130 of file ScanlineTools.hxx.

References mnShift, mnX, and nPixel.

◆ startLine()

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

Implements vcl::bitmap::ScanlineTransformer.

Definition at line 137 of file ScanlineTools.hxx.

References mnShift, mnX, and pData.

◆ writePixel()

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

Member Data Documentation

◆ mnShift

sal_uInt32 vcl::bitmap::ScanlineTransformer_4BitPalette::mnShift
private

Definition at line 119 of file ScanlineTools.hxx.

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

◆ mnX

sal_uInt32 vcl::bitmap::ScanlineTransformer_4BitPalette::mnX
private

Definition at line 118 of file ScanlineTools.hxx.

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

◆ mrPalette

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

Definition at line 117 of file ScanlineTools.hxx.

Referenced by readPixel(), and writePixel().

◆ pData

sal_uInt8* vcl::bitmap::ScanlineTransformer_4BitPalette::pData
private

Definition at line 116 of file ScanlineTools.hxx.

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


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