PDA

View Full Version : Playing with text drawing.



Chesso
08-12-2006, 12:53 AM
Hello I am using Omega components with the BitMapFont component.

Drawing text to the screen is just dandy, but I'm not sure how to go about drawing it in location based on the size of text (think if text in boxes in rpg games).

The idea is to hopefully have the text (if possible with these components) transparent to a degree and centered in the screen.

But how would I go about centering the text on the screen based on what text I want to output?

P.S. It's been quite some time since I have used Delphi, so I am slowly crawling back into it.