accept
Destination and clipping coordinates are fractional cells relative to the requested viewport; source coordinates are image pixels. Clip bounds are inclusive top/exclusive bottom. The immutable image may be retained. Placements may extend outside the viewport; intersect their destination with the viewport and vertical clip bounds without rescaling the source crop. The positive source rectangle lies within the image. Destination width and height describe the scaled crop before clipping, not the underlying raster. Negative z is below text; z below -1073741824 is also below nondefault backgrounds.
Parameters
immutable pixel version, which may be retained beyond the callback.
left destination edge in fractional viewport cells.
top destination edge in fractional viewport cells, possibly negative.
positive scaled destination width in cells, before clipping.
positive scaled destination height in cells, before clipping.
nonnegative left crop edge in source pixels.
nonnegative top crop edge in source pixels.
positive crop width within image.
positive crop height within image.
inclusive vertical clip edge in fractional viewport cells.
exclusive vertical clip edge in fractional viewport cells.
signed stacking layer relative to cell backgrounds and text.