BlitImagePixels
data class BlitImagePixels(val image: DrawImage, val source: IntRect, val destination: IntRect) : DrawCommand(source)
Samples an immutable image independently at every output pixel in a logical destination rectangle.
Unlike logical-pixel image drawing, increasing the backend output scale preserves source detail within one logical pixel. Nearest sampling uses output pixel centers against the original unclipped destination; active clips remain logical rectangles. Source-over blending applies independently to every output pixel, including pixels later covered by ordinary logical commands. This detached command is safe to retain or read on any thread and owns no native handle or rendering callback.
Throws
when the source is empty, outside DrawCommand.BlitImagePixels.image, or the destination is empty.