DGtal 1.3.0
|
Namespaces | |
namespace | Fonts |
Data Structures | |
struct | Arc |
An arc. More... | |
struct | Arrow |
A line between two points with an arrow at one extremity. More... | |
class | Board |
Class for EPS, FIG or SVG drawings. More... | |
struct | Circle |
A circle. More... | |
struct | Dot |
A line between two points. More... | |
struct | Ellipse |
An ellipse. More... | |
struct | GouraudTriangle |
A triangle with shaded filling according to colors given for each vertex. More... | |
struct | Group |
A group of shapes. A group is basically a ShapeList except that when rendered in either an SVG of a FIG file, it is a true compound element. More... | |
struct | Image |
Used to draw image in figure. More... | |
struct | Line |
A line between two points. More... | |
class | MessageStream |
struct | Path |
A path, according to Postscript and SVG definition. More... | |
struct | Point |
Struct representing a 2D point. More... | |
struct | Polyline |
A polygonal line described by a series of 2D points. More... | |
struct | QuadraticBezierCurve |
A quadratic Bezier curve having 3 control points. NB. It is also a parabola arc. More... | |
struct | Rect |
Struct representing a rectangle on the plane. More... | |
struct | Rectangle |
A rectangle. More... | |
struct | Shape |
Abstract structure for a 2D shape. More... | |
struct | ShapeList |
A group of shapes. More... | |
struct | Text |
A piece of text. More... | |
struct | Transform |
base class for transforms. More... | |
struct | TransformCairo |
Structure representing a scaling and translation suitable for an Cairo output. More... | |
struct | TransformEPS |
Structure representing a scaling and translation suitable for an EPS output. More... | |
struct | TransformFIG |
Structure representing a scaling and translation suitable for an XFig output. More... | |
struct | TransformSVG |
Structure representing a scaling and translation suitable for an SVG output. More... | |
struct | TransformTikZ |
Structure representing a scaling and translation suitable for an TikZ output. More... | |
struct | Triangle |
A triangle. Basically a Polyline with a convenient constructor. More... | |
Functions | |
Point | operator+ (const Point &a, const Point &b) |
Point | operator- (const Point &a, const Point &b) |
double | operator* (const Point &a, const Point &b) |
Point | operator* (const Point &p, double s) |
Point | operator* (double s, const Point &p) |
Point | operator/ (const Point &p, double s) |
bool | operator== (const Point &a, const Point &b) |
bool | operator!= (const Point &a, const Point &b) |
Rect | operator|| (const Rect &rectA, const Rect &rectB) |
Rect | operator&& (const Rect &rectA, const Rect &rectB) |
bool | shapeGreaterDepth (const Shape *s1, const Shape *s2) |
void | secured_strncpy (char *dst, const char *src, size_t count) |
void | secured_ctime (char *str, const time_t *t, size_t count) |
Variables | |
const char * | PSFontNames [] |
const char * | XFigPostscriptFontnames [] |
MessageStream | error |
MessageStream | warning |
MessageStream | notice |
Computes the intersection of two bounding boxes.
rectA | A first rectangle. |
rectB | A second rectangle. |
Definition at line 37 of file Rect.cpp.
References LibBoard::Rect::height, LibBoard::Rect::left, LibBoard::Rect::top, and LibBoard::Rect::width.
Computes the bounding box of two bounding boxes.
rectA | A first rectangle. |
rectB | A second rectangle. |
Definition at line 20 of file Rect.cpp.
References LibBoard::Rect::height, LibBoard::Rect::left, LibBoard::Rect::top, and LibBoard::Rect::width.
|
inline |
Referenced by LibBoard::Board::saveEPS().
|
inline |
Compares two shapes according to their depths.
s1 | A pointer to a first shape. |
s2 | A pointer to a second shape. |
Definition at line 95 of file Shapes.cpp.
References LibBoard::Shape::depth().
Referenced by LibBoard::ShapeList::addShape(), LibBoard::ShapeList::flushCairo(), LibBoard::ShapeList::flushFIG(), LibBoard::ShapeList::flushPostscript(), LibBoard::ShapeList::flushSVG(), LibBoard::ShapeList::flushTikZ(), LibBoard::ShapeList::operator<<(), LibBoard::Board::saveCairo(), LibBoard::Board::saveEPS(), LibBoard::Board::saveFIG(), LibBoard::Board::saveSVG(), and LibBoard::Board::saveTikZ().
|
extern |
|
extern |
const char * LibBoard::PSFontNames |
Definition at line 16 of file PSFonts.cpp.
Referenced by LibBoard::Text::flushPostscript(), and LibBoard::Text::flushSVG().
|
extern |
Referenced by LibBoard::ShapeList::dup(), and LibBoard::ShapeList::insert().
|
extern |