[Lazarus] Rotating a bitmap

Michael Van Canneyt michael at freepascal.org
Mon Oct 27 15:58:33 CET 2008



On Mon, 27 Oct 2008, Luiz Americo Pereira Camara wrote:

> Michael Van Canneyt escreveu:
> > All I need is to display a text at a 90° angle. Since GTK 1 doesn't
> > support rotated text (hint hint), I draw the text on a bitmap, rotate 
> > that 90 degrees and display the bitmap, when I detect GTK1 as a widget 
> > set :-)
> >   
> 
> 
> Take a look at the unit i pointed. It has a class that does specifically 
> this.

Indeed it does. Thanks for the hint. 

I'll use my implementation since it uses the built-in rotated font if available.
(and it was ready anyway :-) )

Michael.


More information about the Lazarus mailing list