Module webrender::image_tiling
source ยท Structsยง
Functionsยง
- compute_tile_size_1d ๐
- first_tile_size_1d ๐
- last_tile_size_1d ๐
- If repetitions are far enough apart that only one is within the primitive rect, then we can simplify the parameters and treat the primitive as not repeated. This can let us avoid unnecessary work later to handle some of the parameters.
- tile_range_1d ๐Compute the range of tiles (in number of tiles) that intersect the provided image range (in pixels) in an arbitrary dimension.
- tiles_1d ๐Decompose tiles along an arbitrary axis.