#include <QXPTypes.h>
Public Member Functions | |
Rect () | |
Rect (double t, double r, double b, double l) | |
double | width () const |
double | height () const |
Point | center () const |
Point | topLeft () const |
Point | topRight () const |
Point | bottomRight () const |
Point | bottomLeft () const |
Rect | shrink (const double diff) const |
Public Attributes | |
double | top |
double | right |
double | bottom |
double | left |
libqxp::Rect::Rect | ( | ) |
Referenced by shrink().
libqxp::Rect::Rect | ( | double | t, |
double | r, | ||
double | b, | ||
double | l | ||
) |
Point libqxp::Rect::bottomLeft | ( | ) | const |
Point libqxp::Rect::bottomRight | ( | ) | const |
Point libqxp::Rect::center | ( | ) | const |
double libqxp::Rect::height | ( | ) | const |
Referenced by center().
Rect libqxp::Rect::shrink | ( | const double | diff | ) | const |
Point libqxp::Rect::topRight | ( | ) | const |
double libqxp::Rect::width | ( | ) | const |
Referenced by center().
double libqxp::Rect::bottom |
Referenced by bottomLeft(), bottomRight(), height(), libqxp::QXP1Parser::parseObject(), libqxp::QXP1Parser::parseParagraphFormat(), libqxp::QXP33Parser::parseParagraphFormat(), libqxp::QXP4Parser::parseParagraphFormat(), libqxp::QXPParser::readObjectBBox(), libqxp::QXP4Parser::readTextSettings(), and shrink().
double libqxp::Rect::left |
Referenced by bottomLeft(), libqxp::QXPContentCollector::CollectedPage::getX(), libqxp::QXP1Parser::parseObject(), libqxp::QXP1Parser::parseParagraphFormat(), libqxp::QXP33Parser::parseParagraphFormat(), libqxp::QXP4Parser::parseParagraphFormat(), libqxp::QXPParser::readObjectBBox(), libqxp::QXP4Parser::readTextSettings(), shrink(), topLeft(), and width().
double libqxp::Rect::right |
Referenced by bottomRight(), libqxp::QXP1Parser::parseObject(), libqxp::QXP1Parser::parseParagraphFormat(), libqxp::QXP33Parser::parseParagraphFormat(), libqxp::QXP4Parser::parseParagraphFormat(), libqxp::QXPParser::readObjectBBox(), libqxp::QXP4Parser::readTextSettings(), shrink(), topRight(), and width().
double libqxp::Rect::top |
Referenced by height(), libqxp::QXP1Parser::parseObject(), libqxp::QXP1Parser::parseParagraphFormat(), libqxp::QXP33Parser::parseParagraphFormat(), libqxp::QXP4Parser::parseParagraphFormat(), libqxp::QXPParser::readObjectBBox(), libqxp::QXP4Parser::readTextSettings(), shrink(), topLeft(), and topRight().