adding helper

This commit is contained in:
Will Charczuk 2017-03-26 16:29:24 -07:00
parent fec5be6506
commit 4f15ced303

View File

@ -200,7 +200,8 @@ func (vr *vectorRenderer) Save(w io.Writer) error {
func newCanvas(w io.Writer) *canvas { func newCanvas(w io.Writer) *canvas {
return &canvas{ return &canvas{
w: w, w: w,
dpi: DefaultDPI,
} }
} }