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

Side by Side Diff: client/dom/generated/src/frog/CanvasRenderingContext2D.dart

Issue 8889042: Turn on ENABLE_VIDEO to enable AudioContext.createMediaElementSource (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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
OLDNEW
1 1
2 class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen deringContext2D" { 2 class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen deringContext2D" {
3 3
4 Object fillStyle; 4 Object fillStyle;
5 5
6 String font; 6 String font;
7 7
8 num globalAlpha; 8 num globalAlpha;
9 9
10 String globalCompositeOperation; 10 String globalCompositeOperation;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void closePath() native; 52 void closePath() native;
53 53
54 ImageData createImageData(var imagedata_OR_sw, [num sh = null]) native; 54 ImageData createImageData(var imagedata_OR_sw, [num sh = null]) native;
55 55
56 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native; 56 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native;
57 57
58 CanvasPattern createPattern(var canvas_OR_image, String repetitionType) native ; 58 CanvasPattern createPattern(var canvas_OR_image, String repetitionType) native ;
59 59
60 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1) native; 60 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1) native;
61 61
62 void drawImage(var canvas_OR_image, num sx_OR_x, num sy_OR_y, [num sw_OR_width = null, num height_OR_sh = null, num dx = null, num dy = null, num dw = null, n um dh = null]) native; 62 void drawImage(var canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw _OR_width = null, num height_OR_sh = null, num dx = null, num dy = null, num dw = null, num dh = null]) native;
63 63
64 void drawImageFromRect(HTMLImageElement image, [num sx = null, num sy = null, num sw = null, num sh = null, num dx = null, num dy = null, num dw = null, num d h = null, String compositeOperation = null]) native; 64 void drawImageFromRect(HTMLImageElement image, [num sx = null, num sy = null, num sw = null, num sh = null, num dx = null, num dy = null, num dw = null, num d h = null, String compositeOperation = null]) native;
65 65
66 void fill() native; 66 void fill() native;
67 67
68 void fillRect(num x, num y, num width, num height) native; 68 void fillRect(num x, num y, num width, num height) native;
69 69
70 void fillText(String text, num x, num y, [num maxWidth = null]) native; 70 void fillText(String text, num x, num y, [num maxWidth = null]) native;
71 71
72 ImageData getImageData(num sx, num sy, num sw, num sh) native; 72 ImageData getImageData(num sx, num sy, num sw, num sh) native;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 void stroke() native; 116 void stroke() native;
117 117
118 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative; 118 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative;
119 119
120 void strokeText(String text, num x, num y, [num maxWidth = null]) native; 120 void strokeText(String text, num x, num y, [num maxWidth = null]) native;
121 121
122 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; 122 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
123 123
124 void translate(num tx, num ty) native; 124 void translate(num tx, num ty) native;
125 } 125 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/AudioContext.dart ('k') | client/dom/generated/src/frog/WebGLRenderingContext.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698