#include <Shapes.h>
Inheritance diagram for BoardLib::Ellipse:
Public Member Functions | |
Ellipse (double x, double y, double xRadius, double yRadius, Color penColor, Color fillColor, float lineWidth, const LineCap cap=ButtCap, const LineJoin join=MiterJoin, unsigned int depth=0) | |
void | flushPostscript (std::ostream &stream, const TransformEPS &transform) const |
void | flushFIG (std::ostream &stream, const TransformFIG &transform, std::map< Color, int > &colormap) const |
void | flushSVG (std::ostream &stream, const TransformSVG &transform) const |
Rect | boundingBox () const |
Public Attributes | |
double | x |
double | y |
double | xRadius |
double | yRadius |
The ellipse structure.
void BoardLib::Ellipse::flushPostscript | ( | std::ostream & | stream, | |
const TransformEPS & | transform | |||
) | const [virtual] |
Writes the EPS code of the shape in a stream according to a transform.
stream | The output stream. | |
transform | A 2D transform to be applied. |
Implements BoardLib::Shape.
void BoardLib::Ellipse::flushFIG | ( | std::ostream & | stream, | |
const TransformFIG & | transform, | |||
std::map< Color, int > & | colormap | |||
) | const [virtual] |
Writes the FIG code of the shape in a stream according to a transform.
stream | The output stream. | |
transform | A 2D transform to be applied. |
Implements BoardLib::Shape.
void BoardLib::Ellipse::flushSVG | ( | std::ostream & | stream, | |
const TransformSVG & | transform | |||
) | const [virtual] |
Writes the SVG code of the shape in a stream according to a transform.
stream | The output stream. | |
transform | A 2D transform to be applied. |
Implements BoardLib::Shape.
Rect BoardLib::Ellipse::boundingBox | ( | ) | const [virtual] |
Returns the bounding box of the figure.
Implements BoardLib::Shape.