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

Re: [sc-users] Draw text vertically



There is Pen.rotate: 

(
w = Window.new.front;
w.drawFunc = {
    Pen.translate(200, 200);
    10.do({
		Pen.stringAtPoint("yo", 100@0);
        Pen.rotate(0.2pi);
    });
};
w.refresh;
)


> On 28/12/2018, at 14:51 , f.r.d@xxxxxxxxxx wrote:
> 
> Hello,
> 
> Is there the possibility to rotate text drawn in a Window? With String.drawAtPoint() I can only write text horizontally.
> 
> Thank you,
> FD
> 
> 
> 
> Francesco Roberto Dani
> www.francesco-dani.com


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/