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_path.h>
Public Member Functions | |
CPDF_Path () | |
CPDF_Path (const CPDF_Path &that) | |
~CPDF_Path () | |
void | Emplace () |
bool | HasRef () const |
const std::vector< CFX_Path::Point > & | GetPoints () const |
void | ClosePath () |
CFX_PointF | GetPoint (int index) const |
CFX_FloatRect | GetBoundingBox () const |
CFX_FloatRect | GetBoundingBoxForStrokePath (float line_width, float miter_limit) const |
bool | IsRect () const |
void | Transform (const CFX_Matrix &matrix) |
void | Append (const CFX_Path &path, const CFX_Matrix *pMatrix) |
void | AppendFloatRect (const CFX_FloatRect &rect) |
void | AppendRect (float left, float bottom, float right, float top) |
void | AppendPoint (const CFX_PointF &point, CFX_Path::Point::Type type) |
void | AppendPointAndClose (const CFX_PointF &point, CFX_Path::Point::Type type) |
const CFX_Path * | GetObject () const |
Definition at line 15 of file cpdf_path.h.
|
default |
|
default |
|
default |
void CPDF_Path::Append | ( | const CFX_Path & | path, |
const CFX_Matrix * | pMatrix ) |
Definition at line 45 of file cpdf_path.cpp.
Referenced by AppendPoint(), and AppendPointAndClose().
void CPDF_Path::AppendFloatRect | ( | const CFX_FloatRect & | rect | ) |
Definition at line 49 of file cpdf_path.cpp.
Referenced by CPDF_ContentParser::CPDF_ContentParser().
void CPDF_Path::AppendPoint | ( | const CFX_PointF & | point, |
CFX_Path::Point::Type | type ) |
Definition at line 57 of file cpdf_path.cpp.
References Append(), and CFX_Path::AppendPoint().
Referenced by FPDFPath_BezierTo(), FPDFPath_LineTo(), and FPDFPath_MoveTo().
void CPDF_Path::AppendPointAndClose | ( | const CFX_PointF & | point, |
CFX_Path::Point::Type | type ) |
Definition at line 64 of file cpdf_path.cpp.
References Append(), and CFX_Path::AppendPointAndClose().
void CPDF_Path::AppendRect | ( | float | left, |
float | bottom, | ||
float | right, | ||
float | top ) |
Definition at line 53 of file cpdf_path.cpp.
Referenced by FPDF_CreateClipPath().
void CPDF_Path::ClosePath | ( | ) |
Definition at line 19 of file cpdf_path.cpp.
Referenced by FPDFPath_Close().
|
inline |
Definition at line 21 of file cpdf_path.h.
Referenced by CPDF_ContentParser::CPDF_ContentParser().
CFX_FloatRect CPDF_Path::GetBoundingBox | ( | ) | const |
Definition at line 27 of file cpdf_path.cpp.
Referenced by CPDF_ClipPath::AppendPathWithAutoMerge().
CFX_FloatRect CPDF_Path::GetBoundingBoxForStrokePath | ( | float | line_width, |
float | miter_limit ) const |
Definition at line 31 of file cpdf_path.cpp.
|
inline |
Definition at line 42 of file cpdf_path.h.
CFX_PointF CPDF_Path::GetPoint | ( | int | index | ) | const |
Definition at line 23 of file cpdf_path.cpp.
const std::vector< CFX_Path::Point > & CPDF_Path::GetPoints | ( | ) | const |
Definition at line 15 of file cpdf_path.cpp.
|
inline |
Definition at line 22 of file cpdf_path.h.
Referenced by CPDF_ContentParser::CPDF_ContentParser().
bool CPDF_Path::IsRect | ( | ) | const |
Definition at line 37 of file cpdf_path.cpp.
Referenced by CPDF_ClipPath::AppendPathWithAutoMerge().
void CPDF_Path::Transform | ( | const CFX_Matrix & | matrix | ) |
Definition at line 41 of file cpdf_path.cpp.
Referenced by CPDF_ContentParser::CPDF_ContentParser().