gralha-svg-render
Releases (2)
Definitions (947)
svg.bend
- def dash.points.tail
- def points.append
- def outline.seamThe dashes of a closed subpath crossing the seam merge into one polyline: the last run's points followed by the first run's, minus the shared point.
- def outline.dashed.runs
- def outline.plainAn undashed subpath is outlined whole; only a dash pattern measures it.
- def outline.dashed
- def dash.any
- def outline.dot.if
- def outline.subpathA subpath of one point: caps only, as a dot in the x direction, when the dash pattern paints at its start.
- def outline.subpaths
- def subpaths.length
- def stroke.compile.pick
- def stroke.compile.paths
- def stroke.compileThe stroke outline edges of a shape's edges, in the same units.
- def bounds.empty
- def bounds.merge
- type EdgeTreeA shape's edges with their bounds.
- def edge.tree.bounds
- def edge.tree
- def edge.tree.empty
- def bounds.ray
- def edges.winding
- def edge.tree.winding
- def edge.tree.inside
- type FillA fill keeps its bounds for the scene box and, once built for a raster, the cover that gives each pixel its exact coverage.
- def fill.new
- def fill.bounds
- def fill.coverage
- def bounds.disk
- type StrokeMeshThe stroke outline as an edge tree in local units, with its inverse matrix (device to local) and, after the cover pass, its coverage.
- def stroke.mesh
- def stroke.mesh.inside
- def stroke.coverage
- type MarkerStyle
- def marker.style
- def paint.order.normalizeNormalize the small CSS paint-order vocabulary; omitted operations follow in default fill/stroke/markers order.
- def paint.order.name
- def paint.order.value
- def paint.order.pickThe order from an element's own attribute, else the inherited one as it is.
- type StyleCompilation resolves geometry and inherited presentation once per edit.
- def style.default
- def style.inherit.picked
- def style.inherit
- type PropThe properties a resource may inherit, in the order every resolved list carries them; a resolved parent list starts with the same keys in the same order, so a parent's value is read positionally and only the element's own attributes are searched by name.
- def props.spec
- def props.head.pick
- def props.head.valueThe parent's value for key: the head when the parent list is resolved, else by name.
- def props.advance.pick
- def props.advance
- def props.fold
- def resourcesReferenced elements (gradients, patterns, markers, clip paths, masks, filters) get their inherited properties on demand: the raw tree is kept under a root element whose attributes are the root svg's, and a lookup by id resolves the properties down the ancestor chain of the element it finds.
- def resources.treeThe subtree of a found element gets its properties resolved too, since its content (stops, primitives, pattern or marker content) inherits from it.
- def resource.resolveThe properties of an element below a chain of raw ancestor attribute lists, outermost last.
- def resource.found
- def resource.searchA lookup runs rarely, so it branches through lambdas over copies.
- def resource.find
- type StopGradient resources are compiled into paint functions before rasterization.
- type Clip
- type Paint
- type FilterEffect
- type Scene
- type Brush
- def gradient.has.stops
- def gradient.merge
- def gradient.reference
- def gradient.resolve
- def srgb.linear
- def linear.srgb
- def stop.color
- def property.value
- def gradient.stops
- def gradient.mix
- def gradient.interval
- def gradient.color
- def gradient.spread
- def gradient.finish
- type Parameter
- def radial.roots
- def radial.parameter
- def linear.parameter
- def gradient.at
- def pattern.atWrap coverage and paint coordinates by the same tile, including negative tiles.
- def brush.solid
- def color.space
- def raster.pixel
- def color.mix
- def raster.horizontal
- def raster.sample
- def color.from.linear
- def raster.color
- def raster.image
- def bitmap.bytes
- def bitmap.empty
- def bitmap.uri
- def bitmap.decode
- def bitmap.nearestInverse F32 transforms can place an exact texel boundary a few ulps above its integer value.
- def bitmap.sample
- def tile.wrapPattern tiles (see cover.brush): wrap into the tile and read its raster bilinearly, wrapping at the seams so neighbouring tiles join without a border.
- def tile.index
- def tile.corner