- From: Ian Hickson <ian@hixie.ch>
- Date: Thu, 18 May 2006 21:11:06 +0000 (UTC)
On Thu, 18 May 2006, Andrew Fedoniouk wrote: > > Coordinate system of the <canvas> is x-axis : top-to-bottom and y-axis > is left-to-right. Let's say we have some vector of the length 1 and > angle 0. How it is located in respect of the axis? The canvas API doesn't have vectors. The only two functions that take angles are (a) the arc() method, whose definition defines its interpretation as radians clockwise from the positive x-axis, and (b) the rotate() method, whose definition again defines its interpretation as radians clockwise. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 18 May 2006 14:11:06 UTC