Directories ¶
Path | Synopsis |
---|---|
Package backend defines a common interface, providing graphics primitives.
|
Package backend defines a common interface, providing graphics primitives. |
css
|
|
parser
Package parser implements the tokenization of a CSS input and the construction of the corresponding Abstract Syntax Tree.
|
Package parser implements the tokenization of a CSS input and the construction of the corresponding Abstract Syntax Tree. |
properties
This package defines the types needed to handle the various CSS properties.
|
This package defines the types needed to handle the various CSS properties. |
selector
Package selector is an implementation of CSS selectors.
|
Package selector is an implementation of CSS selectors. |
html
|
|
boxes
Package boxes defines the basic elements of the formatting structure, as a tree of boxes.
|
Package boxes defines the basic elements of the formatting structure, as a tree of boxes. |
document
This package implements the high level parts of the document generation, but is still backend independant.
|
This package implements the high level parts of the document generation, but is still backend independant. |
layout
Transform a "before layout" box tree into an "after layout" tree, by breaking boxes across lines and pages; and determining the size and dimension of each box fragment.
|
Transform a "before layout" box tree into an "after layout" tree, by breaking boxes across lines and pages; and determining the size and dimension of each box fragment. |
tree
This module takes care of steps 3 and 4 of “CSS 2.1 processing model”: Retrieve stylesheets associated with a document and annotate every Element with a value for every CSS property.
|
This module takes care of steps 3 and 4 of “CSS 2.1 processing model”: Retrieve stylesheets associated with a document and annotate every Element with a value for every CSS property. |
Fetch and decode images in range various formats.
|
Fetch and decode images in range various formats. |
Package logger provides two log.Logger emitting progress status and warning information.
|
Package logger provides two log.Logger emitting progress status and warning information. |
macros
|
|
Package matrix provides 2D affine transformations.
|
Package matrix provides 2D affine transformations. |
Package svg implements parsing of SVG images.
|
Package svg implements parsing of SVG images. |
draw
Package draw use a backend and a layout object to draw glyphs on the ouput.
|
Package draw use a backend and a layout object to draw glyphs on the ouput. |
hyphen
Package hyphen hyphenates text using existing Hunspell hyphenation dictionaries.
|
Package hyphen hyphenates text using existing Hunspell hyphenation dictionaries. |
testutils/tracer
Package tracer provides a function to dump the current layout tree, which may be used in debug mode.
|
Package tracer provides a function to dump the current layout tree, which may be used in debug mode. |
Click to show internal directories.
Click to hide internal directories.