Canvas: implement context state save/restore.

This commit is contained in:
Mátyás Mustoha 2015-04-15 12:52:13 +02:00
parent f164cc253e
commit 5b8416a2b6
21 changed files with 157 additions and 165 deletions

View file

@ -26,8 +26,8 @@ interface CanvasRenderingContext2D {
//void commit(); // push the image to the output bitmap
// state
//void save(); // push state on state stack
//void restore(); // pop state stack and restore state
void save(); // push state on state stack
void restore(); // pop state stack and restore state
// transformations (default transform is the identity matrix)
// attribute SVGMatrix currentTransform;