Skip to main content

Module tile

Module tile 

Source
Expand description

Primitives for creating tiles.

Structsยง

CulledWindings
A logical grouping of arrays used for culled tile processing,
Tile
A tile represents an aligned area on the pixmap, used to subdivide the viewport into sub-areas (currently 4x4) and analyze line intersections inside each such area.
Tiles
Handles the tiling of paths.

Constantsยง

B ๐Ÿ”’
B-ottom bit
BOT_SHIFT ๐Ÿ”’
Shift amount corresponding to the bottom bit.
INTERSECTION_MASK ๐Ÿ”’
Mask for all intersection and winding bits (Bits 0-4).
INT_MASK_SHIFT ๐Ÿ”’
Shift amount corresponding to the intersection bits.
L ๐Ÿ”’
L-eft bit
LEFT_SHIFT ๐Ÿ”’
Shift amount corresponding to the left bit.
MAX_LINES_PER_PATH
The max number of lines per path.
R ๐Ÿ”’
R-ight bit
RIGHT_SHIFT ๐Ÿ”’
Shift amount corresponding to the right bit.
T ๐Ÿ”’
T-op bit
W ๐Ÿ”’
W-inding bit
WINDING_SHIFT ๐Ÿ”’
Shift amount corresponding to the winding bit.