Searched refs:sinTheta (Results 1 – 3 of 3) 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()
708 double sinTheta = Math.sin(thetaD); in drawArc() local711 double x0p = (x0 * cosTheta + y0 * sinTheta) / a; in drawArc()712 double y0p = (-x0 * sinTheta + y0 * cosTheta) / b; in drawArc()713 double x1p = (x1 * cosTheta + y1 * sinTheta) / a; in drawArc()714 double y1p = (-x1 * sinTheta + y1 * cosTheta) / b; in drawArc()768 cx = cx * cosTheta - cy * sinTheta; in drawArc()769 cy = tcx * sinTheta + cy * cosTheta; in drawArc()807 double sinTheta = Math.sin(theta); in arcToBezier() local810 double ep1x = (-a * cosTheta * sinEta1) - (b * sinTheta * cosEta1); in arcToBezier()811 double ep1y = (-a * sinTheta * sinEta1) + (b * cosTheta * cosEta1); in arcToBezier()[all …]