Documentation ¶
Index ¶
- type Context
- func (ctx *Context) EncodePNG(code string, writer io.Writer, options Options) error
- func (ctx *Context) SavePNG(code string, output string, options Options) error
- func (ctx *Context) SetFontFace(path string, points float64) error
- func (ctx *Context) SetLanguage(lang tokenizer.Language)
- func (ctx *Context) SetTheme(theme themer.Theme)
- type Options
- type Range
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
func NewContext() *Context
func (*Context) SetLanguage ¶
Click to show internal directories.
Click to hide internal directories.