class::sgfx::Point

class sgfx::Point
  : public api::SgfxInfoObject

The Point class holds a point on a Bitmap. This class is based on teh sgfx library.

Summary

[Point](#classsgfx_1_1_point_1a68d0c9a286799fc67ebe1555ca2c20ec)()

[Point](#classsgfx_1_1_point_1a562977a2a7d2dabbf4d78ca9de4423a0)(  

const sg_point_t & p
)

[Point](#classsgfx_1_1_point_1aa47e606c79e1b0c9b73f4d14946200c5)(  

const arg::XValue x,
const arg::YValue y
)

void map(

const sg_vector_map_t & m
)

Point operator *(

float f
) const

[operator const sg_point_t &](#classsgfx_1_1_point_1ab2e1c36f2fce71a502edb653bd8c97a3)() *const*

Point operator+(

const Point & a
) const

Point operator+(

const arg::XValue x
) const

Point operator+(

const arg::YValue y
) const

Point & operator+=(

const Point & a
)

Point & operator+=(

const arg::XValue x
)

Point & operator+=(

const arg::YValue y
)

Point operator-(

const Point & a
) const

Point operator-(

const arg::XValue x
) const

Point operator-(

const arg::YValue y
) const

Point & operator-=(

const Point & a
)

Point & operator-=(

const arg::XValue x
)

Point & operator-=(

const arg::YValue y
)

Point & operator=(

const Point & a
)

const sg_point_t & point() const

sg_point_t & point()

void rotate(

s16 angle
)

void scale(

u16 a
)

void set(

sg_int_t x,
sg_int_t y
)

void shift(

s16 x,
s16 y
)

void shift(

sg_point_t p
)

void unmap(

const sg_vector_map_t & m
)

sg_int_t x() const

sg_int_t y() const

static sg_size_t map_pixel_size(

const sg_vector_map_t & m
)

Members

Point()

Point(

const sg_point_t & p
)


Point(

const arg::XValue x,
const arg::YValue y
)


void map(

const sg_vector_map_t & m
)


Point operator *(

float f
) const


operator const sg_point_t &() const

Point operator+(

const Point & a
) const


Point operator+(

const arg::XValue x
) const


Point operator+(

const arg::YValue y
) const


Point & operator+=(

const Point & a
)


Point & operator+=(

const arg::XValue x
)


Point & operator+=(

const arg::YValue y
)


Point operator-(

const Point & a
) const


Point operator-(

const arg::XValue x
) const


Point operator-(

const arg::YValue y
) const


Point & operator-=(

const Point & a
)


Point & operator-=(

const arg::XValue x
)


Point & operator-=(

const arg::YValue y
)


Point & operator=(

const Point & a
)


const sg_point_t & point() const

sg_point_t & point()

void rotate(

s16 angle
)


void scale(

u16 a
)


void set(

sg_int_t x,
sg_int_t y
)


void shift(

s16 x,
s16 y
)


void shift(

sg_point_t p
)


void unmap(

const sg_vector_map_t & m
)


sg_int_t x() const

sg_int_t y() const

static sg_size_t map_pixel_size(

const sg_vector_map_t & m
)


X

Thanks for Coming!

Subscribe to news and updates