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

#include <scanlinewriter.hxx>

Collaboration diagram for vcl::ScanlineWriter:
[legend]

Public Member Functions

 ScanlineWriter (BitmapPalette &aPalette, sal_Int8 nColorsPerByte)
 
void writeRGB (sal_uInt8 nR, sal_uInt8 nG, sal_uInt8 nB)
 
void nextLine (sal_uInt8 *pScanline)
 

Static Public Member Functions

static std::unique_ptr< ScanlineWriterCreate (sal_uInt16 nBits, BitmapPalette &aPalette)
 

Private Attributes

BitmapPalettemaPalette
 
sal_uInt8 const mnColorsPerByte
 
sal_uInt8 const mnColorBitSize
 
sal_uInt8 const mnColorBitMask
 
sal_uInt8mpCurrentScanline
 
tools::Long mnX
 

Detailed Description

Definition at line 29 of file scanlinewriter.hxx.

Constructor & Destructor Documentation

◆ ScanlineWriter()

vcl::ScanlineWriter::ScanlineWriter ( BitmapPalette aPalette,
sal_Int8  nColorsPerByte 
)
inline

Definition at line 39 of file scanlinewriter.hxx.

Member Function Documentation

◆ Create()

static std::unique_ptr< ScanlineWriter > vcl::ScanlineWriter::Create ( sal_uInt16  nBits,
BitmapPalette aPalette 
)
inlinestatic

Definition at line 51 of file scanlinewriter.hxx.

◆ nextLine()

void vcl::ScanlineWriter::nextLine ( sal_uInt8 pScanline)
inline

Definition at line 80 of file scanlinewriter.hxx.

References mnX, and mpCurrentScanline.

◆ writeRGB()

void vcl::ScanlineWriter::writeRGB ( sal_uInt8  nR,
sal_uInt8  nG,
sal_uInt8  nB 
)
inline

Member Data Documentation

◆ maPalette

BitmapPalette& vcl::ScanlineWriter::maPalette
private

Definition at line 31 of file scanlinewriter.hxx.

Referenced by writeRGB().

◆ mnColorBitMask

sal_uInt8 const vcl::ScanlineWriter::mnColorBitMask
private

Definition at line 34 of file scanlinewriter.hxx.

Referenced by writeRGB().

◆ mnColorBitSize

sal_uInt8 const vcl::ScanlineWriter::mnColorBitSize
private

Definition at line 33 of file scanlinewriter.hxx.

Referenced by writeRGB().

◆ mnColorsPerByte

sal_uInt8 const vcl::ScanlineWriter::mnColorsPerByte
private

Definition at line 32 of file scanlinewriter.hxx.

Referenced by writeRGB().

◆ mnX

tools::Long vcl::ScanlineWriter::mnX
private

Definition at line 36 of file scanlinewriter.hxx.

Referenced by nextLine(), and writeRGB().

◆ mpCurrentScanline

sal_uInt8* vcl::ScanlineWriter::mpCurrentScanline
private

Definition at line 35 of file scanlinewriter.hxx.

Referenced by nextLine(), and writeRGB().


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