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
 
long mnX
 

Detailed Description

Definition at line 30 of file scanlinewriter.hxx.

Constructor & Destructor Documentation

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

Definition at line 41 of file scanlinewriter.hxx.

Member Function Documentation

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

Definition at line 50 of file scanlinewriter.hxx.

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

Definition at line 79 of file scanlinewriter.hxx.

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

Member Data Documentation

BitmapPalette& vcl::ScanlineWriter::maPalette
private

Definition at line 32 of file scanlinewriter.hxx.

sal_uInt8 const vcl::ScanlineWriter::mnColorBitMask
private

Definition at line 35 of file scanlinewriter.hxx.

Referenced by writeRGB().

sal_uInt8 const vcl::ScanlineWriter::mnColorBitSize
private

Definition at line 34 of file scanlinewriter.hxx.

Referenced by writeRGB().

sal_uInt8 const vcl::ScanlineWriter::mnColorsPerByte
private

Definition at line 33 of file scanlinewriter.hxx.

Referenced by writeRGB().

long vcl::ScanlineWriter::mnX
private

Definition at line 37 of file scanlinewriter.hxx.

sal_uInt8* vcl::ScanlineWriter::mpCurrentScanline
private

Definition at line 36 of file scanlinewriter.hxx.


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