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

#include <cpdf_path.h>

+ Collaboration diagram for CPDF_Path:

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_PathGetObject () const
 

Detailed Description

Definition at line 15 of file cpdf_path.h.

Constructor & Destructor Documentation

◆ CPDF_Path() [1/2]

CPDF_Path::CPDF_Path ( )
default

◆ CPDF_Path() [2/2]

CPDF_Path::CPDF_Path ( const CPDF_Path & that)
default

◆ ~CPDF_Path()

CPDF_Path::~CPDF_Path ( )
default

Member Function Documentation

◆ Append()

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().

+ Here is the caller graph for this function:

◆ AppendFloatRect()

void CPDF_Path::AppendFloatRect ( const CFX_FloatRect & rect)

Definition at line 49 of file cpdf_path.cpp.

Referenced by CPDF_ContentParser::CPDF_ContentParser().

+ Here is the caller graph for this function:

◆ AppendPoint()

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().

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

◆ AppendPointAndClose()

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().

+ Here is the call graph for this function:

◆ AppendRect()

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().

+ Here is the caller graph for this function:

◆ ClosePath()

void CPDF_Path::ClosePath ( )

Definition at line 19 of file cpdf_path.cpp.

Referenced by FPDFPath_Close().

+ Here is the caller graph for this function:

◆ Emplace()

void CPDF_Path::Emplace ( )
inline

Definition at line 21 of file cpdf_path.h.

Referenced by CPDF_ContentParser::CPDF_ContentParser().

+ Here is the caller graph for this function:

◆ GetBoundingBox()

CFX_FloatRect CPDF_Path::GetBoundingBox ( ) const

Definition at line 27 of file cpdf_path.cpp.

Referenced by CPDF_ClipPath::AppendPathWithAutoMerge().

+ Here is the caller graph for this function:

◆ GetBoundingBoxForStrokePath()

CFX_FloatRect CPDF_Path::GetBoundingBoxForStrokePath ( float line_width,
float miter_limit ) const

Definition at line 31 of file cpdf_path.cpp.

◆ GetObject()

const CFX_Path * CPDF_Path::GetObject ( ) const
inline

Definition at line 42 of file cpdf_path.h.

◆ GetPoint()

CFX_PointF CPDF_Path::GetPoint ( int index) const

Definition at line 23 of file cpdf_path.cpp.

◆ GetPoints()

const std::vector< CFX_Path::Point > & CPDF_Path::GetPoints ( ) const

Definition at line 15 of file cpdf_path.cpp.

◆ HasRef()

bool CPDF_Path::HasRef ( ) const
inline

Definition at line 22 of file cpdf_path.h.

Referenced by CPDF_ContentParser::CPDF_ContentParser().

+ Here is the caller graph for this function:

◆ IsRect()

bool CPDF_Path::IsRect ( ) const

Definition at line 37 of file cpdf_path.cpp.

Referenced by CPDF_ClipPath::AppendPathWithAutoMerge().

+ Here is the caller graph for this function:

◆ Transform()

void CPDF_Path::Transform ( const CFX_Matrix & matrix)

Definition at line 41 of file cpdf_path.cpp.

Referenced by CPDF_ContentParser::CPDF_ContentParser().

+ Here is the caller graph for this function:

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