Searched refs:sinTheta (Results 1 – 5 of 5) sorted by relevance
122 float sinTheta; in updateParameters() local127 sinTheta = 0f; in updateParameters()131 sinTheta = ((mAngle + 90) % 360 == 0) ? -1f:1f; in updateParameters()140 Point x0 = new Point(0.5f * (-cosTheta + sinTheta + 1f), in updateParameters()141 0.5f * (-sinTheta - cosTheta + 1f)); in updateParameters()142 Point x1 = new Point(0.5f * (cosTheta + sinTheta + 1f), in updateParameters()143 0.5f * (sinTheta - cosTheta + 1f)); in updateParameters()144 Point x2 = new Point(0.5f * (-cosTheta - sinTheta + 1f), in updateParameters()145 0.5f * (-sinTheta + cosTheta + 1f)); in updateParameters()146 Point x3 = new Point(0.5f * (cosTheta - sinTheta + 1f), in updateParameters()[all …]
117 float sinTheta = (float) Math.sin(mAngle * DEGREE_TO_RADIAN); in updateParameters() local123 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight, in updateParameters()124 -sinTheta * mWidth - cosTheta * mHeight); in updateParameters()126 Point p1 = new Point(cosTheta * mWidth + sinTheta * mHeight, in updateParameters()127 sinTheta * mWidth - cosTheta * mHeight); in updateParameters()129 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight, in updateParameters()130 -sinTheta * mWidth + cosTheta * mHeight); in updateParameters()132 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight, in updateParameters()133 sinTheta * mWidth + cosTheta * mHeight); in updateParameters()
131 double sinTheta = sin(theta); in arcToBezier() local134 double ep1x = (-a * cosTheta * sinEta1) - (b * sinTheta * cosEta1); in arcToBezier()135 double ep1y = (-a * sinTheta * sinEta1) + (b * cosTheta * cosEta1); in arcToBezier()142 double e2x = cx + (a * cosTheta * cosEta2) - (b * sinTheta * sinEta2); in arcToBezier()143 double e2y = cy + (a * sinTheta * cosEta2) + (b * cosTheta * sinEta2); in arcToBezier()144 double ep2x = -a * cosTheta * sinEta2 - b * sinTheta * cosEta2; in arcToBezier()145 double ep2y = -a * sinTheta * sinEta2 + b * cosTheta * cosEta2; in arcToBezier()185 double sinTheta = sin(thetaD); in drawArc() local188 double x0p = (x0 * cosTheta + y0 * sinTheta) / a; in drawArc()189 double y0p = (-x0 * sinTheta + y0 * cosTheta) / b; in drawArc()[all …]
604 double sinTheta = Math.sin(thetaD); in drawArc() local607 double x0p = (x0 * cosTheta + y0 * sinTheta) / a; in drawArc()608 double y0p = (-x0 * sinTheta + y0 * cosTheta) / b; in drawArc()609 double x1p = (x1 * cosTheta + y1 * sinTheta) / a; in drawArc()610 double y1p = (-x1 * sinTheta + y1 * cosTheta) / b; in drawArc()660 cx = cx * cosTheta - cy * sinTheta; in drawArc()661 cy = tcx * sinTheta + cy * cosTheta; in drawArc()698 double sinTheta = Math.sin(theta); in arcToBezier() local701 double ep1x = (-a * cosTheta * sinEta1) - (b * sinTheta * cosEta1); in arcToBezier()702 double ep1y = (-a * sinTheta * sinEta1) + (b * cosTheta * cosEta1); in arcToBezier()[all …]
705 double sinTheta = Math.sin(thetaD); in drawArc() local708 double x0p = (x0 * cosTheta + y0 * sinTheta) / a; in drawArc()709 double y0p = (-x0 * sinTheta + y0 * cosTheta) / b; in drawArc()710 double x1p = (x1 * cosTheta + y1 * sinTheta) / a; in drawArc()711 double y1p = (-x1 * sinTheta + y1 * cosTheta) / b; in drawArc()765 cx = cx * cosTheta - cy * sinTheta; in drawArc()766 cy = tcx * sinTheta + cy * cosTheta; in drawArc()804 double sinTheta = Math.sin(theta); in arcToBezier() local807 double ep1x = (-a * cosTheta * sinEta1) - (b * sinTheta * cosEta1); in arcToBezier()808 double ep1y = (-a * sinTheta * sinEta1) + (b * cosTheta * cosEta1); in arcToBezier()[all …]