This is the truetype-clx Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 06:57:24 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
truetype-clxRipped out rendering from clx-truetype
MIT
0.1
zpb-ttf (system).
cl-vectors (system).
cl-paths-ttf (system).
cl-aa (system).
truetype-clx.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
truetype-clx/truetype-clx.lisptruetype-clx (system).
baseline-to-baseline (function).
font-ascent (function).
font-descent (function).
font-line-gap (function).
text-bounding-box (function).
text-height (function).
text-line-bounding-box (function).
text-line-height (function).
text-line-pixarray (function).
text-line-width (function).
text-pixarray (function).
text-width (function).
*inch/pts* (special variable).
aa-bin/update-state (function).
cells-sweep (function).
clamp (function).
clamp-alpha (function).
make-state (function).
pt->pixels (function).
update-state (function).
xmax (function).
xmin (function).
ymax (function).
ymin (function).
Packages are listed by definition order.
truetype-clxcommon-lisp.
baseline-to-baseline (function).
font-ascent (function).
font-descent (function).
font-line-gap (function).
text-bounding-box (function).
text-height (function).
text-line-bounding-box (function).
text-line-height (function).
text-line-pixarray (function).
text-line-width (function).
text-pixarray (function).
text-width (function).
*inch/pts* (special variable).
aa-bin/update-state (function).
cells-sweep (function).
clamp (function).
clamp-alpha (function).
make-state (function).
pt->pixels (function).
update-state (function).
xmax (function).
xmin (function).
ymax (function).
ymin (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Returns distance between baselines of @var{font}. ascent - descent + line gap
Returns ascent of @var{font}.
Returns descent of @var{font}.
Returns line gap of @var{font}.
Returns text bounding box. Text bounding box is only for contours. Bounding box for space (#x20) is zero.
Returns height of text bounding box.
Returns text line bounding box. Text line bounding box is bigger than text bounding box. It’s height is ascent + descent, width is sum of advance widths minus sum of kernings.
Returns height of text line bounding box.
Render a text line of ’face’, returning a 2D (unsigned-byte 8) array suitable as an alpha mask, and dimensions. This function returns five values: alpha mask byte array, x-origin, y-origin (subtracted from position before rendering), horizontal and vertical advances.
Returns width of text line bounding box. It is sum of advance widths minus sum of kernings.
Render a text string of FONT, returning a 2D (unsigned-byte 8) array suitable as an alpha mask, and dimensions. This function returns five values: alpha mask byte array, x-origin, y-origin (subtracted from position before rendering), horizontal and vertical advances. Only works for single characters.
Returns width of text bounding box.
How many pts per inch. CSS/android is 96
Update state for not antialiasing renderer.
Wrapper around antialising and not antialiasig renderers.
Clamps the value ’value’ into the range [min,max].
Wrapper around antialising and not antialiasing renderers.
px = funits*coeff. Function returns coeff.
Wrapper around antialising and not antialiasing renderers.
Returns right side x of @var{bounding-box}
Returns left side x of @var{bounding-box}
Returns top side y of @var{bounding-box}
Returns bottom side y of @var{bounding-box}
| Jump to: | A B C F M P T U X Y |
|---|
| Jump to: | A B C F M P T U X Y |
|---|
| Jump to: | *
S |
|---|
| Index Entry | Section | ||
|---|---|---|---|
| | |||
| * | |||
*inch/pts*: | Private special variables | ||
| | |||
| S | |||
Special Variable, *inch/pts*: | Private special variables | ||
| | |||
| Jump to: | *
S |
|---|
| Jump to: | F P S T |
|---|
| Jump to: | F P S T |
|---|