Skip to main content

Module image

Module image 

Expand description

image() makes it possible to render a Skia image into the canvas.

Structs§

Image
ImageData
How an image() is scaled and sampled, grouping SamplingMode, AspectRatio and ImageCover.
ImageElement
ImageHolder
A decoded image shared by reference, ready to be rendered by an image().

Enums§

AspectRatio
How an image is scaled to fit its bounds while preserving its aspect ratio.
ImageCover
How an image is positioned within its bounds once it has been scaled.
SamplingMode
The filtering algorithm used when an image is scaled.

Functions§

image
image makes it possible to render a Skia image into the canvas. You most likely want to use a higher level than this, like the component ImageViewer.