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

#include <cpdf_image.h>

Inheritance diagram for CPDF_Image:
Collaboration diagram for CPDF_Image:

Public Member Functions

void ConvertStreamToIndirectObject ()
RetainPtr< const CPDF_DictionaryGetDict () const
RetainPtr< const CPDF_StreamGetStream () const
RetainPtr< const CPDF_DictionaryGetOC () const
CPDF_DocumentGetDocument () const
int32_t GetPixelHeight () const
int32_t GetPixelWidth () const
uint32_t GetMatteColor () const
bool IsInline () const
bool IsMask () const
bool IsInterpol () const
RetainPtr< CPDF_DIBCreateNewDIB () const
RetainPtr< CFX_DIBBaseLoadDIBBase () const
void SetImage (const RetainPtr< CFX_DIBitmap > &pBitmap)
void SetJpegImage (RetainPtr< IFX_SeekableReadStream > pFile)
void SetJpegImageInline (RetainPtr< IFX_SeekableReadStream > pFile)
void ResetCache (CPDF_Page *pPage)
void WillBeDestroyed ()
bool IsGoingToBeDestroyed () const
bool StartLoadDIBBase (const CPDF_Dictionary *pFormResource, const CPDF_Dictionary *pPageResource, bool bStdCS, CPDF_ColorSpace::Family GroupFamily, bool bLoadMask, const CFX_Size &max_size_required)
bool Continue (PauseIndicatorIface *pPause)
RetainPtr< CFX_DIBBaseDetachBitmap ()
RetainPtr< CFX_DIBBaseDetachMask ()
Public Member Functions inherited from fxcrt::Retainable
 Retainable ()=default
bool HasOneRef () const

Static Public Member Functions

static bool IsValidJpegComponent (int32_t comps)
static bool IsValidJpegBitsPerComponent (int32_t bpc)

Public Attributes

 CONSTRUCT_VIA_MAKE_RETAIN

Private Member Functions

 ~CPDF_Image () override

Additional Inherited Members

Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default

Detailed Description

Definition at line 27 of file cpdf_image.h.

Member Function Documentation

◆ ~CPDF_Image()

CPDF_Image::~CPDF_Image ( )
overrideprivatedefault

◆ Continue()

bool CPDF_Image::Continue ( PauseIndicatorIface * pPause)

Definition at line 376 of file cpdf_image.cpp.

References CPDF_DIB::kContinue, and CPDF_DIB::kSuccess.

◆ ConvertStreamToIndirectObject()

void CPDF_Image::ConvertStreamToIndirectObject ( )

Definition at line 80 of file cpdf_image.cpp.

◆ CreateNewDIB()

RetainPtr< CPDF_DIB > CPDF_Image::CreateNewDIB ( ) const

Definition at line 327 of file cpdf_image.cpp.

◆ DetachBitmap()

RetainPtr< CFX_DIBBase > CPDF_Image::DetachBitmap ( )

Definition at line 345 of file cpdf_image.cpp.

◆ DetachMask()

RetainPtr< CFX_DIBBase > CPDF_Image::DetachMask ( )

Definition at line 349 of file cpdf_image.cpp.

◆ GetDict()

RetainPtr< const CPDF_Dictionary > CPDF_Image::GetDict ( ) const

Definition at line 85 of file cpdf_image.cpp.

◆ GetDocument()

CPDF_Document * CPDF_Image::GetDocument ( ) const
inline

Definition at line 42 of file cpdf_image.h.

◆ GetMatteColor()

uint32_t CPDF_Image::GetMatteColor ( ) const
inline

Definition at line 46 of file cpdf_image.h.

◆ GetOC()

RetainPtr< const CPDF_Dictionary > CPDF_Image::GetOC ( ) const

Definition at line 93 of file cpdf_image.cpp.

◆ GetPixelHeight()

int32_t CPDF_Image::GetPixelHeight ( ) const
inline

Definition at line 44 of file cpdf_image.h.

◆ GetPixelWidth()

int32_t CPDF_Image::GetPixelWidth ( ) const
inline

Definition at line 45 of file cpdf_image.h.

◆ GetStream()

RetainPtr< const CPDF_Stream > CPDF_Image::GetStream ( ) const

Definition at line 89 of file cpdf_image.cpp.

◆ IsGoingToBeDestroyed()

bool CPDF_Image::IsGoingToBeDestroyed ( ) const
inline

Definition at line 61 of file cpdf_image.h.

◆ IsInline()

bool CPDF_Image::IsInline ( ) const
inline

Definition at line 47 of file cpdf_image.h.

◆ IsInterpol()

bool CPDF_Image::IsInterpol ( ) const
inline

Definition at line 49 of file cpdf_image.h.

◆ IsMask()

bool CPDF_Image::IsMask ( ) const
inline

Definition at line 48 of file cpdf_image.h.

◆ IsValidJpegBitsPerComponent()

bool CPDF_Image::IsValidJpegBitsPerComponent ( int32_t bpc)
static

Definition at line 47 of file cpdf_image.cpp.

◆ IsValidJpegComponent()

bool CPDF_Image::IsValidJpegComponent ( int32_t comps)
static

Definition at line 42 of file cpdf_image.cpp.

◆ LoadDIBBase()

RetainPtr< CFX_DIBBase > CPDF_Image::LoadDIBBase ( ) const

Definition at line 331 of file cpdf_image.cpp.

References CPDF_DIB::kContinue, and CPDF_DIB::kSuccess.

◆ ResetCache()

void CPDF_Image::ResetCache ( CPDF_Page * pPage)

Definition at line 318 of file cpdf_image.cpp.

References CPDF_Page::GetPageImageCache(), and CPDF_PageImageCache::ResetBitmapForImage().

Here is the call graph for this function:

◆ SetImage()

void CPDF_Image::SetImage ( const RetainPtr< CFX_DIBitmap > & pBitmap)

Definition at line 185 of file cpdf_image.cpp.

References k1bppMask, and CPDF_String::kIsHex.

◆ SetJpegImage()

void CPDF_Image::SetJpegImage ( RetainPtr< IFX_SeekableReadStream > pFile)

Definition at line 139 of file cpdf_image.cpp.

◆ SetJpegImageInline()

void CPDF_Image::SetJpegImageInline ( RetainPtr< IFX_SeekableReadStream > pFile)

Definition at line 166 of file cpdf_image.cpp.

◆ StartLoadDIBBase()

bool CPDF_Image::StartLoadDIBBase ( const CPDF_Dictionary * pFormResource,
const CPDF_Dictionary * pPageResource,
bool bStdCS,
CPDF_ColorSpace::Family GroupFamily,
bool bLoadMask,
const CFX_Size & max_size_required )

Definition at line 353 of file cpdf_image.cpp.

References CPDF_DIB::kContinue, and CPDF_DIB::kFail.

◆ WillBeDestroyed()

void CPDF_Image::WillBeDestroyed ( )

Definition at line 323 of file cpdf_image.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CPDF_Image::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 29 of file cpdf_image.h.


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