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_ClipPath Class Reference

#include <cpdf_clippath.h>

+ Collaboration diagram for CPDF_ClipPath:

Public Member Functions

 CPDF_ClipPath ()
 
 CPDF_ClipPath (const CPDF_ClipPath &that)
 
CPDF_ClipPathoperator= (const CPDF_ClipPath &that)
 
 ~CPDF_ClipPath ()
 
void Emplace ()
 
void SetNull ()
 
bool HasRef () const
 
bool operator== (const CPDF_ClipPath &that) const
 
bool operator!= (const CPDF_ClipPath &that) const
 
size_t GetPathCount () const
 
CPDF_Path GetPath (size_t i) const
 
CFX_FillRenderOptions::FillType GetClipType (size_t i) const
 
size_t GetTextCount () const
 
CPDF_TextObjectGetText (size_t i) const
 
CFX_FloatRect GetClipBox () const
 
void AppendPath (CPDF_Path path, CFX_FillRenderOptions::FillType type)
 
void AppendPathWithAutoMerge (CPDF_Path path, CFX_FillRenderOptions::FillType type)
 
void AppendTexts (std::vector< std::unique_ptr< CPDF_TextObject > > *pTexts)
 
void CopyClipPath (const CPDF_ClipPath &that)
 
void Transform (const CFX_Matrix &matrix)
 

Detailed Description

Definition at line 22 of file cpdf_clippath.h.

Constructor & Destructor Documentation

◆ CPDF_ClipPath() [1/2]

CPDF_ClipPath::CPDF_ClipPath ( )
default

◆ CPDF_ClipPath() [2/2]

CPDF_ClipPath::CPDF_ClipPath ( const CPDF_ClipPath & that)
default

◆ ~CPDF_ClipPath()

CPDF_ClipPath::~CPDF_ClipPath ( )
default

Member Function Documentation

◆ AppendPath()

void CPDF_ClipPath::AppendPath ( CPDF_Path path,
CFX_FillRenderOptions::FillType type )

Definition at line 77 of file cpdf_clippath.cpp.

Referenced by AppendPathWithAutoMerge(), CopyClipPath(), and TEST_F().

+ Here is the caller graph for this function:

◆ AppendPathWithAutoMerge()

void CPDF_ClipPath::AppendPathWithAutoMerge ( CPDF_Path path,
CFX_FillRenderOptions::FillType type )

Definition at line 83 of file cpdf_clippath.cpp.

References AppendPath(), CFX_FloatRect::Contains(), CPDF_Path::GetBoundingBox(), and CPDF_Path::IsRect().

+ Here is the call graph for this function:

◆ AppendTexts()

void CPDF_ClipPath::AppendTexts ( std::vector< std::unique_ptr< CPDF_TextObject > > * pTexts)

Definition at line 101 of file cpdf_clippath.cpp.

◆ CopyClipPath()

void CPDF_ClipPath::CopyClipPath ( const CPDF_ClipPath & that)

Definition at line 113 of file cpdf_clippath.cpp.

References AppendPath(), HasRef(), and operator==().

+ Here is the call graph for this function:

◆ Emplace()

void CPDF_ClipPath::Emplace ( )
inline

Definition at line 29 of file cpdf_clippath.h.

Referenced by TEST_F().

+ Here is the caller graph for this function:

◆ GetClipBox()

CFX_FloatRect CPDF_ClipPath::GetClipBox ( ) const

Definition at line 41 of file cpdf_clippath.cpp.

References CPDF_PageObject::GetBBox(), CFX_FloatRect::Intersect(), CFX_FloatRect::operator=(), and CFX_FloatRect::Union().

+ Here is the call graph for this function:

◆ GetClipType()

CFX_FillRenderOptions::FillType CPDF_ClipPath::GetClipType ( size_t i) const

Definition at line 29 of file cpdf_clippath.cpp.

◆ GetPath()

CPDF_Path CPDF_ClipPath::GetPath ( size_t i) const

Definition at line 25 of file cpdf_clippath.cpp.

◆ GetPathCount()

size_t CPDF_ClipPath::GetPathCount ( ) const

Definition at line 21 of file cpdf_clippath.cpp.

◆ GetText()

CPDF_TextObject * CPDF_ClipPath::GetText ( size_t i) const

Definition at line 37 of file cpdf_clippath.cpp.

◆ GetTextCount()

size_t CPDF_ClipPath::GetTextCount ( ) const

Definition at line 33 of file cpdf_clippath.cpp.

◆ HasRef()

bool CPDF_ClipPath::HasRef ( ) const
inline

Definition at line 32 of file cpdf_clippath.h.

Referenced by CopyClipPath(), FPDFClipPath_CountPaths(), FPDFClipPath_CountPathSegments(), FPDFClipPath_GetPathSegment(), CPDF_RenderStatus::ProcessClipPath(), CPDF_ShadingObject::Transform(), and CPDF_PageObject::TransformClipPath().

+ Here is the caller graph for this function:

◆ operator!=()

bool CPDF_ClipPath::operator!= ( const CPDF_ClipPath & that) const
inline

Definition at line 36 of file cpdf_clippath.h.

References operator==().

+ Here is the call graph for this function:

◆ operator=()

CPDF_ClipPath & CPDF_ClipPath::operator= ( const CPDF_ClipPath & that)
default

◆ operator==()

bool CPDF_ClipPath::operator== ( const CPDF_ClipPath & that) const
inline

Definition at line 33 of file cpdf_clippath.h.

Referenced by CopyClipPath(), and operator!=().

+ Here is the caller graph for this function:

◆ SetNull()

void CPDF_ClipPath::SetNull ( )
inline

Definition at line 30 of file cpdf_clippath.h.

◆ Transform()

void CPDF_ClipPath::Transform ( const CFX_Matrix & matrix)

Definition at line 121 of file cpdf_clippath.cpp.

Referenced by CPDF_ShadingObject::Transform(), and CPDF_PageObject::TransformClipPath().

+ Here is the caller graph for this function:

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