My $0.02 8-) If you want to be able to "draw" text at any angle then you need to write your own bitmap rotate function (there are MANY references to this on the net - do a google search) and draw each character on to the bitmap that you are using to display your map (you will also need to work out the X and Y displacements so that subsequent characters appear in the correct place). You might want to try a modified version of the above where by each character is drawn in it's "normal" orientation but the characters are skewed along the desired line. If on the other hand you can get away with drawing characters limited to the four / eight cardinal directions (N,S,E,W etc) then the easiest method would be to pre-generate copies of the font and do a normal bitmap draw with the correct version. You could also try storing the font as lists of lines (like a true-type font), that way any standard 2D affine trasformation could be applied to the data before rendering (think of the original "Asteroids" arcade game). HTH Jon... > > Subject: Rotating texts > From: Csernak Gergely <[EMAIL PROTECTED]> > Date: Thu, 30 Aug 2001 10:09:10 +0200 > X-Message-Number: 6 > > Hi, > > I am a newcomer to Palm programming. I am trying to move some part of = > out > GIS application to work on this platform. To be able to draw a map on = > the > screen it is essential to draw texts not just horizontally, but in any > direction. In the documentation I have not find any setting about how = > to > display rotated texts. > > Thanks for your help in advance. > > Gergely Csern=E1k > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>=20 > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
