Le 8 janv. 07 à 22:26 Soir, Guyren Howe a écrit:

I want to draw some text with a thermometer-type gauge behind it. So I'll draw part of the text as white on black, the rest as black on white.

It's not clear to me how to do this. I can't see anything in the graphics control that lets me clip a drawing, nor to invert part of an existing drawing.

Any advice?

You can make 2 pictures, in your paint event (p1 and p2 as picture):

In the first one, you draw your text in the first colour.
In the second one, you draw your same text in the second colour.

Now, you draw both pictures to the graphics parameter (g, in your paint event). Since, using Graphics.DrawPicture, you have many parameters, you can draw only a half of the first picture, and the other half of the second one._______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to