| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index 2b1e90dc59f5a75ba12c96bd6500969fe6d604e0..c71a03535586d08b6717a093fcff55f75abcd6f2 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -1519,12 +1519,30 @@ class CanvasRenderingContext2D extends CanvasRenderingContext {
|
| // To suppress missing implicit constructor warnings.
|
| factory CanvasRenderingContext2D._() { throw new UnsupportedError("Not supported"); }
|
|
|
| + /**
|
| + * The current default path of this canvas context, if there is one.
|
| + *
|
| + * ## Other resources
|
| + *
|
| + * * [Current default path]
|
| + * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#current-default-path)
|
| + * from WHATWG.
|
| + */
|
| @DomName('CanvasRenderingContext2D.currentPath')
|
| @DocsEditable()
|
| // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#path-objects
|
| @Experimental()
|
| Path get currentPath native "CanvasRenderingContext2D_currentPath_Getter";
|
|
|
| + /**
|
| + * The current default path of this canvas context, if there is one.
|
| + *
|
| + * ## Other resources
|
| + *
|
| + * * [Current default path]
|
| + * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#current-default-path)
|
| + * from WHATWG.
|
| + */
|
| @DomName('CanvasRenderingContext2D.currentPath')
|
| @DocsEditable()
|
| // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#path-objects
|
| @@ -1563,11 +1581,31 @@ class CanvasRenderingContext2D extends CanvasRenderingContext {
|
| @DocsEditable()
|
| void set globalCompositeOperation(String value) native "CanvasRenderingContext2D_globalCompositeOperation_Setter";
|
|
|
| + /**
|
| + * Whether images and patterns on this canvas will be smoothed when this
|
| + * canvas is scaled.
|
| + *
|
| + * ## Other resources
|
| + *
|
| + * * [Image smoothing]
|
| + * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#image-smoothing)
|
| + * from WHATWG.
|
| + */
|
| @DomName('CanvasRenderingContext2D.imageSmoothingEnabled')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| bool get imageSmoothingEnabled native "CanvasRenderingContext2D_imageSmoothingEnabled_Getter";
|
|
|
| + /**
|
| + * Whether images and patterns on this canvas will be smoothed when this
|
| + * canvas is scaled.
|
| + *
|
| + * ## Other resources
|
| + *
|
| + * * [Image smoothing]
|
| + * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#image-smoothing)
|
| + * from WHATWG.
|
| + */
|
| @DomName('CanvasRenderingContext2D.imageSmoothingEnabled')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| @@ -1669,6 +1707,15 @@ class CanvasRenderingContext2D extends CanvasRenderingContext {
|
| @DocsEditable()
|
| void set textBaseline(String value) native "CanvasRenderingContext2D_textBaseline_Setter";
|
|
|
| + /**
|
| + * The ratio between this canvas' backing store dimensions and the canvas'
|
| + * logical dimensions.
|
| + *
|
| + * ## Other resources
|
| + *
|
| + * * [High DPI Canvas tutorial]
|
| + * (http://www.html5rocks.com/en/tutorials/canvas/hidpi/) from HTML5Rocks.
|
| + */
|
| @DomName('CanvasRenderingContext2D.webkitBackingStorePixelRatio')
|
| @DocsEditable()
|
| @SupportedBrowser(SupportedBrowser.CHROME)
|
|
|