37 static Rect FromCorners(
double x1,
double y1,
double x2,
double y2);
54 std::string ToString()
const;
56 bool Contains(
double x,
double y)
const;
69 Vector2 GetLeftBottom()
const;
72 Vector2 GetRightTop()
const;
81 double GetRight()
const;
84 double GetTop()
const;
87 bool operator==(
const Rect&
rect)
const;
88 bool operator!=(
const Rect&
rect)
const;
89 Rect operator*(
const Matrix& m)
const;
An unoriented rectangle defined by 2 points.
Definition Corners.h:16
This class represents a PdfArray Use it for all arrays that are written to a PDF file.
Definition PdfArray.h:76
An normalized rectangle defined by position (left-bottom) and size.
Definition Rect.h:17
double GetLeft() const
Get the left coordinate of the rectangle.
Definition Rect.h:75
Rect(const Rect &rhs)=default
Copy constructor.
double GetBottom() const
Get the bottom coordinate of the rectangle.
Definition Rect.h:78
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:30
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13