test::Point Struct Reference

Point structure. More...

#include <scribble_manager.h>

Public Member Functions

 Point ()
 Point (const int ptx, const int pty)
void reset (const int ptx, const int pty)
void move_x (const int ptx)
void move_y (const int pty)

Data Fields

int x
int y

Detailed Description

Point structure.

Definition at line 40 of file scribble_manager.h.


Constructor & Destructor Documentation

test::Point::Point (  )  [inline]

Definition at line 42 of file scribble_manager.h.

00043         : x(0), y(0)
00044     {}

test::Point::Point ( const int  ptx,
const int  pty 
) [inline]

Definition at line 46 of file scribble_manager.h.

00047         : x(ptx), y(pty)
00048     {}


Member Function Documentation

void test::Point::move_x ( const int  ptx  )  [inline]

Definition at line 55 of file scribble_manager.h.

References x.

00056     {
00057         x = ptx;
00058     }

void test::Point::move_y ( const int  pty  )  [inline]

Definition at line 60 of file scribble_manager.h.

References y.

00061     {
00062         y = pty;
00063     }

void test::Point::reset ( const int  ptx,
const int  pty 
) [inline]

Definition at line 50 of file scribble_manager.h.

References x, and y.

00051     {
00052         x = ptx; y = pty;
00053     }


Field Documentation


The documentation for this struct was generated from the following file:
Generated by  doxygen 1.6.2-20100208