Skip to content

Commit

Permalink
vg/svg: remove unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Jan 23, 2019
1 parent 18bcd5c commit 9785348
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vg/vgsvg/vgsvg.go
Expand Up @@ -37,7 +37,6 @@ type Canvas struct {
w, h vg.Length

buf *bytes.Buffer
ht float64
stack []context
}

Expand Down Expand Up @@ -83,7 +82,6 @@ func NewWith(opts ...option) *Canvas {
for _, opt := range opts {
opt(c)
}
c.ht = c.w.Points()

// This is like svg.Start, except it uses floats
// and specifies the units.
Expand Down

0 comments on commit 9785348

Please sign in to comment.