Re: Vertical strings in a PixMap



Havoc Pennington wrote:
> You are doomed, GTK just uses the underlying X string-drawing
> mechanism, and X does not support this.

  Am I right in remembering that GTK has a pixmap rotation jobby? If so,
you could write a /fairly/ simple wrapper to write the text to a temporary
1-bit pixmap (there are calls to get the expected size), rotate it, then
use it as a mask (in the GC) on the dest. pixmap to scribble a big
rectangle over.

  Bit long-winded, but it'll work, and it *is* sub-routinable.

  Maybe.


  If so, you could post here the generic any-angle routine :-)

-- 
=====================- http://www.thalesgroup.com/ -=====================
  Neil Bird   Principal Engineer                     |
       work - mailto:neil bird uk thalesgroup com    |    $> cd /pub
   personal - mailto:neil fnxweb com                 |    $> more beer




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