DrawFramerate

From SwinGame

DrawFramerate draws the frame rate using the specified font at the indicated x, y. It also draws the FPS (min, max) current average.

Where is it: SGSDK_FONT

Contents

Languages

Pascal

procedure DrawFramerate(x, y: Integer; font: Font);

C#

public void Text.DrawFramerate(int x, int y, Font theFont);

Visual Basic .NET

Public Sub Text.DrawFramerate(ByVal x As Integer, ByVal y As Integer, ByVal theFont As Font)

Visual Basic 6

Added in version 1.1:

Public Sub Text.DrawFramerate_Point(ByVal position As Point2D, ByVal theFont As Fonts)

In version 1.0:

Public Sub Text.DrawFramerate(ByVal x As Long, ByVal y As Long, ByVal theFont As Fonts)

Example

Also See