Board
0.6.devel
|
#include <Rect.h>
Public Member Functions | |
Rect (double leftX=0.0f, double topY=0.0f, double rectWidth=0.0f, double rectHeight=0.0f) | |
Point | topLeft () |
Point | topRight () |
Point | bottomLeft () |
Point | bottomRight () |
Data Fields | |
double | left |
double | top |
double | width |
double | height |
Struct representing a rectangle on the plane.
The Rectangle structure.
|
inline |
double LibBoard::Rect::height |
Height of the rectangle.
Referenced by bottomLeft(), bottomRight(), LibBoard::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), operator<<(), LibBoard::operator||(), LibBoard::Board::saveEPS(), LibBoard::Board::saveSVG(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), and LibBoard::TransformSVG::setBoundingBox().
double LibBoard::Rect::left |
Coordinate of the left side.
Referenced by bottomLeft(), bottomRight(), LibBoard::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), operator<<(), LibBoard::operator||(), LibBoard::Board::saveEPS(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), LibBoard::TransformSVG::setBoundingBox(), topLeft(), and topRight().
double LibBoard::Rect::top |
Coordinate of the upper side.
Referenced by bottomLeft(), bottomRight(), LibBoard::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), operator<<(), LibBoard::operator||(), LibBoard::Board::saveEPS(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), LibBoard::TransformSVG::setBoundingBox(), topLeft(), and topRight().
double LibBoard::Rect::width |
Width of the rectangle.
Referenced by bottomRight(), LibBoard::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), operator<<(), LibBoard::operator||(), LibBoard::Board::saveEPS(), LibBoard::Board::saveSVG(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), LibBoard::TransformSVG::setBoundingBox(), and topRight().