PaintScope
Collects drawing commands for one node in its local coordinate space.
The scope is owned by the PaintNode.paint callback and is valid only until that callback returns. Every access must use the tree's owner thread. Access after the callback or from another thread fails. Commands are retained as the complete local display list in emission order. The runtime does not clip local commands to the node or parent bounds. Checked coordinate arithmetic is the only overflow guard. The tree is poisoned once pipeline work has started only when a callback or scope exception escapes the owning paint callback.
Inheritors
Functions
Adds one opaque platform draw command at a local half-open rectangle.
Adds a local fill command.
Adds an image sampled at the final physical pixel centers without rounding its geometry to logical pixels.
Adds a sampled image with explicit source-axis directions while keeping both rectangles normalized.