DiagramToolPreview typedef

DiagramToolPreview = DiagramGesturePreview Function(DiagramEditorState start, DiagramToolPointer pointer)

Computes what one sample of a custom gesture previews, from the gesture's baseline state start and the current pointer.

Implementation

typedef DiagramToolPreview = DiagramGesturePreview Function(
  DiagramEditorState start,
  DiagramToolPointer pointer,
);