fg_fontdc()

Win32 DirectX Fastgraph/Light

Prototype

void fg_fontdc (HDC hdc);

Sub fg_fontdc (ByVal hdc As Long)

procedure fg_fontdc (hdc : HDC);

Description

The fg_fontdc() function defines the text device context. By default, fg_print() directs strings to the window's client area, but fg_fontdc() can redirect strings to the active virtual buffer.

Parameters

hdc is a Windows handle to the device context for text output. To direct strings to the client area, set hdc to the same device context passed to fg_setdc(). To direct strings to the active virtual buffer, set hdc to the device context returned by fg_getdc().

Return value

none

Restrictions

none

See also

fg_ddgetdc(), fg_getdc(), fg_print(), fg_setdc()

Examples

Columns, Strings2

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.