Lines Matching refs:PathKit
3 (function(PathKit){ argument
29 PathKit.loadCmdsTypedArray = function(arr) {
49 item = PathKit.SkBits2FloatUnsigned(parseInt(item));
56 var ptr = PathKit._malloc(ta.length * ta.BYTES_PER_ELEMENT);
57 PathKit.HEAPF32.set(ta, ptr / ta.BYTES_PER_ELEMENT);
64 PathKit.FromCmds = function(cmds) {
65 var ptrLen = PathKit.loadCmdsTypedArray(cmds);
66 var path = PathKit._FromCmds(ptrLen[0], ptrLen[1]);
68 PathKit._free(ptrLen[0]);
82 PathKit.cubicYFromX = function(cpx1, cpy1, cpx2, cpy2, X) {
89 cachedMap = new PathKit._SkCubicMap([cpx1, cpy1], [cpx2, cpy2]);
95 PathKit.cubicPtFromT = function(cpx1, cpy1, cpx2, cpy2, T) {
102 cachedMap = new PathKit._SkCubicMap([cpx1, cpy1], [cpx2, cpy2]);