insightdock::charts::detail::SvgTarget

DrawTarget that records native SVG elements (<rect>, <path>, <text>…).

Synopsis

Declared in <insightdock/detail/svg_target.h>
class SvgTarget final
    : public DrawTarget

Base Classes

Name Description
DrawTargetPixel-space drawing surface shared by all built-in charts.

Types

Name
Point

Member Functions

Name Description
SvgTarget [constructor]
clear [virtual]
draw_dashed_line [virtual]
draw_dashed_polyline [virtual]
draw_line [virtual]
draw_polygon_outline [virtual]
draw_polyline [virtual]
draw_text [virtual]Draw UTF-8 text using font's size, anchored per align / baseline.
draw_text_rotated_ccw [virtual]
draw_text_rotated_cw [virtual]
fill_circle [virtual]
fill_polygon [virtual]
fill_rect [virtual]
fill_rounded_rect [virtual]
fill_sector [virtual]
height [virtual]
str The complete SVG document recorded so far.
width [virtual]

Non-Member Functions

Name Description
draw_markerDraws a single point marker of the given shape, centered at (x, y).
draw_text_linesDraws possibly multi-line text, aligning each line independently.
fill_barFills one bar rectangle, optionally rounded and/or bordered.

Created with MrDocs