[Gambas-user] Image.Gradient help please

Rob sourceforge-raindog2 at ...94...
Fri Jan 11 17:56:44 CET 2008


On Friday 11 January 2008 10:58, M0E Lnx wrote:
> Has anyone done this before?
> Can anyone think of a way to do this?
> I'd rather try to get gambas to do this instead of drawing hard
> images of the text labels

Sure, use image.gradient to draw your blue gradient into an image, 
Draw.Image that image into a drawing area, and then Draw.Text your 
text over it.  If you need a static copy of it, convert it to a 
Picture using the drawing area's Grab method.

I haven't done it, but that's the first thing I'd try.

Rob





More information about the User mailing list