-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
priority: mediumNormal priorityNormal prioritystatus: confirmedVerified, ready for workVerified, ready for worktype: featureNew capabilityNew capability
Milestone
Description
Problem / Use Case
No support for Quadratic Bezier curves. My application uses these.
Proposed Solution
opts := &creator.BezierOptions{
Color: creator.Blue,
Width: 2.0,
}
segments := []creator.BezierSegment{
{
Start: creator.Point{X: 100, Y: 100},
C1: creator.Point{X: 150, Y: 200},
End: creator.Point{X: 250, Y: 100},
},
}
err := page.DrawQuadBezierCurve(segments, opts)Alternatives Considered
Attempting to derive Quad Bezier with the existing Cubic Bezier failed, Cubic curves cannot be represented exactly by a single quadratic curve.
Additional Context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: mediumNormal priorityNormal prioritystatus: confirmedVerified, ready for workVerified, ready for worktype: featureNew capabilityNew capability