Thread: ASCII Text
View Single Post
Old 11-20-2006, 11:35 PM   #1 (permalink)
arul
Forum Expert
 
arul's Avatar
 
Join Date: Jan 2005
Location: Hic sunt leones ...
Age: 21
Posts: 1,287
Send a message via MSN to arul
Default ASCII Text

I wrote a small addition for the Ultima Online SDK and I thought I'd share it.
Recompile your UOSDK with the source file attached to this post, then you can use the ASCIIText.DrawText( int fontId, string text, short hueId ) method like this:

Code:
Bitmap bmp = Ultima.ASCIIText.DrawText( 3, "<3 Ultima Online SDK!", 0x35 );
// do whatever you want with the bmp
Examples:
Have fun
Attached Files
File Type: cs ASCIIText.cs (3.8 KB, 27 views)
__________________
Angels are falling the very last time, down they're burning in hate and decline, unfaithful and violent we're breaking the spell, we're god, we're scissor, in heaven and hell!
arul is offline   Reply With Quote