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

#include <cpdf_shadingpattern.h>

+ Inheritance diagram for CPDF_ShadingPattern:
+ Collaboration diagram for CPDF_ShadingPattern:

Public Member Functions

 ~CPDF_ShadingPattern () override
 
CPDF_ShadingPatternAsShadingPattern () override
 
bool IsMeshShading () const
 
bool Load ()
 
ShadingType GetShadingType () const
 
bool IsShadingObject () const
 
RetainPtr< const CPDF_ObjectGetShadingObject () const
 
RetainPtr< CPDF_ColorSpaceGetCS () const
 
const std::vector< std::unique_ptr< CPDF_Function > > & GetFuncs () const
 
- Public Member Functions inherited from CPDF_Pattern
virtual CPDF_TilingPatternAsTilingPattern ()
 
const CFX_Matrixpattern_to_form () const
 
- Public Member Functions inherited from fxcrt::Retainable
 Retainable ()=default
 
bool HasOneRef () const
 
- Public Member Functions inherited from fxcrt::Observable
 Observable ()
 
 Observable (const Observable &that)=delete
 
Observableoperator= (const Observable &that)=delete
 
 ~Observable ()
 
void AddObserver (ObserverIface *pObserver)
 
void RemoveObserver (ObserverIface *pObserver)
 
void NotifyObservers ()
 

Public Attributes

 CONSTRUCT_VIA_MAKE_RETAIN
 

Additional Inherited Members

- Public Types inherited from CPDF_Pattern
enum  PatternType { kTiling = 1 , kShading = 2 }
 
- Protected Member Functions inherited from CPDF_Pattern
 CPDF_Pattern (CPDF_Document *pDoc, RetainPtr< CPDF_Object > pObj, const CFX_Matrix &parentMatrix)
 
 ~CPDF_Pattern () override
 
CPDF_Documentdocument () const
 
RetainPtr< CPDF_Objectpattern_obj () const
 
const CFX_Matrixparent_matrix () const
 
void SetPatternToFormMatrix ()
 
- Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default
 
- Protected Member Functions inherited from fxcrt::Observable
size_t ActiveObserversForTesting () const
 

Detailed Description

Definition at line 39 of file cpdf_shadingpattern.h.

Constructor & Destructor Documentation

◆ ~CPDF_ShadingPattern()

CPDF_ShadingPattern::~CPDF_ShadingPattern ( )
overridedefault

Member Function Documentation

◆ AsShadingPattern()

CPDF_ShadingPattern * CPDF_ShadingPattern::AsShadingPattern ( )
overridevirtual

Reimplemented from CPDF_Pattern.

Definition at line 46 of file cpdf_shadingpattern.cpp.

◆ GetCS()

RetainPtr< CPDF_ColorSpace > CPDF_ShadingPattern::GetCS ( ) const
inline

Definition at line 58 of file cpdf_shadingpattern.h.

◆ GetFuncs()

const std::vector< std::unique_ptr< CPDF_Function > > & CPDF_ShadingPattern::GetFuncs ( ) const
inline

Definition at line 59 of file cpdf_shadingpattern.h.

◆ GetShadingObject()

RetainPtr< const CPDF_Object > CPDF_ShadingPattern::GetShadingObject ( ) const

Definition at line 90 of file cpdf_shadingpattern.cpp.

◆ GetShadingType()

ShadingType CPDF_ShadingPattern::GetShadingType ( ) const
inline

Definition at line 55 of file cpdf_shadingpattern.h.

Referenced by CPDF_RenderShading::Draw(), and CFX_SkiaDeviceDriver::DrawShading().

+ Here is the caller graph for this function:

◆ IsMeshShading()

bool CPDF_ShadingPattern::IsMeshShading ( ) const
inline

◆ IsShadingObject()

bool CPDF_ShadingPattern::IsShadingObject ( ) const
inline

Definition at line 56 of file cpdf_shadingpattern.h.

Referenced by CPDF_RenderShading::Draw().

+ Here is the caller graph for this function:

◆ Load()

bool CPDF_ShadingPattern::Load ( )

Definition at line 50 of file cpdf_shadingpattern.cpp.

References CPDF_Pattern::document(), CPDF_DocPageData::FromDocument(), and kInvalidShading.

Referenced by CPDF_RenderStatus::DrawShadingPattern().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CPDF_ShadingPattern::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 41 of file cpdf_shadingpattern.h.


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