thradams / canvasplusplus

Automatically exported from code.google.com/p/canvasplusplus
0 stars 0 forks source link

Transformations GDI #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Not implemented, but I believe GDI has everthing we need to implement this 
feature.

See:

3 Transformations
http://dev.w3.org/html5/2dcontext/#dom-context-2d-scale

context . scale(x, y)
Changes the transformation matrix to apply a scaling transformation with the 
given characteristics.
context . 

rotate(angle)
Changes the transformation matrix to apply a rotation transformation with the 
given characteristics. The angle is in radians.
context . 

translate(x, y)
Changes the transformation matrix to apply a translation transformation with 
the given characteristics.
context . 

transform(a, b, c, d, e, f)
Changes the transformation matrix to apply the matrix given by the arguments as 
described below.
context . 

setTransform(a, b, c, d, e, f)
Changes the transformation matrix to the matrix given by the arguments as 
described below.

Original issue reported on code.google.com by thiago.adams on 2 Feb 2012 at 12:57

GoogleCodeExporter commented 9 years ago

Original comment by thiago.adams on 2 Feb 2012 at 12:58