[Gambas-user] Font rotation?

ron ronstk at ...239...
Tue Apr 13 19:04:50 CEST 2004


On Tuesday 13 April 2004 18:36, Daniel Campos wrote:
> Hi all:
>
> Is there any way to rotate a text, for example 45 or 90 degrees?
> I'd need it to draw some charts, and it would be also userful
> in games, and scientific-graphical programs...
>
> Regards,

I gues

dim pict as picture
dim img as image

label1.text="mytext"

pict = label1.grab
image.picture = pict 
'or 
image.picture = label1.grab

image.rotate(90) ' help is broken here 
'somewhere else in th help
'Function Rotate(angle AS float) as picture

'use a picture box vertical
picturebox1.picture=image.picture

Ron




More information about the User mailing list