Home
last modified time | relevance | path

Searched refs:cosTh (Results 1 – 2 of 2) sorted by relevance

/plugin/amcharts/assets/amcharts/plugins/export/libs/fabric.js/
Dfabric.js890 cosTh = Math.cos(th),
896 var px = -cosTh * toX * 0.5 - sinTh * toY * 0.5,
897 py = -cosTh * toY * 0.5 + sinTh * toX * 0.5,
914 cx1 = cosTh * cx - sinTh * cy + toX * 0.5,
915 cy1 = sinTh * cx + cosTh * cy + toY * 0.5,
933 result[i] = segmentToBezier(mTheta, th3, cosTh, sinTh, rx, ry, cx1, cy1, mT, fromX, fromY);
943 function segmentToBezier(th2, th3, cosTh, sinTh, rx, ry, cx1, cy1, mT, fromX, fromY) { argument
953 toX = cosTh * rx * costh3 - sinTh * ry * sinth3 + cx1,
954 toY = sinTh * rx * costh3 + cosTh * ry * sinth3 + cy1,
955 cp1X = fromX + mT * ( - cosTh * rx * sinth2 - sinTh * ry * costh2),
[all …]
Dfabric.min.js1cosTh=Math.cos(th),fromX=0,fromY=0;rx=Math.abs(rx);ry=Math.abs(ry);var px=-cosTh*toX*.5-sinTh*toY*… argument
8cosTh=Math.cos(theta),coords=this.getCenterPoint(),wh=new fabric.Point(currentWidth,currentHeight)…