![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_dib.h>
Public Types | |
| enum class | LoadState : uint8_t { kFail , kSuccess , kContinue } |
| Public Types inherited from CFX_DIBBase | |
| using | kPlatformRGBStruct = FX_BGR_STRUCT<uint8_t> |
Public Member Functions | |
| pdfium::span< const uint8_t > | GetScanline (int line) const override |
| bool | SkipToScanline (int line, PauseIndicatorIface *pPause) const override |
| size_t | GetEstimatedImageMemoryBurden () const override |
| RetainPtr< CPDF_ColorSpace > | GetColorSpace () const |
| uint32_t | GetMatteColor () const |
| bool | IsJBigImage () const |
| bool | Load () |
| LoadState | StartLoadDIBBase (bool bHasMask, const CPDF_Dictionary *pFormResources, const CPDF_Dictionary *pPageResources, bool bStdCS, CPDF_ColorSpace::Family GroupFamily, bool bLoadMask, const CFX_Size &max_size_required) |
| LoadState | ContinueLoadDIBBase (PauseIndicatorIface *pPause) |
| RetainPtr< CPDF_DIB > | DetachMask () |
| Public Member Functions inherited from CFX_DIBBase | |
| template<typename T> | |
| pdfium::span< const T > | GetScanlineAs (int line) 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_DIBitmap > | Realize () const |
| RetainPtr< CFX_DIBitmap > | ClipTo (const FX_RECT &rect) const |
| RetainPtr< CFX_DIBitmap > | ConvertTo (FXDIB_Format format) const |
| RetainPtr< CFX_DIBitmap > | StretchTo (int dest_width, int dest_height, const FXDIB_ResampleOptions &options, const FX_RECT *pClip) const |
| RetainPtr< CFX_DIBitmap > | TransformTo (const CFX_Matrix &mtDest, int *left, int *top) const |
| RetainPtr< CFX_DIBitmap > | SwapXY (bool bXFlip, bool bYFlip) const |
| RetainPtr< CFX_DIBitmap > | FlipImage (bool bXFlip, bool bYFlip) const |
| RetainPtr< CFX_DIBitmap > | CloneAlphaMask () 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_AggClipRgn *pClipRgn) const |
| bool | IsPremultiplied () const |
| Public Member Functions inherited from fxcrt::Retainable | |
| Retainable ()=default | |
| bool | HasOneRef () const |
Public Attributes | |
| CONSTRUCT_VIA_MAKE_RETAIN | |
Private Member Functions | |
| ~CPDF_DIB () override | |
Additional Inherited Members | |
| Static Public Attributes inherited from CFX_DIBBase | |
| static constexpr FXDIB_Format | kPlatformRGBFormat = FXDIB_Format::kBgr |
| static constexpr uint32_t | kPaletteSize = 256 |
| Protected Member Functions inherited from CFX_DIBBase | |
| CFX_DIBBase () | |
| ~CFX_DIBBase () override | |
| RetainPtr< CFX_DIBitmap > | ClipToInternal (const FX_RECT *pClip) const |
| void | BuildPalette () |
| int | FindPalette (uint32_t color) const |
| void | SetFormat (FXDIB_Format format) |
| void | SetWidth (int width) |
| void | SetHeight (int height) |
| void | SetPitch (uint32_t pitch) |
| 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 | |
| DataVector< uint32_t > | palette_ |
Definition at line 41 of file cpdf_dib.h.
|
strong |
| Enumerator | |
|---|---|
| kFail | |
| kSuccess | |
| kContinue | |
Definition at line 43 of file cpdf_dib.h.
|
overrideprivatedefault |
| CPDF_DIB::LoadState CPDF_DIB::ContinueLoadDIBBase | ( | PauseIndicatorIface * | pPause | ) |
Definition at line 341 of file cpdf_dib.cpp.
References kContinue, kDecodeToBeContinued, kError, kFail, kSuccess, fxcrt::ByteString::operator!=(), and fxcrt::ByteString::operator==().
Definition at line 903 of file cpdf_dib.cpp.
|
inline |
Definition at line 52 of file cpdf_dib.h.
|
overridevirtual |
Reimplemented from CFX_DIBBase.
Definition at line 1302 of file cpdf_dib.cpp.
|
inline |
Definition at line 53 of file cpdf_dib.h.
|
overridevirtual |
Implements CFX_DIBBase.
Definition at line 1155 of file cpdf_dib.cpp.
References CFX_DIBBase::GetWidth(), and CFX_DIBBase::HasPalette().
| bool CPDF_DIB::IsJBigImage | ( | ) | const |
Definition at line 907 of file cpdf_dib.cpp.
| bool CPDF_DIB::Load | ( | ) |
Definition at line 241 of file cpdf_dib.cpp.
References kFail.
|
overridevirtual |
Reimplemented from CFX_DIBBase.
Definition at line 1298 of file cpdf_dib.cpp.
| CPDF_DIB::LoadState CPDF_DIB::StartLoadDIBBase | ( | bool | bHasMask, |
| const CPDF_Dictionary * | pFormResources, | ||
| const CPDF_Dictionary * | pPageResources, | ||
| bool | bStdCS, | ||
| CPDF_ColorSpace::Family | GroupFamily, | ||
| bool | bLoadMask, | ||
| const CFX_Size & | max_size_required ) |
Definition at line 295 of file cpdf_dib.cpp.
References CFX_DIBBase::GetHeight(), CFX_DIBBase::GetWidth(), kContinue, kFail, and kSuccess.
| CPDF_DIB::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 45 of file cpdf_dib.h.