class::sgfx::Area

class sgfx::Area
  : public api::SgfxInfoObject

This class holds a dimension for bitmaps. It is based on the sgfx library.

Summary

Area()

[Area](#classsgfx_1_1_area_1ad65e16d3c1fd1916fed7afb10165e213)(  

const arg::Width width,
const arg::Height height
)

[Area](#classsgfx_1_1_area_1a25d2215a06c2f1a4ac4bc5f04c1b56a1)(  

const sg_area_t & d
)

const sg_area_t & area() const

sg_area_t & area()

u32 calculate_area() const

sg_size_t height() const

bool is_valid() const

sg_size_t maximum_dimension() const

sg_size_t minimum_dimension() const

Area operator *(

float a
) const

Area operator *(

sg_size_t a
) const

Area & operator *=(

float a
)

[operator const sg_area_t &](#classsgfx_1_1_area_1a7a7a39bcfe8f23d2b2d00bd1e47d1b22)() *const*

Area operator/(

sg_size_t a
) const

void set_height(

sg_size_t h
)

void set_width(

sg_size_t w
)

sg_size_t width() const

Members

Area()

Area(

const arg::Width width,
const arg::Height height
)


Area(

const sg_area_t & d
)


const sg_area_t & area() const

sg_area_t & area()

u32 calculate_area() const

sg_size_t height() const

bool is_valid() const

sg_size_t maximum_dimension() const

sg_size_t minimum_dimension() const

Area operator *(

float a
) const


Area operator *(

sg_size_t a
) const


Area & operator *=(

float a
)


operator const sg_area_t &() const

Area operator/(

sg_size_t a
) const


void set_height(

sg_size_t h
)


void set_width(

sg_size_t w
)


sg_size_t width() const

X

Thanks for Coming!

Subscribe to news and updates