Lines Matching refs:cachedMap
79 var cachedMap;
83 if (!cachedMap || _cpx1 !== cpx1 || _cpy1 !== cpy1 ||
85 if (cachedMap) {
87 cachedMap.delete()
89 cachedMap = new PathKit._SkCubicMap([cpx1, cpy1], [cpx2, cpy2]);
92 return cachedMap.computeYFromX(X);
96 if (!cachedMap || _cpx1 !== cpx1 || _cpy1 !== cpy1 ||
98 if (cachedMap) {
100 cachedMap.delete()
102 cachedMap = new PathKit._SkCubicMap([cpx1, cpy1], [cpx2, cpy2]);
105 return cachedMap.computePtFromT(T);