PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
Inheritance diagram for PDF::Quad:
PDQuad

Public Member Functions

 Quad (const Quad &that)=default
Quad & operator= (const Quad &that)=default
 Quad (const PDQuad &that)
 Quad (const PointF &leftTop_, const PointF &rightTop_, const PointF &leftBottom_, const PointF &rightBottom_)
 Quad (const PDRectF &rect)
 Quad (const RectF &rect)
PointF GetLeftTop () const
PointF GetLeftCenter () const
PointF GetLeftBottom () const
PointF GetCenterTop () const
PointF GetCenter () const
PointF GetCenterBottom () const
PointF GetRightTop () const
PointF GetRightBottom () const
PointF GetRightCenter () const
RectF GetBound () const
float GetRotationAngle () const
bool IsRectangle () const
bool Equals (const Quad &that, const float eps=Math::EPSILON) const
bool operator== (const Quad &that) const
bool operator!= (const Quad &that) const
void Offset (float dx, float dy)
void Offset (const PointF &point)
Quad & operator+= (const PointF &point)
Quad & operator-= (const PointF &point)
Quad operator+ (const PointF &point) const
Quad operator- (const PointF &point) const
bool Contains (const PointF &point) const
bool Contains (const Quad &that) const
bool HasIntersectionWithEdge (const PointF &a, const PointF &b) const
bool HasIntersection (const RectF &rect) const
bool HasIntersection (const Quad &quad) const

Static Public Member Functions

static Quad MakeOffset (const Quad &quad, float dx, float dy)
static Quad MakeOffset (const Quad &quad, const PointF &delta)

Additional Inherited Members

Public Attributes inherited from PDQuad
PDPointF topleft
PDPointF topright
PDPointF botleft
PDPointF botright

The documentation for this struct was generated from the following file: