DrawEllipse
From SwinGame
DrawEllipse draws a ellipse within a given rectangle on the destination bitmap. A boolean value can be passed in to draw a filled ellipse. The routine will draw a ellipse on the screen if you do not specify the destination bitmap to draw on. The colour of an ellipse can be set by passing a colour value.
Where is it: SGSDK_GRAPHICS
Contents |
Languages
Pascal
Added in version 1.1:
procedure DrawEllipse(dest: Bitmap; theColour: Colour; filled: Boolean; source: Rectangle);
procedure DrawEllipse(dest: Bitmap; theColour: Colour; source: Rectangle);
procedure DrawEllipse(theColour: Colour; filled: Boolean; source: Rectangle);
procedure DrawEllipse(theColour: Colour; source: Rectangle);
In version 1.0:
procedure DrawEllipse(dest: Bitmap; theColour: Colour; filled: Boolean; xPos, yPos, width, height: Integer);
procedure DrawEllipse(dest: Bitmap; theColour: Colour; xPos, yPos, width, height: Integer);
procedure DrawEllipse(theColour: Colour; filled: Boolean; xPos, yPos: Single; width, height: Integer);
procedure DrawEllipse(theColour: Colour; xPos, yPos: Single; width, height: Integer);
C#
Added in version 1.1:
public void Graphics.DrawEllipse(Color theColor, Rectangle source);
public void Graphics.DrawEllipse(Color theColor, bool filled, Rectangle source);
public void Graphics.DrawEllipse(Bitmap dest, Color theColour, Rectangle source);
public void Graphics.DrawEllipse(Bitmap dest, Color theColour, bool filled, Rectangle source);
In version 1.0:
public void Graphics.DrawEllipse(Color theColor, float xPos, float yPos, int width, int height);
public void Graphics.DrawEllipse(Color theColor, bool filled, float xPos, float yPos, int width, int height);
public void Graphics.DrawEllipse(Bitmap dest, Color theColour, int xPos, int yPos, int width, int height);
public void Graphics.DrawEllipse(Bitmap dest, Color theColour, bool filled, int xPos, int yPos, int width, int height);
Visual Basic .NET
Added in version 1.1:
Public Sub Graphics.DrawEllipse(ByVal dest As Bitmap, ByVal theColour As Color, ByVal filled As Boolean, ByVal source As Rectangle)
Public Sub Graphics.DrawEllipse(ByVal dest As Bitmap, ByVal theColour As Color, ByVal source As Rectangle)
Public Sub Graphics.DrawEllipse(ByVal theColor As Color, ByVal filled As Boolean, ByVal source As Rectangle)
Public Sub Graphics.DrawEllipse(ByVal theColor As Color, ByVal source As Rectangle)
In version 1.0:
Public Sub Graphics.DrawEllipse(ByVal dest As Bitmap, ByVal theColour As Color, ByVal filled As Boolean, ByVal xPos As Integer, ByVal yPos As Integer, ByVal width As Integer, ByVal height As Integer)
Public Sub Graphics.DrawEllipse(ByVal dest As Bitmap, ByVal theColour As Color, ByVal xPos As Integer, ByVal yPos As Integer, ByVal width As Integer, ByVal height As Integer)
Public Sub Graphics.DrawEllipse(ByVal theColor As Color, ByVal filled As Boolean, ByVal xPos As Single, ByVal yPos As Single, ByVal width As Integer, ByVal height As Integer)
Public Sub Graphics.DrawEllipse(ByVal theColor As Color, ByVal xPos As Single, ByVal yPos As Single, ByVal width As Integer, ByVal height As Integer)
Visual Basic 6
Added in version 1.1:
Public Sub Graphics.DrawEllipse_Fill_Rectangle(ByVal theColor As Long, ByVal filled As Boolean, ByVal source As Rectangle)
Public Sub Graphics.DrawEllipse_OnBitmap_Fill_Rectangle(ByVal dest As Bitmap, ByVal theColour As Long, ByVal filled As Boolean, ByVal source As Rectangle)
Public Sub Graphics.DrawEllipse_OnBitmap_Rectangle(ByVal dest As Bitmap, ByVal theColour As Long, ByVal source As Rectangle)
Public Sub Graphics.DrawEllipse_Rectangle(ByVal theColor As Long, ByVal source As Rectangle)
In version 1.0:
Public Sub Graphics.DrawEllipse(ByVal theColour As Long, ByVal filled As Boolean,ByVal xPos As Single,ByVal yPos As Single, ByVal width As Long, ByVal height As Long)
Public Sub Graphics.DrawEllipse_NoFill(ByVal theColour As Long, ByVal xPos As Single, ByVal yPos As Single, ByVal width As Long, ByVal height As Long)
Public Sub Graphics.DrawEllipse_OnBitmap(ByVal dest As Bitmap, ByVal theColour As Long, ByVal filled As Boolean, ByVal xPos As Long, ByVal yPos As Long, ByVal width As Long, ByVal height As Long)
Public Sub Graphics.DrawEllipse_OnBitmap_NoFill(ByVal dest As Bitmap, ByVal theColour As Long, ByVal ByVal xPos As Long, yPos As Long, ByVal width As Long, ByVal height As Long)

