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
CPDF_TransferFuncDIB Class Referencefinal

#include <cpdf_transferfuncdib.h>

+ Inheritance diagram for CPDF_TransferFuncDIB:
+ Collaboration diagram for CPDF_TransferFuncDIB:

Public Member Functions

pdfium::span< const uint8_t > GetScanline (int line) const override
 
- Public Member Functions inherited from CFX_DIBBase
virtual bool SkipToScanline (int line, PauseIndicatorIface *pPause) const
 
virtual size_t GetEstimatedImageMemoryBurden () const
 
int GetWidth () const
 
int GetHeight () const
 
uint32_t GetPitch () const
 
FXDIB_Format GetFormat () const
 
int GetBPP () const
 
bool IsMaskFormat () const
 
bool IsAlphaFormat () const
 
bool IsOpaqueImage () const
 
bool HasPalette () const
 
pdfium::span< const uint32_t > GetPaletteSpan () const
 
size_t GetRequiredPaletteSize () const
 
uint32_t GetPaletteArgb (int index) const
 
void SetPaletteArgb (int index, uint32_t color)
 
void SetPalette (pdfium::span< const uint32_t > src_palette)
 
void TakePalette (DataVector< uint32_t > src_palette)
 
RetainPtr< CFX_DIBitmapRealize () const
 
RetainPtr< CFX_DIBitmapClipTo (const FX_RECT &rect) const
 
RetainPtr< CFX_DIBitmapConvertTo (FXDIB_Format format) const
 
RetainPtr< CFX_DIBitmapStretchTo (int dest_width, int dest_height, const FXDIB_ResampleOptions &options, const FX_RECT *pClip) const
 
RetainPtr< CFX_DIBitmapTransformTo (const CFX_Matrix &mtDest, int *left, int *top) const
 
RetainPtr< CFX_DIBitmapSwapXY (bool bXFlip, bool bYFlip) const
 
RetainPtr< CFX_DIBitmapFlipImage (bool bXFlip, bool bYFlip) const
 
RetainPtr< CFX_DIBitmapCloneAlphaMask () const
 
bool GetOverlapRect (int &dest_left, int &dest_top, int &width, int &height, int src_width, int src_height, int &src_left, int &src_top, const CFX_ClipRgn *pClipRgn) const
 
- Public Member Functions inherited from fxcrt::Retainable
 Retainable ()=default
 
bool HasOneRef () const
 

Public Attributes

 CONSTRUCT_VIA_MAKE_RETAIN
 

Private Member Functions

 ~CPDF_TransferFuncDIB () override
 

Additional Inherited Members

- Static Public Attributes inherited from CFX_DIBBase
static constexpr FXDIB_Format kPlatformRGBFormat = FXDIB_Format::kRgb
 
static constexpr uint32_t kPaletteSize = 256
 
- Protected Member Functions inherited from CFX_DIBBase
 CFX_DIBBase ()
 
 ~CFX_DIBBase () override
 
RetainPtr< CFX_DIBitmapClipToInternal (const FX_RECT *pClip) const
 
void BuildPalette ()
 
int FindPalette (uint32_t color) const
 
- Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default
 
- Static Protected Member Functions inherited from CFX_DIBBase
static DataVector< uint32_t > ConvertBuffer (FXDIB_Format dest_format, pdfium::span< uint8_t > dest_buf, int dest_pitch, int width, int height, const RetainPtr< const CFX_DIBBase > &pSrcBitmap, int src_left, int src_top)
 
- Protected Attributes inherited from CFX_DIBBase
FXDIB_Format m_Format = FXDIB_Format::kInvalid
 
int m_Width = 0
 
int m_Height = 0
 
uint32_t m_Pitch = 0
 
DataVector< uint32_t > m_palette
 

Detailed Description

Definition at line 19 of file cpdf_transferfuncdib.h.

Member Function Documentation

◆ ~CPDF_TransferFuncDIB()

CPDF_TransferFuncDIB::~CPDF_TransferFuncDIB ( )
overrideprivatedefault

◆ GetScanline()

pdfium::span< const uint8_t > CPDF_TransferFuncDIB::GetScanline ( int line) const
overridevirtual

Implements CFX_DIBBase.

Definition at line 151 of file cpdf_transferfuncdib.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CPDF_TransferFuncDIB::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 21 of file cpdf_transferfuncdib.h.


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