Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1137)

Side by Side Diff: sky/engine/core/html/canvas/CanvasRenderingContext2D.idl

Issue 878303002: Remove more scrolling code from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // path API (see also CanvasPathMethods) 80 // path API (see also CanvasPathMethods)
81 void beginPath(); 81 void beginPath();
82 void fill(optional CanvasFillRule winding); 82 void fill(optional CanvasFillRule winding);
83 void fill(Path2D path, optional CanvasFillRule winding); 83 void fill(Path2D path, optional CanvasFillRule winding);
84 void stroke(); 84 void stroke();
85 void stroke(Path2D path); 85 void stroke(Path2D path);
86 // Focus rings 86 // Focus rings
87 void drawFocusIfNeeded(Element element); 87 void drawFocusIfNeeded(Element element);
88 void drawFocusIfNeeded(Path2D path, Element element); 88 void drawFocusIfNeeded(Path2D path, Element element);
89 89
90 [RuntimeEnabled=ExperimentalCanvasFeatures] void scrollPathIntoView(optional Path2D path);
91 void clip(optional CanvasFillRule winding); 90 void clip(optional CanvasFillRule winding);
92 void clip(Path2D path, optional CanvasFillRule winding); 91 void clip(Path2D path, optional CanvasFillRule winding);
93 boolean isPointInPath(unrestricted float x, unrestricted float y, optional C anvasFillRule winding); 92 boolean isPointInPath(unrestricted float x, unrestricted float y, optional C anvasFillRule winding);
94 boolean isPointInPath(Path2D path, unrestricted float x, unrestricted float y, optional CanvasFillRule winding); 93 boolean isPointInPath(Path2D path, unrestricted float x, unrestricted float y, optional CanvasFillRule winding);
95 boolean isPointInStroke(unrestricted float x, unrestricted float y); 94 boolean isPointInStroke(unrestricted float x, unrestricted float y);
96 boolean isPointInStroke(Path2D path, unrestricted float x, unrestricted floa t y); 95 boolean isPointInStroke(Path2D path, unrestricted float x, unrestricted floa t y);
97 96
98 // text (see also the CanvasDrawingStyles interface) 97 // text (see also the CanvasDrawingStyles interface)
99 void fillText(DOMString text, unrestricted float x, unrestricted float y, op tional unrestricted float maxWidth); 98 void fillText(DOMString text, unrestricted float x, unrestricted float y, op tional unrestricted float maxWidth);
100 void strokeText(DOMString text, unrestricted float x, unrestricted float y, optional unrestricted float maxWidth); 99 void strokeText(DOMString text, unrestricted float x, unrestricted float y, optional unrestricted float maxWidth);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 [MeasureAs=CanvasRenderingContext2DDrawImageFromRect] void drawImageFromRect ( 166 [MeasureAs=CanvasRenderingContext2DDrawImageFromRect] void drawImageFromRect (
168 HTMLImageElement? image, optional unrestricted float sx, optional unrest ricted float sy, optional unrestricted float sw, optional unrestricted float sh, 167 HTMLImageElement? image, optional unrestricted float sx, optional unrest ricted float sy, optional unrestricted float sw, optional unrestricted float sh,
169 optional unrestricted float dx, optional unrestricted float dy, optional unrestricted float dw, optional unrestricted float dh, optional DOMString compo siteOperation); 168 optional unrestricted float dx, optional unrestricted float dy, optional unrestricted float dw, optional unrestricted float dh, optional DOMString compo siteOperation);
170 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, optional DOMStrin g color, optional unrestricted float alpha); 169 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, optional DOMStrin g color, optional unrestricted float alpha);
171 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t grayLevel, optional unrestricted float alpha); 170 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t grayLevel, optional unrestricted float alpha);
172 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t r, unrestricted float g, unrestricted float b, unrestricted float a); 171 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t r, unrestricted float g, unrestricted float b, unrestricted float a);
173 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t c, unrestricted float m, unrestricted float y, unrestricted float k, unrestric ted float a); 172 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted fl oat width, unrestricted float height, unrestricted float blur, unrestricted floa t c, unrestricted float m, unrestricted float y, unrestricted float k, unrestric ted float a);
174 }; 173 };
175 174
176 CanvasRenderingContext2D implements CanvasPathMethods; 175 CanvasRenderingContext2D implements CanvasPathMethods;
OLDNEW
« no previous file with comments | « sky/engine/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | sky/engine/core/inspector/InspectorTraceEvents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698