##// END OF EJS Templates
Initial commit, project structure.
Initial commit, project structure.

File last commit:

r0:ab570232df7d default
r0:ab570232df7d default
Show More
bezierutils.d.ts
30 lines | 931 B | video/mp2t | TypeScriptLexer
cin
Initial commit, project structure.
r0 declare namespace dojox {
namespace gfx {
interface BezierUtils {
computeLength(points: number[]): number;
distance(x1: number, y1: number, x2: number, y2: number): number;
splitBezierAtT(points: dojox.gfx.CubicBezierCurve, t: number): [
dojox.gfx.CubicBezierCurve,
dojox.gfx.CubicBezierCurve
];
splitBezierAtT(points: dojox.gfx.QuadraticBezierCurve, t: number): [
dojox.gfx.QuadraticBezierCurve,
dojox.gfx.QuadraticBezierCurve
];
splitCBezierAtT(points: dojox.gfx.CubicBezierCurve, t: number): [
dojox.gfx.CubicBezierCurve,
dojox.gfx.CubicBezierCurve
];
splitQBezierAtT(points: dojox.gfx.QuadraticBezierCurve, t: number): [
dojox.gfx.QuadraticBezierCurve,
dojox.gfx.QuadraticBezierCurve
];
tAtLength(points: number[], length: number): number;
}
}
}
declare module 'dojox/gfx/bezierutils' {
const bezierutils: dojox.gfx.BezierUtils;
export = bezierutils;
}