TouchVG framework
mgcurv
arc3P
arcBulge
arcTan
arcToBezier
bezier4P
bezierIntersectionWithLine
bezierIsStraight
bezierPointDistantFromPoint
bezierPointLengthFromStart
bezierTanget
bsplinesToBeziers
crossLineCircle
crossTwoCircles
cubicSplines
cubicSplineToBezier
ellipse90ToBezier
ellipseToBezier
fitBezier
FitCubicCallback
fitCubicSpline
fitCurve
fitCurve2
fitCurve3
fitCurve4
gaussJordan
lengthOfBezier
PtCallback
quadBezierToCubic
roundRectToBeziers
SplineFlags
splitBezier
triEquations
◆
fitBezier()
void mgcurv::fitBezier
(
const
Point2d
*
pts
,
float
t
,
Point2d
&
fitpt
)
static
计算三次贝塞尔曲线段的参数点
参数
[in]
pts
4个点的数组,为贝塞尔曲线段的控制点
[in]
t
要计算的参数点的参数,范围为[0, 1]
[out]
fitpt
计算出的参数点
参见
bezier4P
,
cubicSplines
这是这个函数的调用关系图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证