WXP C++ Library Version 6.74.9
|
This structure sets size and location of a geometric box. More...
#include "../include/GeomBox.h"
Public Member Functions | |
int | init () |
GeomBox () | |
GeomBox (float rx, float ry, float rwidth, float rheight) | |
int | set (float rx, float ry, float rwidth, float rheight) |
int | print () |
Public Attributes | |
float | x |
float | y |
float | width |
float | height |
This structure sets size and location of a geometric box.
GeomBox::GeomBox | ( | ) |
Constructor. Initializes class values
References init().
GeomBox::GeomBox | ( | float | rx, |
float | ry, | ||
float | rwidth, | ||
float | rheight | ||
) |
Constructor. Sets values
rx | Upper left X value |
ry | Upper left Y value |
rwidth | Width of box |
rheigth | Height of box |
References set().
int GeomBox::init | ( | ) |
int GeomBox::set | ( | float | rx, |
float | ry, | ||
float | rwidth, | ||
float | rheight | ||
) |
float WXP::GeomBox::height |
Height of box
Referenced by WXP::ImageMath::clip(), init(), print(), and set().
float WXP::GeomBox::width |
Width of box
Referenced by WXP::ImageMath::clip(), init(), print(), and set().
float WXP::GeomBox::x |
X location
Referenced by WXP::ImageMath::clip(), init(), print(), and set().
float WXP::GeomBox::y |
Y location
Referenced by WXP::ImageMath::clip(), init(), print(), and set().