Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControlPointsToSvgI ¶
func SvgControlPointsI ¶
Types ¶
type Bezier ¶
func GetControlPointsI ¶
type BezierF ¶
type BezierF struct {
P0, P1, P2, P3 PointF
}
func GetControlPointsF ¶
Algorithm ported from https://www.particleincell.com/wp-content/uploads/2012/06/bezier-spline.js
Click to show internal directories.
Click to hide internal directories.