fogleman / gg

Go Graphics - 2D rendering in Go with a simple API.
https://godoc.org/github.com/fogleman/gg
MIT License
4.37k stars 354 forks source link

QuadraticTo function doesn't call the QuadraticBezier function for adding a quadratic bezier curve #113

Open nileshpatra opened 3 years ago

nileshpatra commented 3 years ago

Hi,

The QuadraticTo function doesn't seem to call its QuadraticBezier counterpart anywhere.

How is the corresponding operation being performed then? I'm not sure - could you please clarify? If this is a mistake in the code, I've made a patch for this - should I make a PR for the same?

PS: This patch also seems to fix the failing builds on arm64

nileshpatra commented 3 years ago

@fogleman would you mind clarifying this?