copy-image-into-atlas ( image-placement atlas -- )


Vocabulary
images.atlas.private

Inputs
image-placementan object
atlasan object


Outputs
None

Definition


:: copy-image-into-atlas ( image-placement atlas -- )
image-placement image>> :> image image dim>> first2
:> ( w h ) image-placement loc>> first2 :> ( x y ) h <iota>
[| row |
0 row w image pixel-row-slice-at x y row +
w atlas set-pixel-row-at
] each ; inline