Skip to main content

Module manager

Module manager 

Source
Expand description

Drawing state, selection, editing and undo history.

Use DrawingManager through the chart’s drawing accessors, or directly when composing your own renderer. Direct users synchronize screen coordinates with DrawingManager::update_all_screen_coords after changing the viewport.

Structs§

DrawingManager
Central coordinator for chart drawings.
DrawingManagerOptions
Configuration options for the DrawingManager.
DrawingState
Snapshot of drawing-related state from the central application state.

Enums§

DrawingSyncAction
A change to the stored drawings, queued in DrawingManager::pending_sync.