Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_BitmapComposer Class Referencefinal

#include <cfx_bitmapcomposer.h>

+ Inheritance diagram for CFX_BitmapComposer:
+ Collaboration diagram for CFX_BitmapComposer:

Public Member Functions

 CFX_BitmapComposer ()
 
 ~CFX_BitmapComposer () override
 
void Compose (const RetainPtr< CFX_DIBitmap > &pDest, const CFX_ClipRgn *pClipRgn, float alpha, uint32_t mask_color, const FX_RECT &dest_rect, bool bVertical, bool bFlipX, bool bFlipY, bool bRgbByteOrder, BlendMode blend_mode)
 
bool SetInfo (int width, int height, FXDIB_Format src_format, DataVector< uint32_t > src_palette) override
 
void ComposeScanline (int line, pdfium::span< const uint8_t > scanline) override
 
- Public Member Functions inherited from ScanlineComposerIface
virtual ~ScanlineComposerIface ()=default
 

Detailed Description

Definition at line 23 of file cfx_bitmapcomposer.h.

Constructor & Destructor Documentation

◆ CFX_BitmapComposer()

CFX_BitmapComposer::CFX_BitmapComposer ( )
default

◆ ~CFX_BitmapComposer()

CFX_BitmapComposer::~CFX_BitmapComposer ( )
overridedefault

Member Function Documentation

◆ Compose()

void CFX_BitmapComposer::Compose ( const RetainPtr< CFX_DIBitmap > & pDest,
const CFX_ClipRgn * pClipRgn,
float alpha,
uint32_t mask_color,
const FX_RECT & dest_rect,
bool bVertical,
bool bFlipX,
bool bFlipY,
bool bRgbByteOrder,
BlendMode blend_mode )

Definition at line 24 of file cfx_bitmapcomposer.cpp.

References FX_RECT::Height(), FX_RECT::left, FX_RECT::top, and FX_RECT::Width().

+ Here is the call graph for this function:

◆ ComposeScanline()

void CFX_BitmapComposer::ComposeScanline ( int line,
pdfium::span< const uint8_t > scanline )
overridevirtual

Implements ScanlineComposerIface.

Definition at line 102 of file cfx_bitmapcomposer.cpp.

◆ SetInfo()

bool CFX_BitmapComposer::SetInfo ( int width,
int height,
FXDIB_Format src_format,
DataVector< uint32_t > src_palette )
overridevirtual

Implements ScanlineComposerIface.

Definition at line 52 of file cfx_bitmapcomposer.cpp.

References k1bppMask, and k1bppRgb.


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