adding helper
This commit is contained in:
parent
fec5be6506
commit
4f15ced303
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue