Package-level declarations

Types

Link copied to clipboard
data class BoundaryCommand(val boundaryIndex: Int, val transform: Matrix44, val fill: ColorRGBa?, val stroke: ColorRGBa?, val strokeWeight: Double, val strokeMode: Int = 0)

A command to draw a boundary from a BoundaryMap

Link copied to clipboard

Prepared boundary commands, drawn with BoundaryDrawer.draw

Link copied to clipboard

Draws boundaries from a BoundaryMap. Each kind of drawer draws from its own kind of map, created with createMap, drawing from another kind of map fails.

Link copied to clipboard
open class BoundaryGlyphMap(val map: BoundaryMap, val glyphs: MutableMap<Int, Int> = mutableMapOf())

Caches the boundaries of glyphs in a BoundaryMap, each glyph of a face is added to map once.

Link copied to clipboard
interface BoundaryMap

GPU storage for the boundaries of shapes, drawn by a BoundaryDrawer

Functions

Link copied to clipboard
inline fun <T : BoundaryMap> boundaryMap(width: Int, height: Int): T

Creates a BoundaryMap of type T, a SlugMap or a WindfoilMap, with curve and band textures of width x height texels

Link copied to clipboard

Creates a map for the boundaries this drawer draws, with curve and band textures of width x height texels