paintStrokesOnly method

void paintStrokesOnly(
  1. Canvas canvas,
  2. Size size
)

Paint just the buffered strokes — no source image. Used by the compose-pipeline composer (ComposeEntry._composeLayers) when an upstream stage has already painted the image; we want to stack strokes on top without redrawing the source. Strokes are in source-space coordinates so they line up with whatever the upstream painted at the same dims.

Implementation

void paintStrokesOnly(Canvas canvas, Size size) {
  _settleAnimations();
  _paintStrokesIntoCanvas(canvas, size);
}