Unger Richard wrote:
> Just out of interest, why rotate the text at all? I can certainly see the 
> need to rotate the images to make them match the frame's orientation, but you 
> control the orientation of the text as you draw it, so as long as you 
> composite the text with the rotated image, there is no need to rotate it?

Rotation of images is only needed to view a portrait image on a 
landscape screen or vice-versa.  The typical reason for physically 
rotating the screen is to view a portrait image.  In this case, no 
rotation of the image is needed; it's only the text that needs 
rotation.  I could rotate the image, superimpose the text, and then 
rotate back again, but that would be inefficient.

Actually, now that I have experimented with this, rotation seems to be 
reasonably fast.  I was expecting that copies via the CPU would be a 
lot slower than blits done by the graphics chip.  So I'm not going to 
worry about this for the time being.

Phil.





_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to