PDF SDK Documentation

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

Loading...
Searching...
No Matches
PDF::RectI Struct Reference
Inheritance diagram for PDF::RectI:
PDRectI

Public Member Functions

 RectI (const RectI &that)=default
 
 RectI (int left_, int top_, int right_, int bottom_)
 
 RectI (const SizeI &size)
 
 RectI (const PointI &origin, const SizeI &size)
 
 RectI (const PointI &leftTop, const PointI &rightBottom)
 
 RectI (const PDRectI &that)
 
void SortForPageSpace ()
 
void SortForDeviceSpace ()
 
int & MinX ()
 
int & MaxX ()
 
int & MinY ()
 
int & MaxY ()
 
int MinX () const
 
int MaxX () const
 
int MinY () const
 
int MaxY () const
 
bool Equals (const RectI &that) const
 
bool operator== (const RectI &that) const
 
bool operator!= (const RectI &that) const
 
int GetWidth () const
 
int GetHeight () const
 
int GetArea () const
 
bool IsAreaEmpty () const
 
PointI GetOrigin () const
 
SizeI GetSize () const
 
PointI GetLeftTop () const
 
PointI GetLeftCenter () const
 
PointI GetLeftBottom () const
 
PointI GetCenterTop () const
 
PointI GetCenter () const
 
PointI GetCenterBottom () const
 
PointI GetRightTop () const
 
PointI GetRightCenter () const
 
PointI GetRightBottom () const
 
void Offset (int dx, int dy)
 
void Offset (const PointI &delta)
 
RectIoperator+= (const PointI &point)
 
RectIoperator-= (const PointI &point)
 
RectI operator+ (const PointI &point) const
 
RectI operator- (const PointI &point) const
 
void Inflate (int dx, int dy)
 
void Inflate (int delta)
 
void Extend (const PointI &point)
 
bool Contains (const PointI &point) const
 
bool Contains (const RectI &rect) const
 
bool HasIntersection (const RectI &rect) const
 

Static Public Member Functions

static RectI MakeSortedForPageSpace (const RectI &rect)
 
static RectI MakeSortedForDeviceSpace (const RectI &rect)
 
static RectI MakeOffset (const RectI &rect, int dx, int dy)
 
static RectI MakeOffset (const RectI &rect, const PointI &delta)
 
static RectI MakeInflated (const RectI &rect, int dx, int dy)
 
static RectI MakeInflated (const RectI &rect, int delta)
 
static RectI MakeExtended (const RectI &rect, const PointI &point)
 
static RectI MakeIntersection (const RectI &a, const RectI &b)
 
static RectI MakeUnion (const RectI &a, const RectI &b)
 
static RectI MakeUnionIgnoringEmpty (const RectI &a, const RectI &b)
 

Additional Inherited Members

- Public Attributes inherited from PDRectI
int left
 
int top
 
int right
 
int bottom
 

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