PDF SDK Documentation

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

Loading...
Searching...
No Matches
PDF::Graphics::Region Class Reference

Represents a region. More...

#include <pdfsdk/cxx/graphics.h>

Inheritance diagram for PDF::Graphics::Region:

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 &region) const
 
bool HasIntersection (const RectI &rect) const
 
bool HasIntersection (const Region &region) const
 
void Offset (int dx, int dy)
 
void Combine (GXCombineMode mode, const Region &region)
 
void Combine (GXCombineMode mode, const RectI &rect)
 
void EnumRects (RectEnumFunc func) const
 
 Region (GXRegion handle, bool adopt=false) noexcept
 
 Region (const Region &rhs) noexcept
 
Regionoperator= (const Region &rhs) noexcept
 
 Region (Region &&rhs) noexcept
 
Regionoperator= (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)
 

Detailed Description

Represents a region.

See also
GXRegion

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