cancelStroke method
void
cancelStroke()
Discard the in-flight stroke's buffered points WITHOUT committing them as a Stroke. Used when the gesture system needs to switch modes mid-stroke (e.g. a second finger lands and we pivot from drawing to pan/zoom).
Implementation
void cancelStroke() {
if (currentPoints.isEmpty) return;
currentPoints.clear();
_activeCameraScale = 1.0;
_resetVelocityTracking();
notifyListeners();
}