| Board
    0.6.devel
    | 
#include <Shapes.h>


| Public Member Functions | |
| Circle (double x, double y, double radius, DGtal::Color pen, DGtal::Color fill, double lineWidth, const LineStyle style=SolidStyle, int depthValue=-1) | |
| const std::string & | name () const | 
| Point | center () const | 
| Circle & | rotate (double angle, const Point ¢er) | 
| Circle | rotated (double angle, const Point ¢er) const | 
| Circle & | rotate (double angle) | 
| Circle | rotated (double angle) const | 
| Circle & | translate (double dx, double dy) | 
| Circle | translated (double dx, double dy) const | 
| Shape & | scale (double sx, double sy) | 
| Shape & | scale (double s) | 
| Circle | scaled (double sx, double sy) const | 
| Circle | scaled (double s) const | 
| void | scaleAll (double s) | 
| void | flushSVG (std::ostream &stream, const TransformSVG &transform) const | 
| void | flushTikZ (std::ostream &stream, const TransformTikZ &transform) const | 
| Circle * | clone () const | 
|  Public Member Functions inherited from LibBoard::Ellipse | |
| Ellipse (double x, double y, double xRadius, double yRadius, DGtal::Color pen, DGtal::Color fill, double lineWidth, const LineStyle lineStyle=SolidStyle, int depthValue=-1) | |
| void | flushPostscript (std::ostream &stream, const TransformEPS &transform) const | 
| void | flushFIG (std::ostream &stream, const TransformFIG &transform, std::map< DGtal::Color, int > &colormap) const | 
| Rect | boundingBox () const | 
|  Public Member Functions inherited from LibBoard::Shape | |
| Shape (DGtal::Color penColor, DGtal::Color fillColor, double lineWidth, LineStyle style, const LineCap cap, const LineJoin join, int depth) | |
| virtual | ~Shape () | 
| bool | filled () const | 
| Shape & | rotateDeg (double angle, const Point ¢er) | 
| Shape & | rotateDeg (double angle) | 
| Rect | bbox () | 
| Shape & | operator-- () | 
| Shape & | operator++ () | 
| int | depth () const | 
| virtual void | depth (int) | 
| virtual void | shiftDepth (int shift) | 
| const DGtal::Color & | penColor () const | 
| const DGtal::Color & | fillColor () const | 
| Static Private Attributes | |
| static const std::string | _name | 
| Additional Inherited Members | |
|  Protected Attributes inherited from LibBoard::Ellipse | |
| Point | _center | 
| double | _xRadius | 
| double | _yRadius | 
| double | _angle | 
| bool | _circle | 
|  Protected Attributes inherited from LibBoard::Shape | |
| int | _depth | 
| DGtal::Color | _penColor | 
| DGtal::Color | _fillColor | 
| double | _lineWidth | 
| LineStyle | _lineStyle | 
| LineCap | _lineCap | 
| LineJoin | _lineJoin | 
A circle.
The circle structure.
| 
 | inline | 
References LibBoard::Ellipse::_circle.
Referenced by clone(), rotated(), scaled(), and translated().
| 
 | virtual | 
Returns the gravity center of the shape.
Reimplemented from LibBoard::Ellipse.
References LibBoard::Ellipse::_center.
| 
 | virtual | 
| 
 | 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. | 
Reimplemented from LibBoard::Ellipse.
Reimplemented in LibBoard::Arc.
References LibBoard::Ellipse::_center, LibBoard::Ellipse::_circle, LibBoard::Ellipse::_xRadius, LibBoard::Transform::mapX(), LibBoard::TransformSVG::mapY(), LibBoard::Transform::scale(), LibBoard::Shape::svgProperties(), LibBoard::Point::x, and LibBoard::Point::y.
| 
 | virtual | 
Writes the TikZ code of the shape in a stream according to a transform.
| stream | The output stream. | 
| transform | A 2D transform to be applied. | 
Reimplemented from LibBoard::Ellipse.
Reimplemented in LibBoard::Arc.
References LibBoard::Ellipse::_center, LibBoard::Ellipse::_circle, LibBoard::Ellipse::_xRadius, LibBoard::Transform::mapX(), LibBoard::TransformSVG::mapY(), LibBoard::Transform::scale(), LibBoard::Shape::tikzProperties(), LibBoard::Point::x, and LibBoard::Point::y.
| 
 | virtual | 
Returns the generic name of the shape (e.g., Circle, Rectangle, etc.)
Reimplemented from LibBoard::Ellipse.
Reimplemented in LibBoard::Arc.
References _name.
Rotate the shape around a given center of rotation.
| angle | The rotation angle in radian. | 
| center | The center of rotation. | 
Reimplemented from LibBoard::Ellipse.
References LibBoard::Ellipse::_center, LibBoard::Ellipse::_circle, and LibBoard::Point::rotate().
Referenced by rotate().
| 
 | virtual | 
Rotate the shape around its center.
| angle | The rotation angle in radian. | 
Reimplemented from LibBoard::Ellipse.
References LibBoard::Ellipse::_circle, and rotate().
| Circle LibBoard::Circle::rotated | ( | double | angle | ) | const | 
| 
 | virtual | 
Scale the shape along the x an y axis.
| sx | The scale factor along the x axis. | 
| sy | The scale factor along the y axis. | 
Reimplemented from LibBoard::Ellipse.
Referenced by scale().
| 
 | virtual | 
Scale the shape along both axis.
| s | The scale factor along both axis. | 
Reimplemented from LibBoard::Ellipse.
References scale().
| 
 | virtual | 
Scales all the values (positions, dimensions, etc.) associated with the shape.
| s | The scaling factor. | 
Reimplemented from LibBoard::Ellipse.
References LibBoard::Ellipse::_center, LibBoard::Ellipse::_xRadius, and LibBoard::Ellipse::_yRadius.
| Circle LibBoard::Circle::scaled | ( | double | sx, | 
| double | sy | ||
| ) | const | 
| Circle LibBoard::Circle::scaled | ( | double | s | ) | const | 
Reimplemented from LibBoard::Ellipse.
References Circle().
| 
 | virtual | 
Translate the shape by a given offset.
| dx | The x offset. | 
| dy | The y offset. | 
Reimplemented from LibBoard::Ellipse.
References LibBoard::Ellipse::_center.
| Circle LibBoard::Circle::translated | ( | double | dx, | 
| double | dy | ||
| ) | const | 
| 
 | staticprivate | 
The generic name of the shape.
Reimplemented from LibBoard::Ellipse.
Reimplemented in LibBoard::Arc.
Referenced by name().