Celartem::Point Struct Reference

#include <cel_geom.h>

List of all members.

Public Member Functions

 Point (ssize_t inX=0, ssize_t inY=0)
void zeroReset ()

Public Attributes

ssize_t x
 X-coordinate of the point.
ssize_t y
 Y-coordinate of the point.


Detailed Description

The Point struct stores the position (X,Y) of a point.

Definition at line 22 of file cel_geom.h.


Constructor & Destructor Documentation

Celartem::Point::Point ( ssize_t  inX = 0,
ssize_t  inY = 0 
) [inline]

This constructor initializes the instance with specified position.

Parameters:
inX X-coordinate of a point.
inY Y-coordinate of a point.

Definition at line 32 of file cel_geom.h.


Member Function Documentation

void Celartem::Point::zeroReset (  )  [inline]

This function moves the point position to (0, 0).

Definition at line 40 of file cel_geom.h.


Member Data Documentation

ssize_t Celartem::Point::x

X-coordinate of the point.

Definition at line 24 of file cel_geom.h.

Referenced by Celartem::DjVu::MapLine::getRect(), Celartem::DjVu::MapPoly::getRect(), Celartem::Rect::offset(), and zeroReset().

ssize_t Celartem::Point::y

Y-coordinate of the point.

Definition at line 25 of file cel_geom.h.

Referenced by Celartem::DjVu::MapLine::getRect(), Celartem::DjVu::MapPoly::getRect(), Celartem::Rect::offset(), and zeroReset().


The documentation for this struct was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:17 2008.