mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Canvas: implement context state save/restore.
This commit is contained in:
parent
f164cc253e
commit
5b8416a2b6
21 changed files with 157 additions and 165 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue