#include <ipeutils.h>
Inherits ipe::Painter.
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] |
void BBoxPainter::doPop | ( | ) | [protected, virtual] |
void BBoxPainter::doNewPath | ( | ) | [protected, virtual] |
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] |
void BBoxPainter::doDrawBitmap | ( | Bitmap | bitmap | ) | [protected, virtual] |
void BBoxPainter::doDrawText | ( | const Text * | text | ) | [protected, virtual] |
void BBoxPainter::doAddClipPath | ( | ) | [protected, virtual] |