fg_setangle()

Win32 DirectX Fastgraph/Light

Prototype

void fg_setangle (double angle);

Sub fg_setangle (ByVal angle As Double)

procedure fg_setangle (angle : real);

Description

The fg_setangle() function defines the angle of rotation at which software characters are displayed. If a program draws software characters before calling fg_setangle(), Fastgraph will use its default angle of zero degrees (that is, horizontal).

Parameters

angle is the angle of rotation, expressed in degrees and measured counterclockwise from the positive x axis.

Return value

none

Restrictions

Before using this function, you must use fg_initw() and fg_setworld() to establish a 2D world space coordinate system.

See also

fg_initw(), fg_setratio(), fg_setsize(), fg_setsizew(), fg_setworld(), fg_swchar(), fg_swlength(), fg_swtext()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.