#include <cascade/graphics/CascadePoint.h>
Inheritance diagram for CascadePoint:
Public Member Functions | |
CascadePoint () | |
CascadePoint (s32 xx, s32 yy) | |
CascadePoint (const CascadePoint &point) | |
Public Attributes | |
s32 | x |
s32 | y |
CascadePoint represents 2d point descibed as (x, y), where (0, 0) is defined as the top-left of the coordinate-space. In other words, for the purposes of the graphics classes, point (0, 0) means the top- left most point on a CascadeBitmap or CascadeScreen.
|
default constructor The default constructor for CascadePoint initializes the point to (0, 0) |
|
coordinate constructor This constructor sets the point from the x and y coordinates passed in.
|
|
copy constructor This copy constructor copies the point from the point passed in.
|
|
the x coordinate of the point x stores the x coordinate of the point |
|
the y coordinate of the point y stores the y coordinate of the point |