API Reference
dxtr edited this page 2026-10-18 16:44:24 +02:00

Page revisions

3 Commits

Author SHA1 Message Date
62a2874564 Say that shapes are held to the limit and boxes fit single-floats
A shape that reaches beyond 10^30 from the drawing's origin, its stroke
included, is left out with an svg-error, so shape-bounds always gives
single-floats; path-bounds signals an svg-error where a transform a
program gives it takes the box beyond them.  Reading SVG, Errors and
Warnings, Paths, Drawings and Shapes and the API Reference say so.
2026-10-18 16:44:24 +02:00
f76508d6c0 Describe RGBA, the type of rasterize's colour
cl-svgread/ft2 exports rgba, four reals from 0 to 1 as a list or a
vector, the type rasterize declares for :current-color.  The
Rasterizing page says what it is and that a program can declare its
own colours with it, and the API Reference lists it.
2026-10-18 16:25:37 +02:00
8eadc2bad4 Write cl-svgread's manual
Getting Started: the systems, requirements, installing with stift and
running the tests.  Reading SVG: what read-svg takes, which parts of
SVG it reads, which it leaves out or approximates, and xmls's limit.
Drawings and Shapes: sizes, shapes, paints and opacity, currentColor,
transforms and the view box.  Paths: the arrays, contours, arcs as
cubics, the contours as lists, bounds and counts.  Rasterizing:
cl-svgread/ft2's rasterize, its image, how strokes are made, accuracy,
threads and FreeType's place.  Errors and Warnings, and the API
Reference.  Every example was run against cl-svgread c9ea090.
2026-10-18 02:22:12 +02:00