|
pdfedit
0.4.5
About: PDFedit is a free and open source library for manipulating PDF documents.
Fossies Dox: pdfedit-0.4.5.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) ![]() |
Classes | |
| struct | SimpleFormatter |
| class | Logger |
| class | NullType |
| struct | EmptyType |
| class | Singleton |
| struct | GenPoint |
| struct | GenRect |
Typedefs | |
| typedef double | Coordinate |
| typedef struct GenPoint < Coordinate > | Point |
| typedef struct GenRect < Coordinate > | Rectangle |
Functions | |
| template<typename T > | |
| T | min (T a, T b, T c, T d) |
| template<typename T > | |
| T | max (T a, T b, T c, T d) |
| Rectangle | rectangle_merge (Rectangle _b1, Rectangle _b2) |
| Rectangle | rectangle_intersect (Rectangle _b1, Rectangle _b2) |
| std::ostream & | operator<< (std::ostream &os, const Rectangle &rc) |
| std::ostream & | operator<< (std::ostream &os, const Point &pt) |
Variables | |
| class { | |
| } | NULLPTR = {} |
| const double | COORDINATE_INVALID = std::numeric_limits<Coordinate>::max() |
| typedef double _JM_NAMESPACE::Coordinate |
Coordinate according to pdf specification.
Definition at line 53 of file coordinates.h.
| typedef struct GenPoint< Coordinate > _JM_NAMESPACE::Point |
Basic point.
Definition at line 75 of file coordinates.h.
| typedef struct GenRect< Coordinate > _JM_NAMESPACE::Rectangle |
Basic rectangle.
Definition at line 140 of file coordinates.h.
|
inline |
Max of four items.
Definition at line 53 of file basic_algos.h.
|
inline |
Min of four items.
Definition at line 48 of file basic_algos.h.
|
inline |
Print Rectangle to output stream.
| os | Output stream. |
| rc | Rectangle to be printed. |
Definition at line 235 of file coordinates.h.
References _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::yleft, and _JM_NAMESPACE::GenRect< Coord >::yright.
|
inline |
Print Point to output stream.
| os | Output stream. |
| pt | Point to be printed. |
Definition at line 252 of file coordinates.h.
References _JM_NAMESPACE::GenPoint< Coord >::x, and _JM_NAMESPACE::GenPoint< Coord >::y.
|
inline |
Intersect two Rectangles.
Definition at line 181 of file coordinates.h.
References QS::max(), QS::max(), QS::max(), QS::max(), QS::max(), QS::max(), QS::max(), QS::max(), QS::min(), QS::min(), QS::min(), QS::min(), QS::min(), QS::min(), QS::min(), QS::min(), _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yright, _JM_NAMESPACE::GenRect< Coord >::yright, _JM_NAMESPACE::GenRect< Coord >::yright, _JM_NAMESPACE::GenRect< Coord >::yright, _JM_NAMESPACE::GenRect< Coord >::yright, _JM_NAMESPACE::GenRect< Coord >::yright, _JM_NAMESPACE::GenRect< Coord >::yright, _JM_NAMESPACE::GenRect< Coord >::yright, and _JM_NAMESPACE::GenRect< Coord >::yright.
Referenced by PdfOpCmpRc::operator()().
|
inline |
Merge two Rectangles to one.
Definition at line 149 of file coordinates.h.
References QS::max(), QS::max(), QS::max(), QS::max(), QS::min(), QS::min(), QS::min(), QS::min(), _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xleft, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::xright, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yleft, _JM_NAMESPACE::GenRect< Coord >::yright, _JM_NAMESPACE::GenRect< Coord >::yright, _JM_NAMESPACE::GenRect< Coord >::yright, _JM_NAMESPACE::GenRect< Coord >::yright, and _JM_NAMESPACE::GenRect< Coord >::yright.
| const double _JM_NAMESPACE::COORDINATE_INVALID = std::numeric_limits<Coordinate>::max() |
Invalid coordinate.
Definition at line 55 of file coordinates.h.
Referenced by _JM_NAMESPACE::GenPoint< Coord >::GenPoint(), _JM_NAMESPACE::GenRect< Coord >::GenRect(), and _JM_NAMESPACE::GenRect< Coord >::isInitialized().
| class { ... } _JM_NAMESPACE::NULLPTR |