TouchVG framework
| 类型定义 | 函数
fitcurves.cpp 文件参考
#include "mgpnt.h"
#include "mgdblpt.h"
fitcurves.cpp 的引用(Include)关系图:

struct  BezierCurve
 The bezier segment with four points. 更多...
 
struct  _PtArr
 The wrapper class of multiple points. 更多...
 

类型定义

typedef Point2d(* PtCallback) (void *data, int i)
 
typedef struct _PtArr PtArr
 The wrapper class of multiple points. 更多...
 
typedef void(* FitCubicCallback) (void *data, const Point2d curve[4])
 

函数

void FitCurve (FitCubicCallback fc, void *data, const Point2d *d, int nPts, float error)
 
void FitCurve2 (FitCubicCallback fc, void *data, PtCallback d, void *data2, int nPts, float error)
 
static double B1 (double u)
 
static double B2 (double u)
 
static double B3 (double u)
 

通用矢量图形框架, 版权所有 (C) 张云贵 2004-2017,BSD 开源许可证