Quoting Manhart Matthias ([EMAIL PROTECTED]): > Hello, > > how can i rotate a string in DirectFB (0.9.19) ? > > I need a text 90� rotated (vertical) to draw a scale in a plot-window. I > use a small bitmap-font (BDF).
There's no support for rotations, but you may render the string horizontally to a temp. surface and rotate the pixels yourself. Have a look at how dfbsee rotates the images. We thought about 90/180/270� rotations and h/v flips for blitting several times. It's quite some overhead adding it to DirectFB, but would be useful for PDAs which have rotated displays. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
