mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Canvas: add clipping path support.
This commit is contained in:
parent
3a1bf45dea
commit
6fd6eefb35
29 changed files with 16 additions and 134 deletions
|
@ -90,7 +90,7 @@ interface CanvasRenderingContext2D {
|
|||
//boolean drawCustomFocusRing(Path2D path, Element element);
|
||||
//void scrollPathIntoView();
|
||||
//void scrollPathIntoView(Path2D path);
|
||||
//void clip(optional CanvasWindingRule fillRule = "nonzero");
|
||||
void clip(optional CanvasWindingRule fillRule = "nonzero");
|
||||
//void clip(Path2D path, optional CanvasWindingRule fillRule = "nonzero");
|
||||
//void resetClip();
|
||||
//boolean isPointInPath(unrestricted double x, unrestricted double y, optional CanvasWindingRule fillRule = "nonzero");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue