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)  

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
_JM_NAMESPACE Namespace Reference

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 >
min (T a, T b, T c, T d)
 
template<typename 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 Documentation

typedef double _JM_NAMESPACE::Coordinate

Coordinate according to pdf specification.

Definition at line 53 of file coordinates.h.

Basic point.

Definition at line 75 of file coordinates.h.

Basic rectangle.

Definition at line 140 of file coordinates.h.

Function Documentation

template<typename T >
T _JM_NAMESPACE::max ( a,
b,
c,
d 
)
inline

Max of four items.

Definition at line 53 of file basic_algos.h.

References QS::max(), QS::max(), and QS::max().

template<typename T >
T _JM_NAMESPACE::min ( a,
b,
c,
d 
)
inline

Min of four items.

Definition at line 48 of file basic_algos.h.

References QS::min(), QS::min(), and QS::min().

std::ostream& _JM_NAMESPACE::operator<< ( std::ostream &  os,
const Rectangle &  rc 
)
inline

Print Rectangle to output stream.

Parameters
osOutput stream.
rcRectangle to be printed.
Returns
Output stream.

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.

std::ostream& _JM_NAMESPACE::operator<< ( std::ostream &  os,
const Point &  pt 
)
inline

Print Point to output stream.

Parameters
osOutput stream.
ptPoint to be printed.
Returns
Output stream.

Definition at line 252 of file coordinates.h.

References _JM_NAMESPACE::GenPoint< Coord >::x, and _JM_NAMESPACE::GenPoint< Coord >::y.

Rectangle _JM_NAMESPACE::rectangle_intersect ( Rectangle  _b1,
Rectangle  _b2 
)
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()().

Variable Documentation

const double _JM_NAMESPACE::COORDINATE_INVALID = std::numeric_limits<Coordinate>::max()
class { ... } _JM_NAMESPACE::NULLPTR