Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

PIAVE::Box Class Reference

it's, yes, right, a box! ! . More...

#include <piave_base.hh>

List of all members.

Public Methods

 Box (Point ul, Point lr)
 upper left and lower right

Point ul () const
 upper left

Point lr () const
 lower right

double x () const
 relative coordinates [0.0,1.0]

double y () const
 relative coordinates [0.0,1.0]

double w () const
 relative coordinates [0.0,1.0]

double h () const
 relative coordinates [0.0,1.0]

double x2 () const
 relative coordinates [0.0,1.0]

double y2 () const
 relative coordinates [0.0,1.0]

int lx () const
 absolute coordinates wrt, render size

int ly () const
 absolute coordinates wrt, render size

int lw () const
 absolute coordinates wrt, render size

int lh () const
 absolute coordinates wrt, render size

int lx2 () const
 absolute coordinates wrt, render size

int ly2 () const
 absolute coordinates wrt, render size


Detailed Description

it's, yes, right, a box! ! .

coordinates in constrctor are relative \in [0.0,1.0] lx,ly,... are in the local coordinate system defined be the project render size.


The documentation for this class was generated from the following files:
Generated on Tue Oct 14 20:45:37 2003 for piave by doxygen1.2.18