D | EclipseControl.java | 179 float rx = oval.getRadiusX(); in actionMove() local 181 float r = (Math.abs(rx) + Math.abs(ry)) * sin45; in actionMove() 185 oval.setRadius((rx * nr / r), (ry * nr / r)); in actionMove() 225 void paintRadius(Canvas canvas, float cx, float cy, float rx, float ry) { in paintRadius() argument 231 RectF rect = new RectF(cx - rx, cy - ry, cx + rx, cy + ry); in paintRadius() 236 paintOvallines(canvas, rect, paint, cx, cy, rx, ry); in paintRadius() 240 paintOvallines(canvas, rect, paint, cx, cy, rx, ry); in paintRadius() 244 Canvas canvas, RectF rect, Paint paint, float cx, float cy, float rx, float ry) { in paintOvallines() argument 252 float dx = rx + 10; in paintOvallines() 259 dx = rx - 10; in paintOvallines() [all …]
|