Skip to main content

Module image

Module image 

Source

Functions§

draw_block_image
Draw asset stretched to fill bbox. The image’s intrinsic aspect ratio is not preserved — the box is resized freely by its corners. The painter resolves and caches the image; an asset the document does not hold (None, which the zero icon’s null hash also reads as) or one that fails to parse draws nothing.