insightdock::charts::RasterTarget

DrawTarget that paints into an ImageBuffer (the original raster path).

Synopsis

Declared in <insightdock/draw_target.h>
class RasterTarget final
    : public DrawTarget

Base Classes

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

Types

Name
Point

Member Functions

Name Description
RasterTarget [constructor]Construct from ImageBuffer
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]
width [virtual]

Non-Member Functions

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

Created with MrDocs