drawsvg iconDRAWSVG user's guide
PreviousNextContentsPDFdrawsvg home

5.3. Drawing tasks

Each drawing task is characterized by:

Two successive points can be entered in two ways (excepted free path):

Drawing tasks with many points have a floating menu with the two actions remove last point and next to finish the drawing element.

Table 5.2. floating drawing task menu

IconAction
Image undo.gif
remove last point
Image next.gif
finish drawing element

5.3.1. Drawing a text

Image task-dbasic-text.svg Click the text drawing icon in the Elements menu and the Text section to start the task.

Drawing taskElementPointsDescription

Drawing a text

Image digit-text.png

Text

1

Click the text position and type its content.

Image draw-text-task.png

See draw simple text , multiline text showcases for an interactive demonstration of how to draw and edit a text.

5.3.2. Drawing a path

Image task-dbasic-path.svg Click the path drawing icon in the Elements menu and the Text section to start the task.

Drawing taskElementPointsDescription

Drawing a path

Image digit-path.png

Path

many

Drawing a path with basic commands

Image digit-path-menu.png

The floating drawing task menu is showing the path commands. Select command and enter points then click next to finish the path.

See draw path with curves , path with hole showcases for an online demonstration of how to draw path.

5.3.3. Drawing a free path

Image task-dbasic-freepath.svg Click the path drawing icon in the Elements menu and the Text section to start the task.

Drawing taskElementPointsDescription

Drawing a free path

Image digit-free-path.png

Path

many

The shape can be drawn in two ways:

  • Click the starting point keeping the mouse button pressed, move the mouse and release the button on the last point.

  • Click the starting point by releasing the mouse button, move the mouse and click on the last point.

The path can then be simplified by filtering the points using the filter points editor

See draw free path showcase for an interactive demonstration.

5.3.4. Drawing an image

Image task-dbasic-image.svg Click the image drawing icon in the Elements menu and the Image section to start the task.

Drawing taskElementPointsDescription

Drawing an image

Image digit-image.png

Image

2

Draw the image position by its top left and bottom right corners.

The svg image element can represent a picture by referencing its HTTP-URL or locally by storing it's base64 encoded data.

The default element draws the image of the Mona Lisa by HTTP reference.

To change the default content :

See draw image showcase for an online demonstration of how to draw an image.

5.3.5. Drawing a map

Image task-dbasic-map.svg Click the image drawing icon in the Elements menu and the Image section to start the task.

Drawing taskElementPointsDescription

Drawing an image

Image digit-map.png

Image

2

Draw the map position by its top left and bottom right corners.

The element is an image with a Google Map image link.

The default map location is centered on Paris. To change it use the map editor .

The map element offers also the editors of an image element.

See draw map showcase for an interactive demonstration of how to insert and edit a Google Map in your SVG drawing.

5.3.6. Drawing an included svg

Image task-dbasic-svg.svg Click the image drawing icon in the Elements menu and the Image section to start the task.

Drawing taskElementPointsDescription

Drawing an included svg

Image digit-svg.png

SVG

2

Draw the svg position by its top left and bottom right corners.

The default content can be replaced by another document loaded from a file or an url .

See include svg showcase for an online demonstration of how to insert a svg document.

5.3.7. Drawing a line

Image task-dbasic-line.svg Click the line drawing icon in the Elements menu and the Line section to start the task.

Drawing taskElementPointsDescription

Drawing an included svg

Image digit-line.png

Line

2

Draw the line by its start and end points.

See draw line showcase for an interactive demonstration of how to draw a line.

5.3.8. Drawing a vertical line

Image task-dbasic-pathV.svg Click the vertical line drawing icon in the Elements menu and the Line section to start the task.

Drawing taskElementPointsDescription

Drawing a vertical line

Image task-dbasic-pathV.svg

Path

2

Draw the line by its start and end points.

See showcase draw horizontal and vertical lines .

5.3.9. Drawing a horizontal line

Image task-dbasic-pathV.svg Click the horizontal line drawing icon in the Elements menu and the Line section to start the task.

Drawing taskElementPointsDescription

Drawing a horizontal line

Image task-dbasic-pathV.svg

Path

2

Draw the line by its start and end points.

See showcase draw horizontal and vertical lines .

5.3.10. Drawing a polyline

Image task-dbasic-polyline.svg Click the polyline drawing icon in the Elements menu and the Polyline section to start the task.

Drawing taskElementPointsDescription

Drawing a polyline

Image digit-polyline.png

Polyline

many

Enter each point of the polyline then click next in the floating menu to finish the polyline.

See showcase drawing polylines .

5.3.11. Drawing a triangle

Image task-dbasic-triangle.svg Click the triangle drawing icon in the Elements menu and the Polyline section to start the task.

Drawing taskElementPointsDescription

Drawing a triangle

Image task-dbasic-triangle.svg

Path

3

Draw the triangle by its three points.

See showcase drawing a triangle .

5.3.12. Drawing a polygon

Image task-dbasic-polygon.svg Click the polygon drawing icon in the Elements menu and the Polyline section to start the task.

Drawing taskElementPointsDescription

Drawing a polygon

Image digit-polygon.png

Polygon

many

Enter each point of the polygon then click next in the floating menu to finish the polygon.

See showcase Quick start drawing surfaces .

5.3.13. Drawing a rectangle

Image task-dbasic-rect.svg Click the rect drawing icon in the Elements menu and the Rect section to start the task.

Drawing taskElementPointsDescription

Drawing a rectangle

Image digit-rect.png

Rect

2

Draw the rectangle by its top left and bottom right corners.

See draw rectangle showcase.

5.3.14. Drawing a circle

Image task-dbasic-circle.svg Click the circle drawing icon in the Elements menu and the Rect section to start the task.

Drawing taskElementPointsDescription

Drawing a circle

Image digit-circle.png

Circle

2

Draw the circle by its center and radius points.

See quick start drawing surfaces showcase.

5.3.15. Drawing an ellipse

Image task-dbasic-ellipse.svg Click the ellipse drawing icon in the Elements menu and the Rect section to start the task.

Drawing taskElementPointsDescription

Drawing an ellipse

Image digit-ellipse.png

Ellipse

2

Draw the ellipse by its center and size points.

See quick start drawing surfaces showcase.

5.3.16. Drawing a circle arc

Image task-dbasic-circlearc.svg Click the circle arc drawing icon in the Elements menu and the Arc section to start the task.

Drawing taskElementPointsDescription

Drawing a circle arc

Image digit-circle-arc.png

Path

3

Draw the circle arc by its first point, end point and middle point. The middle point defines the radius.

See quick start drawing arcs showcase.

5.3.17. Drawing a cubic arc

Image task-dbasic-cubicarc.svg Click the cubic arc drawing icon in the Elements menu and the Arc section to start the task.

Drawing taskElementPointsDescription

Drawing a cubic arc

Image digit-cubic-arc.png

Path

4

Draw the cubic arc by its first point, end point and the two tangents points.

See quick start drawing arcs showcase.

5.3.18. Drawing a quadratic arc

Image task-dbasic-quadarc.svg Click the quadratic arc drawing icon in the Elements menu and the Arc section to start the task.

Drawing taskElementPointsDescription

Drawing a quadratic arc

Image digit-quadratic-arc.png

Path

3

Draw the quadratic arc by its first point, end point and the tangent point.

See quick start drawing arcs showcase.

5.3.19. Drawing a cubic curve

Image task-dbasic-cubiccurve.svg Click the cubic curve drawing icon in the Elements menu and the Cubic section to start the task.

Drawing taskElementPointsDescription

Drawing a cubic curve

Image digit-cubic-curve.png

Path

many

Enter each vertex of the curve and then click Next in the floating menu. The tasks create tangents default then be adjusted with the edit function.

See drawing cubic curves showcase.

5.3.20. Drawing a cubic area

Image task-dbasic-cubicclosedcurve.svg Click the cubic closed curve drawing icon in the Elements menu and the Cubic section to start the task.

Drawing taskElementPointsDescription

Drawing a cubic area

Image digit-cubic-area.png

Path

many

Enter each vertex of the curve and then click Next in the floating menu. The tasks create tangents default then be adjusted with the edit function.

See drawing cubic curves showcase.

5.3.21. Drawing a quadratic curve

Image task-dbasic-quadcurve.svg Click the quadratic curve drawing icon in the Elements menu and the Quadratic section to start the task.

Drawing taskElementPointsDescription

Drawing a quadratic curve

Image digit-quadratic-curve.png

Path

many

Enter each vertex of the curve and then click Next in the floating menu. The tasks create tangents default then be adjusted with the edit function.

See drawing quadratic curves showcase.

5.3.22. Drawing a quadratic area

Image task-dbasic-quadclosedcurve.svg Click the quadratic closed curve drawing icon in the Elements menu and the Quadratic section to start the task.

Drawing taskElementPointsDescription

Drawing a quadratic area

Image digit-quadratic-area.png

Path

many

Enter each vertex of the curve and then click Next in the floating menu. The tasks create tangents default then be adjusted with the edit function.

See drawing cubic curves showcase.

5.3.23. Drawing a cubic smooth curve

Image task-dbasic-cubicsmoothcurve.svg Click the cubic smooth curve drawing icon in the Elements menu and the Cubic smooth section to start the task.

Drawing taskElementPointsDescription

Drawing a cubic smooth curve

Image digit-cubic-smooth-curve.png

Path

many

Enter each vertex of the curve and then click Next in the floating menu. The tasks create tangents default then be adjusted with the edit function.

See drawing cubic curves showcase.

5.3.24. Drawing a cubic smooth area

Image task-dbasic-cubicsmoothclosedcurve.svg Click the cubic smooth closed curve drawing icon in the Elements menu and the Cubic smooth section to start the task.

Drawing taskElementPointsDescription

Drawing a cubic smooth area

Image digit-cubic-smooth-area.png

Path

many

Enter each vertex of the curve and then click Next in the floating menu. The tasks create tangents default then be adjusted with the edit function.

See drawing cubic curves showcase.

5.3.25. Drawing a quadratic smooth curve

Image task-dbasic-quadsmoothcurve.svg Click the quadratic smooth curve drawing icon in the Elements menu and the Quadratic smooth section to start the task.

Drawing taskElementPointsDescription

Drawing a quadratic smooth curve

Image digit-quadratic-smooth-curve.png

Path

many

Enter each vertex of the curve and then click Next in the floating menu. The tasks create tangents default then be adjusted with the edit function.

See drawing quadratic curves showcase.

5.3.26. Drawing a quadratic smooth area

Image task-dbasic-quadsmoothclosedcurve.svg Click the quadratic smooth closed curve drawing icon in the Elements menu and the Quadratic smooth section to start the task.

Drawing taskElementPointsDescription

Drawing a quadratic smooth area

Image digit-quadratic-smooth-area.png

Path

many

Enter each vertex of the curve and then click Next in the floating menu. The tasks create tangents default then be adjusted with the edit function.

See drawing quadratic curves showcase.