HyperNext Studio

HyperNext Studio => General => Topic started by: venkat0249 on September 02, 2011, 03:41:42 PM

Title: can we write text inclined?
Post by: venkat0249 on September 02, 2011, 03:41:42 PM
In canvas, we can only write text horizontally. Is it possible to write text at an angle/inclined?
Title: Re: can we write text inclined?
Post by: Malkom on September 03, 2011, 06:50:48 AM
Sorry but the standard canvas draw text is only horizontal.

Its possible to get rotated text onto a canvas by copying to an image bank but its not so straightforward and the rotations are multiples of 90 degrees.
(1)  Assumes original image in offscreen buffer (canvas 0)
(2) Write text to canvas 0
(3) Copy text section to image bank
(4) Rotate image bank
(5) Copy image bank to section of target canvas