Ipelib
|
Paint objects using this painter to compute an accurate bounding box. More...
#include <ipeutils.h>
Inherits ipe::Painter.
Paint objects using this painter to compute an accurate bounding box.
The Object::bbox member function computes a bounding box useful for distance calculations and optimizations. To find a bounding box that is accurate for the actual drawn object, paint the object using a BBoxPainter, and retrieve the box with bbox.
BBoxPainter::BBoxPainter | ( | const Cascade * | style | ) |
Rect ipe::BBoxPainter::bbox | ( | ) | const [inline] |
void BBoxPainter::doPush | ( | ) | [protected, virtual] |
Perform graphics state push on output medium.
Reimplemented from ipe::Painter.
void BBoxPainter::doPop | ( | ) | [protected, virtual] |
Perform graphics state pop on output medium.
Reimplemented from ipe::Painter.
void BBoxPainter::doNewPath | ( | ) | [protected, virtual] |
Perform new path operator.
Reimplemented from ipe::Painter.
void BBoxPainter::doMoveTo | ( | const Vector & | v | ) | [protected, virtual] |
Perform moveto operator.
The transformation matrix has already been applied.
Reimplemented from ipe::Painter.
void BBoxPainter::doLineTo | ( | const Vector & | v | ) | [protected, virtual] |
Perform lineto operator.
The transformation matrix has already been applied.
Reimplemented from ipe::Painter.
void BBoxPainter::doCurveTo | ( | const Vector & | v1, |
const Vector & | v2, | ||
const Vector & | v3 | ||
) | [protected, virtual] |
Perform curveto operator.
The transformation matrix has already been applied.
Reimplemented from ipe::Painter.
void BBoxPainter::doDrawPath | ( | TPathMode | mode | ) | [protected, virtual] |
Actually draw the path.
Reimplemented from ipe::Painter.
void BBoxPainter::doDrawBitmap | ( | Bitmap | bitmap | ) | [protected, virtual] |
Draw a bitmap.
Reimplemented from ipe::Painter.
void BBoxPainter::doDrawText | ( | const Text * | text | ) | [protected, virtual] |
Draw a text object.
Reimplemented from ipe::Painter.
void BBoxPainter::doAddClipPath | ( | ) | [protected, virtual] |
Add a clip path.
Reimplemented from ipe::Painter.