|
| ShapeWithStyle (Color penColor, Color fillColor, double lineWidth, LineStyle style, const LineCap cap, const LineJoin join) |
|
| ShapeWithStyle (const Style &style) |
|
| ShapeWithStyle (const ShapeWithStyle &other) |
|
ShapeWithStyle & | operator= (const ShapeWithStyle &other) |
|
| ~ShapeWithStyle () |
|
const std::string & | name () const |
|
Shape * | clone () const =0 |
|
const Color & | penColor () const |
|
ShapeWithStyle & | setPenColor (const Color &) |
|
const Color & | fillColor () const |
|
ShapeWithStyle & | setFillColor (const Color &) |
|
double | lineWidth () const |
|
ShapeWithStyle & | setLineWidth (double) |
|
LineStyle | lineStyle () const |
|
ShapeWithStyle & | setLineStyle (LineStyle) |
|
LineCap | lineCap () const |
|
ShapeWithStyle & | setLineCap (LineCap) |
|
LineJoin | lineJoin () const |
|
ShapeWithStyle & | setLineJoin (LineJoin) |
|
Style | style () const |
|
ShapeWithStyle & | setStyle (const Style &) |
|
bool | filled () const |
|
| Shape () |
|
virtual | ~Shape () |
|
virtual Point | center (LineWidthFlag lineWidthFlag=IgnoreLineWidth) const |
|
virtual Shape & | rotate (double angle, const Point ¢er)=0 |
|
virtual Shape & | rotate (double angle)=0 |
|
Shape & | rotateDeg (double angle, const Point ¢er) |
|
Shape & | rotateDeg (double angle) |
|
virtual Shape & | translate (double dx, double dy)=0 |
|
Shape & | moveCenter (double x, double y, LineWidthFlag lineWidthFlag=IgnoreLineWidth) |
|
Shape & | moveCenter (Point p, LineWidthFlag lineWidthFlag=IgnoreLineWidth) |
|
virtual Shape & | scale (double sx, double sy)=0 |
|
virtual Shape & | scale (double s)=0 |
|
Shape & | resize (double width, double height, LineWidthFlag lineWidthFlag) |
|
Shape & | scaleToWidth (double w, LineWidthFlag lineWidthFlag) |
|
Shape & | scaleToHeight (double h, LineWidthFlag lineWidthFlag) |
|
virtual Rect | boundingBox (LineWidthFlag) const =0 |
|
Rect | bbox (LineWidthFlag) const |
|
virtual void | scaleAll (double s)=0 |
|
virtual void | flushPostscript (std::ostream &stream, const TransformEPS &transform) const =0 |
|
virtual void | flushFIG (std::ostream &stream, const TransformFIG &transform, std::map< Color, int > &colormap) const =0 |
|
virtual void | flushSVG (std::ostream &stream, const TransformSVG &transform) const =0 |
|
virtual void | flushTikZ (std::ostream &stream, const TransformTikZ &transform) const =0 |
|
virtual void | accept (ShapeVisitor &visitor) |
| Accepts a visitor object. More...
|
|
virtual void | accept (const ShapeVisitor &visitor) |
| Accepts a visitor object. More...
|
|
virtual void | accept (ConstShapeVisitor &visitor) const |
| Accepts a const-shape visitor object. More...
|
|
virtual void | accept (const ConstShapeVisitor &visitor) const |
| Accepts a const-shape visitor object. More...
|
|
virtual Shape * | accept (CompositeShapeTransform &transform) const |
| Accept a composite shape transform. More...
|
|
virtual Shape * | accept (const CompositeShapeTransform &transform) const |
| Accept a constant composite shape transform. More...
|
|
| Shape (const Shape &other) |
|
Abstract structure for a 2D shape.
ShapeWithStyle structure.