Пример #1
0
    private void PreEllipse(Vector2 p, float rx, float ry, float angle)
    {
        int d = (rx > ry) ? (int)rx : (int)ry;

        ExpandBounds(p, d, d);

        basicDraw.Ellipse(p, (int)rx, (int)ry, angle);
    }
Пример #2
0
 public void Ellipse(Vector2 p, float rx, float ry, float angle)
 {
     if ((isUseWidth) && ((int)_width > 1))
     {
         Ellipse(p, rx, ry, angle, _width);
         return;
     }
     _basicDraw.Ellipse(p, rx, ry, angle);
 }