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

Side by Side Diff: dart/tools/dom/src/CanvasImageSource.dart

Issue 64033002: Version 0.8.10.8 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « dart/tools/dom/docs/docs.json ('k') | dart/tools/dom/src/CrossFrameTypes.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of html; 5 part of html;
6 6
7 /** 7 /**
8 * An object that can be drawn to a 2D canvas rendering context. 8 * An object that can be drawn to a 2D canvas rendering context.
9 * 9 *
10 * This object is either an [ImageElement], [VideoElement], or 10 * The image drawn to the canvas depends on the type of this object:
11 * [CanvasElement].
12 *
13 * The image drawn to the canvas differs by implementation:
14 * 11 *
15 * * If this object is an [ImageElement], then this element's image is 12 * * If this object is an [ImageElement], then this element's image is
16 * drawn to the canvas. If this element is an animated image, then this 13 * drawn to the canvas. If this element is an animated image, then this
17 * element's poster frame is drawn. If this element has no poster frame, then 14 * element's poster frame is drawn. If this element has no poster frame, then
18 * the first frame of animation is drawn. 15 * the first frame of animation is drawn.
19 * 16 *
20 * * If this object is a [VideoElement], then the frame at this element's curren t 17 * * If this object is a [VideoElement], then the frame at this element's curren t
21 * playback position is drawn to the canvas. 18 * playback position is drawn to the canvas.
22 * 19 *
23 * * If this object is a [CanvasElement], then this element's bitmap is drawn to 20 * * If this object is a [CanvasElement], then this element's bitmap is drawn to
(...skipping 13 matching lines...) Expand all
37 * ## Other resources 34 * ## Other resources
38 * 35 *
39 * * [Image sources for 2D rendering contexts] 36 * * [Image sources for 2D rendering contexts]
40 * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-eleme nt.html#image-sources-for-2d-rendering-contexts) 37 * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-eleme nt.html#image-sources-for-2d-rendering-contexts)
41 * from WHATWG. 38 * from WHATWG.
42 * * [Drawing images] 39 * * [Drawing images]
43 * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-eleme nt.html#dom-context-2d-drawimage) 40 * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-eleme nt.html#dom-context-2d-drawimage)
44 * from WHATWG. 41 * from WHATWG.
45 */ 42 */
46 abstract class CanvasImageSource {} 43 abstract class CanvasImageSource {}
OLDNEW
« no previous file with comments | « dart/tools/dom/docs/docs.json ('k') | dart/tools/dom/src/CrossFrameTypes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698