Re: draw_string vertically?



Thanks for your response. Of course, I imagined something like that. But
how does one rotate a pixmap? Also, what's the easiest way to gain access
to the raw data in a pixmap?

On a related subject, is there a way to tell who long (and wide) the
string will be once drawn? (For the purposes of centering, etc...)

Pavel


On 29 Dec 2000, Havoc Pennington wrote:


<pavel klebanov ne mediaone net> writes:
Is there an easy way to draw a string in the vertical direction in a
drawable?


No, this is a sucky limitation inherited from X. You have to do it
some hard way (render to a pixmap, rotate the pixmap as an image; or
draw a stack of letters; or something along those lines).

Havoc






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]