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_clippath.h>
Public Member Functions | |
CPDF_ClipPath () | |
CPDF_ClipPath (const CPDF_ClipPath &that) | |
CPDF_ClipPath & | operator= (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_TextObject * | GetText (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) |
Definition at line 22 of file cpdf_clippath.h.
|
default |
|
default |
|
default |
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().
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().
void CPDF_ClipPath::AppendTexts | ( | std::vector< std::unique_ptr< CPDF_TextObject > > * | pTexts | ) |
Definition at line 101 of file cpdf_clippath.cpp.
void CPDF_ClipPath::CopyClipPath | ( | const CPDF_ClipPath & | that | ) |
Definition at line 113 of file cpdf_clippath.cpp.
References AppendPath(), HasRef(), and operator==().
|
inline |
Definition at line 29 of file cpdf_clippath.h.
Referenced by TEST_F().
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().
CFX_FillRenderOptions::FillType CPDF_ClipPath::GetClipType | ( | size_t | i | ) | const |
Definition at line 29 of file cpdf_clippath.cpp.
CPDF_Path CPDF_ClipPath::GetPath | ( | size_t | i | ) | const |
Definition at line 25 of file cpdf_clippath.cpp.
size_t CPDF_ClipPath::GetPathCount | ( | ) | const |
Definition at line 21 of file cpdf_clippath.cpp.
CPDF_TextObject * CPDF_ClipPath::GetText | ( | size_t | i | ) | const |
Definition at line 37 of file cpdf_clippath.cpp.
size_t CPDF_ClipPath::GetTextCount | ( | ) | const |
Definition at line 33 of file cpdf_clippath.cpp.
|
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().
|
inline |
Definition at line 36 of file cpdf_clippath.h.
References operator==().
|
default |
|
inline |
Definition at line 33 of file cpdf_clippath.h.
Referenced by CopyClipPath(), and operator!=().
|
inline |
Definition at line 30 of file cpdf_clippath.h.
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().