Example: Multiple Fonts

Example FGFW3 displays character strings from two different fonts (Austin 36 and Modern 28). After loading both fonts with fgf_load(), it calls fgf_select(), passing it the handle of the Modern font (this makes it the current font). It then displays a string from the Modern font. Next, the program changes fonts by passing the Austin font handle to fgf_select() and then displays a string from the Austin font.

C/C++ version

C++Builder version

Delphi version

Visual Basic version

<< Prev

Next >>

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.