PDA

View Full Version : Gradient fonts



Huehnerschaender
01-11-2004, 11:08 PM
Hello Lifepower and everybody else,

I wonder how you draw Fonts in the Font-Tool with gradient colors.
I would like to use this in my game, but before I spent much time in finding out how to do it, I'd rather ask you how to do such an effect.

Can you give me an advice??

Greetings,

Dirk

LP
02-11-2004, 02:28 AM
In the latest release, simply use the new overloaded TextOut method.

Cheers,
Lifepower

Huehnerschaender
02-11-2004, 03:56 PM
Oh, thank you !

I think I forgot to put on my glasses :shock:

Cheers :wink:

LP
02-11-2004, 04:05 PM
LoL, this method exists since version of 1.03. In FontRender utility as well as in VTDbTool a TBitmapFont class was used (from AsphyreBmpEx.pas) which can render fonts with gradients on TBitmapEx.