Versions in this module Expand all Collapse all v0 v0.1.0 Sep 18, 2016 Changes in this version + type GraphicContext struct + func NewGraphicContext() *GraphicContext + func (gc *GraphicContext) Clear() + func (gc *GraphicContext) ClearRect(x1, y1, x2, y2 int) + func (gc *GraphicContext) CreateStringPath(s string, x, y float64) float64 + func (gc *GraphicContext) DrawImage(img image.Image) + func (gc *GraphicContext) Fill(paths ...*draw2d.PathStorage) + func (gc *GraphicContext) FillString(text string) (cursor float64) + func (gc *GraphicContext) FillStringAt(text string, x, y float64) (cursor float64) + func (gc *GraphicContext) FillStroke(paths ...*draw2d.PathStorage) + func (gc *GraphicContext) GetDPI() int + func (gc *GraphicContext) GetStringBounds(s string) (left, top, right, bottom float64) + func (gc *GraphicContext) SetDPI(dpi int) + func (gc *GraphicContext) Stroke(paths ...*draw2d.PathStorage) + func (gc *GraphicContext) StrokeString(text string) (cursor float64) + func (gc *GraphicContext) StrokeStringAt(text string, x, y float64) (cursor float64)