BBox is MathJax's common-output bounding box. Dimensions are in ems.
L and R are space outside W, RScale is relative to the parent, IC is the
italic correction, Skew is the accent skew, and DX is the combining-accent
offset.Dfloat64DXfloat64Hfloat64ICfloat64Lfloat64PWidthstringRfloat64RScalefloat64Scalefloat64Skewfloat64Wfloat64 Append places child after the current width and expands height and depth. Clean replaces unset dimensions with zero. Clone returns an independent copy. Combine expands b to include child at offset (x,y). Empty prepares b for Append and Combine operations. Rescale multiplies the three geometric dimensions. It intentionally does
not modify spaces or scale metadata, matching MathJax 3.2.2. UpdateFrom overwrites b's geometric dimensions and copies a non-empty
percentage width.
func EmptyBBox() *BBox
func NewBBox(w, h, d float64) *BBox
func ZeroBBox() *BBox
func (*BBox).Clone() *BBox
func (*BBox).Empty() *BBox
func (*BBox).Append(child *BBox)
func (*BBox).Combine(child *BBox, x, y float64)
func (*BBox).UpdateFrom(other *BBox)
EmptyBBox returns a box whose height and depth have not been set.
EmRounded rounds a dimension to CSS pixel boundaries before formatting.
Length2Em converts a MathML dimension into ems with MathJax 3.2.2's
permissive prefix parsing.
NewBBox returns the initialized zero-width box used by MathJax. An omitted
height or depth is represented by -BigDimen.
Percent formats a multiplier as a CSS percentage.
PX formats an em dimension as pixels with an optional minimum.
ZeroBBox returns a fully specified zero box.
Package-Level Variables (total 2)
MathSpace contains MathJax's named math-space and size values.
TeXParameters is SVG TeXFont.defaultParams in MathJax 3.2.2.
Package-Level Constants (total 2)
BigDimen is MathJax's sentinel for an unset or effectively infinite
dimension.
FullWidth is the percentage-width marker used by MathJax tables.
The pages are generated with Goldsv0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.