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.