Exemple #1
0
        public override void DrawEllipse(System.Drawing.Rectangle target, System.Drawing.Color color,
                                         float thickness)
        {
            SDL.Ellipse ellipse = new SDL.Ellipse(target.Location, target.Size);

            mSurface.DrawEllipse(ellipse, color);
        }
Exemple #2
0
        public override void FillEllipse(System.Drawing.Rectangle rect, System.Drawing.Color color)
        {
            SDL.Ellipse ellipse = new SDL.Ellipse(rect.Location, rect.Size);

            mSurface.DrawFilledEllipse(ellipse, color);
        }