adding helper
This commit is contained in:
parent
fec5be6506
commit
4f15ced303
1 changed files with 2 additions and 1 deletions
|
@ -201,6 +201,7 @@ func (vr *vectorRenderer) Save(w io.Writer) error {
|
|||
func newCanvas(w io.Writer) *canvas {
|
||||
return &canvas{
|
||||
w: w,
|
||||
dpi: DefaultDPI,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue