Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Jan 6, 2025
1 parent 8fc6769 commit e15bce9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion path_simplify.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ SubpathLoop:
if closed {
q.d = append(q.d, CloseCmd, items[first].X, items[first].Y, CloseCmd)
}

}
return q
}
Expand Down
2 changes: 1 addition & 1 deletion resources/docs/colors/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func main() {
ctx.DrawPath(0.5+10.0*float64(i), -9.5-10.0*float64(j), canvas.Rectangle(9.0, 9.0))

p, w, _ := face.ToPath(names[idx])
p = p.Offset(0.05, canvas.EvenOdd, 0.01)
p = p.Offset(0.05, 0.01)
p = p.Translate(-w/2.0, 0.0)
ctx.SetFillColor(canvas.Hex("#ffffff88"))
ctx.DrawPath(5.0+10.0*float64(i), -9.0-10.0*float64(j), p)
Expand Down

0 comments on commit e15bce9

Please sign in to comment.