FillEllipse

From SwinGame

FillEllipse draws a filled ellipse within a given rectangle on the destination bitmap. The routine will draw a filled 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 FillEllipse(dest: Bitmap; theColour: Colour; source: Rectangle);
procedure FillEllipse(theColour: Colour; source: Rectangle);

In version 1.0:

procedure FillEllipse(dest: Bitmap; theColour: Colour; Pos, yPos, width, height: Integer);
procedure FillEllipse(theColour: Colour; xPos, yPos: Single; width, height: Integer);

C#

Added in version 1.1:

public void Graphics.FillEllipse(Color theColor, Rectangle source);
public void Graphics.FillEllipse(Bitmap dest, Color theColour, Rectangle source);

In version 1.0:

public void Graphics.FillEllipse(Color theColor, float xPos, float yPos, int width, int height);
public void Graphics.FillEllipse(Bitmap dest, Color theColour, int xPos, int yPos, int width, int height);

Visual Basic .NET

Added in version 1.1:

Public Sub Graphics.FillEllipse(ByVal dest As Bitmap, ByVal theColour As Color, ByVal source As Rectangle)
Public Sub Graphics.FillEllipse(ByVal theColor As Color, ByVal source As Rectangle)

In version 1.0:

Public Sub Graphics.FillEllipse(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.FillEllipse(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.FillEllipse_OnBitmap_Rectangle(ByVal dest As Bitmap, ByVal theColour As Long, ByVal source As Rectangle)
Public Sub Graphics.FillEllipse_Rectangle(ByVal theColour As Long, ByVal source As Rectangle)

In version 1.0:

Public Sub Graphics.FillEllipse(ByVal theColour As Long, ByVal xPos As Single, ByVal yPos As Single, ByVal width As Long, ByVal height As Long)
Public Sub Graphics.FillEllipse_OnBitmap(ByVal dest As Bitmap, ByVal theColour As Long, ByVal xPos As Long, ByVal yPos As Long, ByVal width As Long, ByVal height As Long)

Example

Also See