Module tiled_image_utils
Expand description
SkTiledImageUtils’ self::draw_image()/self::draw_image_rect() methods are intended
to be direct replacements for their Canvas equivalents. The SkTiledImageUtils calls will
break crate::Bitmap-backed Images into smaller tiles and draw them if the original
image is too large to be uploaded to the GPU. If the original image doesn’t need tiling or is
already gpu-backed the self::draw_image()/self::draw_image_rect() calls will fall
through to the matching Canvas call.
Constants§
Functions§
- draw_
image - draw_
image_ rect - get_
image_ key_ values - Retrieves a set of values that can be used as part of a cache key for the provided image.