#include <Rect.h>
Public Member Functions | |
Rect (float left=0.0f, float top=0.0f, float width=0.0f, float height=0.0f) | |
Point | topLeft () |
Point | topRight () |
Point | bottomLeft () |
Point | bottomRight () |
Public Attributes | |
float | left |
float | top |
float | width |
float | height |
The Rectangle structure.
LibBoard::Rect::Rect | ( | float | left = 0.0f , |
|
float | top = 0.0f , |
|||
float | width = 0.0f , |
|||
float | height = 0.0f | |||
) | [inline] |
float LibBoard::Rect::left |
Coordinate of the left side.
Referenced by LibBoard::Polyline::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), operator<<(), and LibBoard::Board::saveEPS().
float LibBoard::Rect::top |
Coordinate of the upper side.
Referenced by LibBoard::Polyline::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), operator<<(), and LibBoard::Board::saveEPS().
float LibBoard::Rect::width |
Width of the rectangle.
Referenced by LibBoard::Polyline::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), operator<<(), LibBoard::Board::saveEPS(), and LibBoard::Board::saveSVG().
float LibBoard::Rect::height |
Height of the rectangle.
Referenced by LibBoard::Polyline::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), operator<<(), LibBoard::Board::saveEPS(), and LibBoard::Board::saveSVG().