Board
0.9.2
|
Struct representing a rectangle on the plane. More...
#include <Rect.h>
Public Member Functions | |
Rect (double left=0.0f, double top=0.0f, double width=0.0f, double height=0.0f) | |
Point | topLeft () const |
Point | topRight () const |
Point | bottomLeft () const |
Point | bottomRight () const |
Point | center () const |
double | bottom () const |
double | right () const |
Public Attributes | |
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 LibBoard::ShapeList::addTiling(), LibBoard::ShapeList::append(), LibBoard::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::Image::flushPostscript(), operator<<(), LibBoard::Board::saveEPS(), and LibBoard::Board::saveSVG().
double LibBoard::Rect::left |
Coordinate of the left side.
Referenced by LibBoard::ShapeList::addTiling(), LibBoard::ShapeList::append(), LibBoard::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), operator<<(), and LibBoard::Board::saveEPS().
double LibBoard::Rect::top |
Coordinate of the upper side.
Referenced by LibBoard::ShapeList::addTiling(), LibBoard::ShapeList::append(), LibBoard::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), operator<<(), and LibBoard::Board::saveEPS().
double LibBoard::Rect::width |
Width of the rectangle.
Referenced by LibBoard::ShapeList::addTiling(), LibBoard::ShapeList::append(), LibBoard::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::Image::flushPostscript(), operator<<(), LibBoard::Board::saveEPS(), and LibBoard::Board::saveSVG().