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)
 
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 384 of file cpdf_image.cpp.

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

◆ ConvertStreamToIndirectObject()

void CPDF_Image::ConvertStreamToIndirectObject ( )

Definition at line 78 of file cpdf_image.cpp.

◆ CreateNewDIB()

RetainPtr< CPDF_DIB > CPDF_Image::CreateNewDIB ( ) const

Definition at line 335 of file cpdf_image.cpp.

◆ DetachBitmap()

RetainPtr< CFX_DIBBase > CPDF_Image::DetachBitmap ( )

Definition at line 353 of file cpdf_image.cpp.

◆ DetachMask()

RetainPtr< CFX_DIBBase > CPDF_Image::DetachMask ( )

Definition at line 357 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 41 of file cpdf_image.h.

◆ GetMatteColor()

uint32_t CPDF_Image::GetMatteColor ( ) const
inline

Definition at line 45 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 43 of file cpdf_image.h.

◆ GetPixelWidth()

int32_t CPDF_Image::GetPixelWidth ( ) const
inline

Definition at line 44 of file cpdf_image.h.

◆ GetStream()

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

Definition at line 89 of file cpdf_image.cpp.

◆ IsInline()

bool CPDF_Image::IsInline ( ) const
inline

Definition at line 46 of file cpdf_image.h.

◆ IsInterpol()

bool CPDF_Image::IsInterpol ( ) const
inline

Definition at line 48 of file cpdf_image.h.

◆ IsMask()

bool CPDF_Image::IsMask ( ) const
inline

Definition at line 47 of file cpdf_image.h.

◆ IsValidJpegBitsPerComponent()

bool CPDF_Image::IsValidJpegBitsPerComponent ( int32_t bpc)
static

Definition at line 45 of file cpdf_image.cpp.

◆ IsValidJpegComponent()

bool CPDF_Image::IsValidJpegComponent ( int32_t comps)
static

Definition at line 40 of file cpdf_image.cpp.

◆ LoadDIBBase()

RetainPtr< CFX_DIBBase > CPDF_Image::LoadDIBBase ( ) const

Definition at line 339 of file cpdf_image.cpp.

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

◆ ResetCache()

void CPDF_Image::ResetCache ( CPDF_Page * pPage)

Definition at line 330 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 180 of file cpdf_image.cpp.

References k1bppMask.

◆ SetJpegImage()

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

Definition at line 141 of file cpdf_image.cpp.

◆ SetJpegImageInline()

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

Definition at line 163 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 361 of file cpdf_image.cpp.

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

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: