some improvments

This commit is contained in:
Adrian Zürcher
2026-01-01 11:00:23 +01:00
parent 8f313c00f0
commit ef0778c8b3
20 changed files with 305 additions and 385 deletions

View File

@@ -89,9 +89,9 @@ func NewCubicBezierPath() CubicBezierPath {
return bpath
}
func (this CubicBezierPath) AppendCurve(curve CubicBezierCurve) CubicBezierPath {
this.Curves = append(this.Curves, curve)
return this
func (c CubicBezierPath) AppendCurve(curve CubicBezierCurve) CubicBezierPath {
c.Curves = append(c.Curves, curve)
return c
}
func (bpath CubicBezierPath) Copy() CubicBezierPath {