|
| | Arrow (double x1, double y1, double x2, double y2, ExtremityType type=Plain, Color penColor=Style::defaultPenColor(), Color fillColor=Style::defaultFillColor(), double lineWidth=Style::defaultLineWidth(), const LineStyle lineStyle=Style::defaultLineStyle(), const LineCap cap=Style::defaultLineCap(), const LineJoin join=Style::defaultLineJoin()) |
| |
| | Arrow (double x1, double y1, double x2, double y2, ExtremityType type, const Style &style) |
| |
| | Arrow (Point p1, Point p2, ExtremityType type=Plain, Color penColor=Style::defaultPenColor(), Color fillColor=Style::defaultFillColor(), double lineWidth=Style::defaultLineWidth(), const LineStyle lineStyle=Style::defaultLineStyle(), const LineCap cap=Style::defaultLineCap(), const LineJoin join=Style::defaultLineJoin()) |
| |
| | Arrow (Point p1, Point p2, ExtremityType type, const Style &style) |
| |
| const std::string & | name () const override |
| |
| Arrow | rotated (double angle, const Point ¢er) const |
| |
| Arrow | rotated (double angle) const |
| |
| Arrow | translated (double dx, double dy) const |
| |
| Arrow | scaled (double sx, double sy) const |
| |
| Arrow | scaled (double s) const |
| |
| Arrow | resized (double w, double h, LineWidthFlag lineWidthFlag) const |
| |
| Rect | boundingBox (LineWidthFlag) const override |
| |
| void | flushPostscript (std::ostream &stream, const TransformEPS &transform) const override |
| |
| void | flushFIG (std::ostream &stream, const TransformFIG &transform, std::map< Color, int > &colormap) const override |
| |
| void | flushSVG (std::ostream &stream, const TransformSVG &transform) const override |
| |
| void | flushTikZ (std::ostream &stream, const TransformTikZ &transform) const override |
| |
| virtual void | accept (ShapeVisitor &visitor) override |
| | Accepts a visitor object. More...
|
| |
| virtual void | accept (const ShapeVisitor &visitor) override |
| | Accepts a visitor object. More...
|
| |
| virtual void | accept (ConstShapeVisitor &visitor) const override |
| | Accepts a const-shape visitor object. More...
|
| |
| virtual void | accept (const ConstShapeVisitor &visitor) const override |
| | Accepts a const-shape visitor object. More...
|
| |
| virtual Shape * | accept (CompositeShapeTransform &transform) const override |
| | Accept a composite shape transform. More...
|
| |
| virtual Shape * | accept (const CompositeShapeTransform &transform) const override |
| | Accept a constant composite shape transform. More...
|
| |
| Arrow * | clone () const override |
| |
|
Path | extremity () const |
| |
|
| Arrow (const Arrow &)=default |
| |
|
| Arrow (Arrow &&)=default |
| |
|
Arrow & | operator= (Arrow &&)=default |
| |
|
Arrow & | operator= (const Arrow &)=default |
| |
|
ExtremityType | type () const |
| |
| | Line (double x1, double y1, double x2, double y2, Color color, double lineWidth=Style::defaultLineWidth(), const LineStyle lineStyle=Style::defaultLineStyle(), const LineCap cap=Style::defaultLineCap(), const LineJoin join=Style::defaultLineJoin()) |
| |
| | Line (double x1, double y1, double x2, double y2, const Style &style) |
| |
| | Line (Point a, Point b, Color color, double lineWidth=Style::defaultLineWidth(), const LineStyle lineStyle=Style::defaultLineStyle(), const LineCap cap=Style::defaultLineCap(), const LineJoin join=Style::defaultLineJoin()) |
| |
| | Line (Point a, Point b, const Style &style) |
| |
| const std::string & | name () const override |
| |
| Line & | rotate (double angle, const Point ¢er) override |
| |
| Line | rotated (double angle, const Point ¢er) const |
| |
| Line & | rotate (double angle) override |
| |
| Line | rotated (double angle) const |
| |
| Line & | translate (double dx, double dy) override |
| |
| Line | translated (double dx, double dy) const |
| |
| Line & | scale (double sx, double sy) override |
| |
| Line & | scale (double s) override |
| |
| Line | scaled (double sx, double sy) const |
| |
| Line | scaled (double s) const |
| |
| void | scaleAll (double s) override |
| |
| Line | resized (double w, double h, LineWidthFlag lineWidthFlag) const |
| |
| Rect | boundingBox (LineWidthFlag) const override |
| |
| Line * | clone () const override |
| |
| void | flushPostscript (std::ostream &stream, const TransformEPS &transform) const override |
| |
| void | flushFIG (std::ostream &stream, const TransformFIG &transform, std::map< Color, int > &colormap) const override |
| |
| void | flushSVG (std::ostream &stream, const TransformSVG &transform) const override |
| |
| void | flushTikZ (std::ostream &stream, const TransformTikZ &transform) const override |
| |
| const Point & | a () const |
| |
| const Point & | b () const |
| |
|
| Line (const Line &other) |
| |
|
| Line (Line &&)=default |
| |
|
Line & | operator= (const Line &line) |
| |
| | 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 |
| |
|
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 |
| |
| Shape & | rotateDeg (double angle, const Point ¢er) |
| |
| Shape & | rotateDeg (double angle) |
| |
| Shape & | moveCenter (double x, double y, LineWidthFlag lineWidthFlag=IgnoreLineWidth) |
| |
| Shape & | moveCenter (Point p, LineWidthFlag lineWidthFlag=IgnoreLineWidth) |
| |
| Shape & | resize (double width, double height, LineWidthFlag lineWidthFlag) |
| |
| Shape & | scaleToWidth (double w, LineWidthFlag lineWidthFlag) |
| |
| Shape & | scaleToHeight (double h, LineWidthFlag lineWidthFlag) |
| |
| Rect | bbox (LineWidthFlag) const |
| |
|
| Shape (const Shape &other) |
| |
A line between two points with an arrow at one extremity.
The arrow structure.
- Examples
- examples/graph.cpp.