beginStroke method
Starts a stroke at imagePoint, sizing it for a camera at cameraScale.
Implementation
void beginStroke(Offset imagePoint, {double cameraScale = 1.0}) {
currentPoints.clear();
_activeCameraScale = cameraScale;
_previousPosition = imagePoint;
_previousTimestampMs = clock.now().millisecondsSinceEpoch;
_previousVelocity = 0;
_previousWidth = _brushThicknessImageSpace;
// First addPoint after beginStroke must always pass the throttle —
// the throttle is meant to thin high-frequency OS pointer events,
// not the begin→first-add boundary.
_lastInputMs = 0;
currentPoints.add(StrokePoint(position: imagePoint, width: _previousWidth));
notifyListeners();
}