Searched refs:cosTheta (Results 1 – 4 of 4) sorted by relevance
123 float cosTheta; in updateParameters() local128 cosTheta = (mAngle % 360 == 0) ? 1f:-1f; in updateParameters()130 cosTheta = 0f; 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 …]
116 float cosTheta = (float) Math.cos(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()
558 double cosTheta = Math.cos(thetaD); in drawArc() local562 double x0p = (x0 * cosTheta + y0 * sinTheta) / a; in drawArc()563 double y0p = (-x0 * sinTheta + y0 * cosTheta) / b; in drawArc()564 double x1p = (x1 * cosTheta + y1 * sinTheta) / a; in drawArc()565 double y1p = (-x1 * sinTheta + y1 * cosTheta) / b; in drawArc()615 cx = cx * cosTheta - cy * sinTheta; in drawArc()616 cy = tcx * sinTheta + cy * cosTheta; in drawArc()652 double cosTheta = Math.cos(theta); in arcToBezier() local656 double ep1x = (-a * cosTheta * sinEta1) - (b * sinTheta * cosEta1); in arcToBezier()657 double ep1y = (-a * sinTheta * sinEta1) + (b * cosTheta * cosEta1); in arcToBezier()[all …]
586 double cosTheta = Math.cos(thetaD); in drawArc() local590 double x0p = (x0 * cosTheta + y0 * sinTheta) / a; in drawArc()591 double y0p = (-x0 * sinTheta + y0 * cosTheta) / b; in drawArc()592 double x1p = (x1 * cosTheta + y1 * sinTheta) / a; in drawArc()593 double y1p = (-x1 * sinTheta + y1 * cosTheta) / b; in drawArc()643 cx = cx * cosTheta - cy * sinTheta; in drawArc()644 cy = tcx * sinTheta + cy * cosTheta; in drawArc()680 double cosTheta = Math.cos(theta); in arcToBezier() local684 double ep1x = (-a * cosTheta * sinEta1) - (b * sinTheta * cosEta1); in arcToBezier()685 double ep1y = (-a * sinTheta * sinEta1) + (b * cosTheta * cosEta1); in arcToBezier()[all …]