Documentation ¶
Index ¶
- type Context
- type Renderer
- func (r *Renderer) Close() error
- func (r *Renderer) LoadFontData(data []byte) error
- func (r *Renderer) LoadFontDir(dir string) error
- func (r *Renderer) LoadFontFile(file string) error
- func (r *Renderer) LoadSystemFonts() (err error)
- func (r *Renderer) Render(svg []byte) ([]byte, error)
- func (r *Renderer) RenderWithSize(svg []byte, width, height uint32) ([]byte, error)
- func (r *Renderer) SetDefaultSize(width, height float32) error
- func (r *Renderer) SetDpi(dpi float32) error
- func (r *Renderer) SetFontFamily(family string) error
- func (r *Renderer) SetFontSize(size float32) error
- func (r *Renderer) SetKeepNamedGroups(iskeep bool) error
- func (r *Renderer) SetLanguages(languages string) error
- func (r *Renderer) SetResourcesDir(dir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
func (*Context) NewRenderer ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func (*Renderer) LoadFontData ¶
func (*Renderer) LoadFontDir ¶
func (*Renderer) LoadFontFile ¶
func (*Renderer) LoadSystemFonts ¶
func (*Renderer) RenderWithSize ¶
func (*Renderer) SetDefaultSize ¶
func (*Renderer) SetFontFamily ¶
func (*Renderer) SetFontSize ¶
func (*Renderer) SetKeepNamedGroups ¶
func (*Renderer) SetLanguages ¶
func (*Renderer) SetResourcesDir ¶
Click to show internal directories.
Click to hide internal directories.