Comprehensive Guide for Developers: Features, Integration, and API Reference
Represents a region. More...
#include <pdfsdk/cxx/graphics.h>
Public Types | |
using | RectEnumFunc = std::function<bool(const RectI&)> |
Public Member Functions | |
bool | IsAreaEmpty () const |
RectI | GetBound () const |
bool | Contains (const PointI &point) const |
bool | Contains (const RectI &rect) const |
bool | Contains (const Region ®ion) const |
bool | HasIntersection (const RectI &rect) const |
bool | HasIntersection (const Region ®ion) const |
void | Offset (int dx, int dy) |
void | Combine (GXCombineMode mode, const Region ®ion) |
void | Combine (GXCombineMode mode, const RectI &rect) |
void | EnumRects (RectEnumFunc func) const |
Region (GXRegion handle, bool adopt=false) noexcept | |
Region (const Region &rhs) noexcept | |
Region & | operator= (const Region &rhs) noexcept |
Region (Region &&rhs) noexcept | |
Region & | operator= (Region &&rhs) noexcept |
Static Public Member Functions | |
static Region | New () |
static Region | NewFromRect (const RectI &rect) |
static PDErrCode PDFSDK_CALLCONV | RectEnumProc_ (void *userdata, const PDRectI *rect) |
Represents a region.