#include <cel_geom.h>
Public Member Functions | |
Point (ssize_t inX=0, ssize_t inY=0) | |
void | zeroReset () |
Public Attributes | |
ssize_t | x |
X-coordinate of the point. More... | |
ssize_t | y |
Y-coordinate of the point. More... | |
The Point struct stores the position (X,Y) of a point.
|
inline |
This constructor initializes the instance with specified position.
inX | X-coordinate of a point. |
inY | Y-coordinate of a point. |
|
inline |
This function moves the point position to (0, 0).
ssize_t Celartem::Point::x |
X-coordinate of the point.
Referenced by Celartem::DjVu::MapPoly::getRect(), Celartem::DjVu::MapLine::getRect(), Celartem::Rect::offset(), and zeroReset().
ssize_t Celartem::Point::y |
Y-coordinate of the point.
Referenced by Celartem::DjVu::MapPoly::getRect(), Celartem::DjVu::MapLine::getRect(), Celartem::Rect::offset(), and zeroReset().