by Carl Ranson >> Thu, 1 Jul 1999 3:58:13 GMT
Hi all,
Occasionally over the last few years I have wanted to write text vertically or at other odd angles.
Untill now this has been in the too hard basket but I managed to find a ms-c demo and translate it into Jade.
Check out the attached partial schema.
you can simply call the routine like this.
window.drawTextAtAngle(100,100, 'This is a test', 900);
window.drawTextAtAngle(150,100, 'This is a test', 2700);
window.drawTextAtAngle(200,200, 'So is This', 330);
If you wish to extend this demo you shoud investigate the LogFont structure.
NB: the angle is in tenths of a degree counter-clockwise from horizontal.
Regards
CR
Turing Solutions Limited.