class::sgfx::Region

class sgfx::Region
  : public api::SgfxInfoObject

The Region class creates a region in the graphics space defined by a point (top-left corner) and a dimension.

Summary

[Region](#classsgfx_1_1_region_1a84190e9bbb5d06c8a92a0157a27201bb)()

[Region](#classsgfx_1_1_region_1a2d59b85e80d3f19dfb8f7293880f4ce5)(  

const sg_region_t & region
)

[Region](#classsgfx_1_1_region_1ace3b1dc7871ea57b9189ae07a6a3c889)(  

const Point & point,
const Area & area
)

Area area() const

Point center() const

sg_size_t height() const

bool is_valid() const

[operator const sg_region_t &](#classsgfx_1_1_region_1ab44841478a8164ca5c3f5932883c4ed8)() *const*

Region & operator<<(

const Point & point
)

Region & operator<<(

const Area & dimension
)

Point point() const

const sg_region_t & region() const

sg_region_t region()

void set_area(

const Area & value
)

void set_dim(

const Area & value
)

void set_point(

const Point & value
)

void set_region(

const Point & top_left,
const Point & bottom_right
)

sg_size_t width() const

sg_int_t x() const

sg_int_t y() const

Members

Region()

Region(

const sg_region_t & region
)


Region(

const Point & point,
const Area & area
)


Area area() const

Point center() const

sg_size_t height() const

bool is_valid() const

operator const sg_region_t &() const

Region & operator<<(

const Point & point
)


Region & operator<<(

const Area & dimension
)


Point point() const

const sg_region_t & region() const

sg_region_t region()

void set_area(

const Area & value
)


void set_dim(

const Area & value
)


void set_point(

const Point & value
)


void set_region(

const Point & top_left,
const Point & bottom_right
)


sg_size_t width() const

sg_int_t x() const

sg_int_t y() const

X

Thanks for Coming!

Subscribe to news and updates