• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

How to draw... text

Started by mar_je, 14 April 2009, 17:36:42

Previous topic - Next topic

mar_je

Hi!

I have one little question. How i can draw text on transparent PNG (using ImgaingLib)? Possible there is no procedure in this libary.  ???

COeXe

TImagingBitmap comes with the property "Canvas" (TCanvas).
Like every other Canvas, this provides methods such as TextOut, TextRect and so on.

mar_je


Galfar

If you use TCanvas for text output and want transparent text, you must set background mode to transparent. Using WinAPI function would look like this SetBkMode(Canvas.Handle, TRANSPARENT). There's probably some method/property in TCanvas that would do the same. 


Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name:
Email:

Shortcuts: ALT+S save/post or ALT+P preview

SMF spam blocked by CleanTalk