Documentation
¶
Overview ¶
Package example provides shared command-line setup for the exporter examples.
Index ¶
Constants ¶
const ( // DefaultFontPath is relative to the repository root. DefaultFontPath = "testdata/upstream/fonts/NewCMMath-Book.otf" // DefaultSource exercises scripts, a fraction, and a radical. DefaultSource = `\frac{-b \pm \sqrt{b^2-4ac}}{2a}` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RenderConfig ¶
RenderConfig contains the flags shared by the SVG and PNG examples.
func BindRenderFlags ¶
func BindRenderFlags(flags *flag.FlagSet) *RenderConfig
BindRenderFlags registers the shared render flags and returns their values.