|
| | GouraudTriangle (const Point &p0, const Color &color0, const Point &p1, const Color &color1, const Point &p2, const Color &color2, int subdivisions) |
| |
| | GouraudTriangle (const Point &p0, float brightness0, const Point &p1, float brightness1, const Point &p2, float brightness2, const Color &fillColor, int subdivisions) |
| |
| const std::string & | name () const override |
| |
| GouraudTriangle & | rotate (double angle, const Point ¢er) override |
| |
| GouraudTriangle | rotated (double angle, const Point ¢er) const |
| |
| GouraudTriangle & | rotate (double angle) override |
| |
| GouraudTriangle | rotated (double angle) const |
| |
| GouraudTriangle | translated (double dx, double dy) const |
| |
| GouraudTriangle | scaled (double sx, double sy) const |
| |
| GouraudTriangle | scaled (double s) const |
| |
| void | scaleAll (double s) override |
| |
| GouraudTriangle | resized (double w, double h, LineWidthFlag lineWidthFlag) const |
| |
| 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 |
| |
| GouraudTriangle * | clone () const override |
| |
| | Polyline (const std::vector< Point > &points, Path::OpenClosed openClosed, 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()) |
| |
| | Polyline (const std::vector< Point > &points, Path::OpenClosed openClosed, const Style &style) |
| |
| | Polyline (const Path &path, 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()) |
| |
| | Polyline (const Path &path, const Style &style) |
| |
| | Polyline (Path::OpenClosed openClosed, 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()) |
| |
| | Polyline (Path::OpenClosed openClosed, const Style &style) |
| |
| const std::string & | name () const override |
| |
| Polyline & | operator<< (const Point &p) |
| |
| Point & | operator[] (const std::size_t n) |
| |
| const Point & | operator[] (const std::size_t n) const |
| |
| Polyline & | rotate (double angle, const Point ¢er) override |
| |
| Polyline | rotated (double angle, const Point ¢er) const |
| |
| Polyline & | rotate (double angle) override |
| |
| Polyline | rotated (double angle) const |
| |
| Polyline & | translate (double dx, double dy) override |
| |
| Polyline | translated (double dx, double dy) const |
| |
| Polyline & | scale (double sx, double sy) override |
| |
| Polyline & | scale (double s) override |
| |
| Polyline | scaled (double sx, double sy) const |
| |
| Polyline | scaled (double s) const |
| |
| void | scaleAll (double s) override |
| |
| Polyline | resized (double w, double h, LineWidthFlag lineWidthFlag) const |
| |
| void | addHole (const Path &path) |
| | Add a hole to the path. Warning: Hole share the polyline line style.
|
| |
| 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.
|
| |
| virtual void | accept (const ShapeVisitor &visitor) override |
| | Accepts a visitor object.
|
| |
| virtual void | accept (ConstShapeVisitor &visitor) const override |
| | Accepts a const-shape visitor object.
|
| |
| virtual void | accept (const ConstShapeVisitor &visitor) const override |
| | Accepts a const-shape visitor object.
|
| |
| virtual Shape * | accept (CompositeShapeTransform &transform) const override |
| | Accept a composite shape transform.
|
| |
| virtual Shape * | accept (const CompositeShapeTransform &transform) const override |
| | Accept a constant composite shape transform.
|
| |
| Rect | boundingBox (LineWidthFlag) const override |
| |
| Polyline * | clone () const override |
| |
| std::size_t | vertexCount () const |
| |
| const Path & | path () const |
| |
| void | setRectangleFlag () |
| |
| | Polyline (const Polyline &)=default |
| |
| | Polyline (Polyline &&)=default |
| |
| Polyline & | operator= (Polyline &&)=default |
| |
| Polyline & | operator= (const Polyline &)=default |
| |
| | ~Polyline () override=default |
| |
| | 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 const std::string & | name () const |
| |
| virtual Shape * | clone () const =0 |
| |
| 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.
|
| |
| virtual void | accept (const ShapeVisitor &visitor) |
| | Accepts a visitor object.
|
| |
| virtual void | accept (ConstShapeVisitor &visitor) const |
| | Accepts a const-shape visitor object.
|
| |
| virtual void | accept (const ConstShapeVisitor &visitor) const |
| | Accepts a const-shape visitor object.
|
| |
| virtual Shape * | accept (CompositeShapeTransform &transform) const |
| | Accept a composite shape transform.
|
| |
| virtual Shape * | accept (const CompositeShapeTransform &transform) const |
| | Accept a constant composite shape transform.
|
| |
| | Shape (const Shape &other) |
| |
A triangle with shaded filling according to colors given for each vertex.
The GouraudTriangle structure.