package
0.0.9
Repository: https://github.com/benoitkugler/webrender.git
Documentation: pkg.go.dev

# Constants

StrokeJoinMode constants determine how stroke segments bridge the gap at a join.
default value.
No description provided by the author
mutually exclusive with FillEvenOdd.
StrokeJoinMode constants determine how stroke segments bridge the gap at a join.
StrokeJoinMode constants determine how stroke segments bridge the gap at a join.
No description provided by the author
No description provided by the author
Clear does not show anything on the output, but reset the current path.

# Structs

No description provided by the author
No description provided by the author
BookmarkNode exposes the outline hierarchy of the document.
FontChars stores some metadata that may be required in the output document.
No description provided by the author
GlyphExtents exposes glyph metrics, normalized by the font size.
No description provided by the author
No description provided by the author
RasterImage is an image to be included in the ouput.
StrokeOptions specifies advanced stroking options.
TextDrawing exposes the positionned text glyphs to draw and the associated font, in a backend independent manner.
TextGlyph stores a glyph and it's position.
TextRun is a serie of glyphs with constant font.

# Interfaces

Canvas represents a 2D surface which is the target of graphic operations.
Document is the main target to whole the laid out document, consisting in pages, metadata and embedded files.
Font are implemented by valid map keys.
GraphicState exposes the settings for a group of graphic operations.
Image groups all possible image format, like raster image, svg, or gradients.
Page is the target of one laid out page, composed of a Canvas and link supports.

# Type aliases

No description provided by the author
No description provided by the author
PaintOp specifies the graphic operation applied to the current path.
StrokeCapMode defines how to draw caps on the ends of lines when stroking.
StrokeJoinMode type to specify how segments join when stroking.