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

Unified Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 15773008: Exposing DOM float & double types as double rather than num. Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/svg/dart2js/svg_dart2js.dart
diff --git a/sdk/lib/svg/dart2js/svg_dart2js.dart b/sdk/lib/svg/dart2js/svg_dart2js.dart
index 62fb74b13c61bf41596a331908d9ce152b4b8025..70802c9fc7413d38356cb11634bc8967f0b9809e 100644
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart
@@ -218,7 +218,7 @@ class Angle native "SVGAngle" {
@DomName('SVGAngle.value')
@DocsEditable
- num value;
+ double value;
@DomName('SVGAngle.valueAsString')
@DocsEditable
@@ -226,7 +226,7 @@ class Angle native "SVGAngle" {
@DomName('SVGAngle.valueInSpecifiedUnits')
@DocsEditable
- num valueInSpecifiedUnits;
+ double valueInSpecifiedUnits;
@DomName('SVGAngle.convertToSpecifiedUnits')
@DocsEditable
@@ -234,7 +234,7 @@ class Angle native "SVGAngle" {
@DomName('SVGAngle.newValueSpecifiedUnits')
@DocsEditable
- void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
+ void newValueSpecifiedUnits(int unitType, double valueInSpecifiedUnits) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -416,11 +416,11 @@ class AnimatedNumber native "SVGAnimatedNumber" {
@DomName('SVGAnimatedNumber.animVal')
@DocsEditable
- final num animVal;
+ final double animVal;
@DomName('SVGAnimatedNumber.baseVal')
@DocsEditable
- num baseVal;
+ double baseVal;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -532,15 +532,15 @@ class AnimationElement extends SvgElement implements Tests, ElementTimeControl,
@DomName('SVGAnimationElement.getCurrentTime')
@DocsEditable
- num getCurrentTime() native;
+ double getCurrentTime() native;
@DomName('SVGAnimationElement.getSimpleDuration')
@DocsEditable
- num getSimpleDuration() native;
+ double getSimpleDuration() native;
@DomName('SVGAnimationElement.getStartTime')
@DocsEditable
- num getStartTime() native;
+ double getStartTime() native;
// From ElementTimeControl
@@ -550,7 +550,7 @@ class AnimationElement extends SvgElement implements Tests, ElementTimeControl,
@DomName('SVGAnimationElement.beginElementAt')
@DocsEditable
- void beginElementAt(num offset) native;
+ void beginElementAt(double offset) native;
@DomName('SVGAnimationElement.endElement')
@DocsEditable
@@ -558,7 +558,7 @@ class AnimationElement extends SvgElement implements Tests, ElementTimeControl,
@DomName('SVGAnimationElement.endElementAt')
@DocsEditable
- void endElementAt(num offset) native;
+ void endElementAt(double offset) native;
// From SVGExternalResourcesRequired
@@ -1249,11 +1249,11 @@ abstract class ElementTimeControl {
void beginElement();
- void beginElementAt(num offset);
+ void beginElementAt(double offset);
void endElement();
- void endElementAt(num offset);
+ void endElementAt(double offset);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -2100,7 +2100,7 @@ class FEGaussianBlurElement extends StyledElement implements FilterPrimitiveStan
@DomName('SVGFEGaussianBlurElement.setStdDeviation')
@DocsEditable
- void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
+ void setStdDeviation(double stdDeviationX, double stdDeviationY) native;
// From SVGFilterPrimitiveStandardAttributes
@@ -2305,7 +2305,7 @@ class FEMorphologyElement extends StyledElement implements FilterPrimitiveStanda
@DomName('SVGFEMorphologyElement.setRadius')
@DocsEditable
- void setRadius(num radiusX, num radiusY) native;
+ void setRadius(double radiusX, double radiusY) native;
// From SVGFilterPrimitiveStandardAttributes
@@ -3148,7 +3148,7 @@ class Length native "SVGLength" {
@DomName('SVGLength.value')
@DocsEditable
- num value;
+ double value;
@DomName('SVGLength.valueAsString')
@DocsEditable
@@ -3156,7 +3156,7 @@ class Length native "SVGLength" {
@DomName('SVGLength.valueInSpecifiedUnits')
@DocsEditable
- num valueInSpecifiedUnits;
+ double valueInSpecifiedUnits;
@DomName('SVGLength.convertToSpecifiedUnits')
@DocsEditable
@@ -3164,7 +3164,7 @@ class Length native "SVGLength" {
@DomName('SVGLength.newValueSpecifiedUnits')
@DocsEditable
- void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
+ void newValueSpecifiedUnits(int unitType, double valueInSpecifiedUnits) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -3587,27 +3587,27 @@ class Matrix native "SVGMatrix" {
@DomName('SVGMatrix.a')
@DocsEditable
- num a;
+ double a;
@DomName('SVGMatrix.b')
@DocsEditable
- num b;
+ double b;
@DomName('SVGMatrix.c')
@DocsEditable
- num c;
+ double c;
@DomName('SVGMatrix.d')
@DocsEditable
- num d;
+ double d;
@DomName('SVGMatrix.e')
@DocsEditable
- num e;
+ double e;
@DomName('SVGMatrix.f')
@DocsEditable
- num f;
+ double f;
@DomName('SVGMatrix.flipX')
@DocsEditable
@@ -3627,31 +3627,31 @@ class Matrix native "SVGMatrix" {
@DomName('SVGMatrix.rotate')
@DocsEditable
- Matrix rotate(num angle) native;
+ Matrix rotate(double angle) native;
@DomName('SVGMatrix.rotateFromVector')
@DocsEditable
- Matrix rotateFromVector(num x, num y) native;
+ Matrix rotateFromVector(double x, double y) native;
@DomName('SVGMatrix.scale')
@DocsEditable
- Matrix scale(num scaleFactor) native;
+ Matrix scale(double scaleFactor) native;
@DomName('SVGMatrix.scaleNonUniform')
@DocsEditable
- Matrix scaleNonUniform(num scaleFactorX, num scaleFactorY) native;
+ Matrix scaleNonUniform(double scaleFactorX, double scaleFactorY) native;
@DomName('SVGMatrix.skewX')
@DocsEditable
- Matrix skewX(num angle) native;
+ Matrix skewX(double angle) native;
@DomName('SVGMatrix.skewY')
@DocsEditable
- Matrix skewY(num angle) native;
+ Matrix skewY(double angle) native;
@DomName('SVGMatrix.translate')
@DocsEditable
- Matrix translate(num x, num y) native;
+ Matrix translate(double x, double y) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -3675,7 +3675,7 @@ class Number native "SVGNumber" {
@DomName('SVGNumber.value')
@DocsEditable
- num value;
+ double value;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -3802,12 +3802,12 @@ class PathElement extends StyledElement implements Transformable, Tests, Externa
@JSName('createSVGPathSegArcAbs')
@DomName('SVGPathElement.createSVGPathSegArcAbs')
@DocsEditable
- PathSegArcAbs createSvgPathSegArcAbs(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) native;
+ PathSegArcAbs createSvgPathSegArcAbs(double x, double y, double r1, double r2, double angle, bool largeArcFlag, bool sweepFlag) native;
@JSName('createSVGPathSegArcRel')
@DomName('SVGPathElement.createSVGPathSegArcRel')
@DocsEditable
- PathSegArcRel createSvgPathSegArcRel(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) native;
+ PathSegArcRel createSvgPathSegArcRel(double x, double y, double r1, double r2, double angle, bool largeArcFlag, bool sweepFlag) native;
@JSName('createSVGPathSegClosePath')
@DomName('SVGPathElement.createSVGPathSegClosePath')
@@ -3817,94 +3817,94 @@ class PathElement extends StyledElement implements Transformable, Tests, Externa
@JSName('createSVGPathSegCurvetoCubicAbs')
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicAbs')
@DocsEditable
- PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs(num x, num y, num x1, num y1, num x2, num y2) native;
+ PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs(double x, double y, double x1, double y1, double x2, double y2) native;
@JSName('createSVGPathSegCurvetoCubicRel')
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicRel')
@DocsEditable
- PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel(num x, num y, num x1, num y1, num x2, num y2) native;
+ PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel(double x, double y, double x1, double y1, double x2, double y2) native;
@JSName('createSVGPathSegCurvetoCubicSmoothAbs')
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs')
@DocsEditable
- PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs(num x, num y, num x2, num y2) native;
+ PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs(double x, double y, double x2, double y2) native;
@JSName('createSVGPathSegCurvetoCubicSmoothRel')
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel')
@DocsEditable
- PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel(num x, num y, num x2, num y2) native;
+ PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel(double x, double y, double x2, double y2) native;
@JSName('createSVGPathSegCurvetoQuadraticAbs')
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticAbs')
@DocsEditable
- PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs(num x, num y, num x1, num y1) native;
+ PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs(double x, double y, double x1, double y1) native;
@JSName('createSVGPathSegCurvetoQuadraticRel')
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticRel')
@DocsEditable
- PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel(num x, num y, num x1, num y1) native;
+ PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel(double x, double y, double x1, double y1) native;
@JSName('createSVGPathSegCurvetoQuadraticSmoothAbs')
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs')
@DocsEditable
- PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs(num x, num y) native;
+ PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs(double x, double y) native;
@JSName('createSVGPathSegCurvetoQuadraticSmoothRel')
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel')
@DocsEditable
- PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel(num x, num y) native;
+ PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel(double x, double y) native;
@JSName('createSVGPathSegLinetoAbs')
@DomName('SVGPathElement.createSVGPathSegLinetoAbs')
@DocsEditable
- PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) native;
+ PathSegLinetoAbs createSvgPathSegLinetoAbs(double x, double y) native;
@JSName('createSVGPathSegLinetoHorizontalAbs')
@DomName('SVGPathElement.createSVGPathSegLinetoHorizontalAbs')
@DocsEditable
- PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) native;
+ PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(double x) native;
@JSName('createSVGPathSegLinetoHorizontalRel')
@DomName('SVGPathElement.createSVGPathSegLinetoHorizontalRel')
@DocsEditable
- PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) native;
+ PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(double x) native;
@JSName('createSVGPathSegLinetoRel')
@DomName('SVGPathElement.createSVGPathSegLinetoRel')
@DocsEditable
- PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) native;
+ PathSegLinetoRel createSvgPathSegLinetoRel(double x, double y) native;
@JSName('createSVGPathSegLinetoVerticalAbs')
@DomName('SVGPathElement.createSVGPathSegLinetoVerticalAbs')
@DocsEditable
- PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) native;
+ PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(double y) native;
@JSName('createSVGPathSegLinetoVerticalRel')
@DomName('SVGPathElement.createSVGPathSegLinetoVerticalRel')
@DocsEditable
- PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) native;
+ PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(double y) native;
@JSName('createSVGPathSegMovetoAbs')
@DomName('SVGPathElement.createSVGPathSegMovetoAbs')
@DocsEditable
- PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) native;
+ PathSegMovetoAbs createSvgPathSegMovetoAbs(double x, double y) native;
@JSName('createSVGPathSegMovetoRel')
@DomName('SVGPathElement.createSVGPathSegMovetoRel')
@DocsEditable
- PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) native;
+ PathSegMovetoRel createSvgPathSegMovetoRel(double x, double y) native;
@DomName('SVGPathElement.getPathSegAtLength')
@DocsEditable
- int getPathSegAtLength(num distance) native;
+ int getPathSegAtLength(double distance) native;
@DomName('SVGPathElement.getPointAtLength')
@DocsEditable
- Point getPointAtLength(num distance) native;
+ Point getPointAtLength(double distance) native;
@DomName('SVGPathElement.getTotalLength')
@DocsEditable
- num getTotalLength() native;
+ double getTotalLength() native;
// From SVGExternalResourcesRequired
@@ -4084,7 +4084,7 @@ class PathSegArcAbs extends PathSeg native "SVGPathSegArcAbs" {
@DomName('SVGPathSegArcAbs.angle')
@DocsEditable
- num angle;
+ double angle;
@DomName('SVGPathSegArcAbs.largeArcFlag')
@DocsEditable
@@ -4092,11 +4092,11 @@ class PathSegArcAbs extends PathSeg native "SVGPathSegArcAbs" {
@DomName('SVGPathSegArcAbs.r1')
@DocsEditable
- num r1;
+ double r1;
@DomName('SVGPathSegArcAbs.r2')
@DocsEditable
- num r2;
+ double r2;
@DomName('SVGPathSegArcAbs.sweepFlag')
@DocsEditable
@@ -4104,11 +4104,11 @@ class PathSegArcAbs extends PathSeg native "SVGPathSegArcAbs" {
@DomName('SVGPathSegArcAbs.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegArcAbs.y')
@DocsEditable
- num y;
+ double y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4122,7 +4122,7 @@ class PathSegArcRel extends PathSeg native "SVGPathSegArcRel" {
@DomName('SVGPathSegArcRel.angle')
@DocsEditable
- num angle;
+ double angle;
@DomName('SVGPathSegArcRel.largeArcFlag')
@DocsEditable
@@ -4130,11 +4130,11 @@ class PathSegArcRel extends PathSeg native "SVGPathSegArcRel" {
@DomName('SVGPathSegArcRel.r1')
@DocsEditable
- num r1;
+ double r1;
@DomName('SVGPathSegArcRel.r2')
@DocsEditable
- num r2;
+ double r2;
@DomName('SVGPathSegArcRel.sweepFlag')
@DocsEditable
@@ -4142,11 +4142,11 @@ class PathSegArcRel extends PathSeg native "SVGPathSegArcRel" {
@DomName('SVGPathSegArcRel.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegArcRel.y')
@DocsEditable
- num y;
+ double y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4170,27 +4170,27 @@ class PathSegCurvetoCubicAbs extends PathSeg native "SVGPathSegCurvetoCubicAbs"
@DomName('SVGPathSegCurvetoCubicAbs.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegCurvetoCubicAbs.x1')
@DocsEditable
- num x1;
+ double x1;
@DomName('SVGPathSegCurvetoCubicAbs.x2')
@DocsEditable
- num x2;
+ double x2;
@DomName('SVGPathSegCurvetoCubicAbs.y')
@DocsEditable
- num y;
+ double y;
@DomName('SVGPathSegCurvetoCubicAbs.y1')
@DocsEditable
- num y1;
+ double y1;
@DomName('SVGPathSegCurvetoCubicAbs.y2')
@DocsEditable
- num y2;
+ double y2;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4204,27 +4204,27 @@ class PathSegCurvetoCubicRel extends PathSeg native "SVGPathSegCurvetoCubicRel"
@DomName('SVGPathSegCurvetoCubicRel.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegCurvetoCubicRel.x1')
@DocsEditable
- num x1;
+ double x1;
@DomName('SVGPathSegCurvetoCubicRel.x2')
@DocsEditable
- num x2;
+ double x2;
@DomName('SVGPathSegCurvetoCubicRel.y')
@DocsEditable
- num y;
+ double y;
@DomName('SVGPathSegCurvetoCubicRel.y1')
@DocsEditable
- num y1;
+ double y1;
@DomName('SVGPathSegCurvetoCubicRel.y2')
@DocsEditable
- num y2;
+ double y2;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4238,19 +4238,19 @@ class PathSegCurvetoCubicSmoothAbs extends PathSeg native "SVGPathSegCurvetoCubi
@DomName('SVGPathSegCurvetoCubicSmoothAbs.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegCurvetoCubicSmoothAbs.x2')
@DocsEditable
- num x2;
+ double x2;
@DomName('SVGPathSegCurvetoCubicSmoothAbs.y')
@DocsEditable
- num y;
+ double y;
@DomName('SVGPathSegCurvetoCubicSmoothAbs.y2')
@DocsEditable
- num y2;
+ double y2;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4264,19 +4264,19 @@ class PathSegCurvetoCubicSmoothRel extends PathSeg native "SVGPathSegCurvetoCubi
@DomName('SVGPathSegCurvetoCubicSmoothRel.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegCurvetoCubicSmoothRel.x2')
@DocsEditable
- num x2;
+ double x2;
@DomName('SVGPathSegCurvetoCubicSmoothRel.y')
@DocsEditable
- num y;
+ double y;
@DomName('SVGPathSegCurvetoCubicSmoothRel.y2')
@DocsEditable
- num y2;
+ double y2;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4290,19 +4290,19 @@ class PathSegCurvetoQuadraticAbs extends PathSeg native "SVGPathSegCurvetoQuadra
@DomName('SVGPathSegCurvetoQuadraticAbs.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegCurvetoQuadraticAbs.x1')
@DocsEditable
- num x1;
+ double x1;
@DomName('SVGPathSegCurvetoQuadraticAbs.y')
@DocsEditable
- num y;
+ double y;
@DomName('SVGPathSegCurvetoQuadraticAbs.y1')
@DocsEditable
- num y1;
+ double y1;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4316,19 +4316,19 @@ class PathSegCurvetoQuadraticRel extends PathSeg native "SVGPathSegCurvetoQuadra
@DomName('SVGPathSegCurvetoQuadraticRel.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegCurvetoQuadraticRel.x1')
@DocsEditable
- num x1;
+ double x1;
@DomName('SVGPathSegCurvetoQuadraticRel.y')
@DocsEditable
- num y;
+ double y;
@DomName('SVGPathSegCurvetoQuadraticRel.y1')
@DocsEditable
- num y1;
+ double y1;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4342,11 +4342,11 @@ class PathSegCurvetoQuadraticSmoothAbs extends PathSeg native "SVGPathSegCurveto
@DomName('SVGPathSegCurvetoQuadraticSmoothAbs.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegCurvetoQuadraticSmoothAbs.y')
@DocsEditable
- num y;
+ double y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4360,11 +4360,11 @@ class PathSegCurvetoQuadraticSmoothRel extends PathSeg native "SVGPathSegCurveto
@DomName('SVGPathSegCurvetoQuadraticSmoothRel.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegCurvetoQuadraticSmoothRel.y')
@DocsEditable
- num y;
+ double y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4378,11 +4378,11 @@ class PathSegLinetoAbs extends PathSeg native "SVGPathSegLinetoAbs" {
@DomName('SVGPathSegLinetoAbs.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegLinetoAbs.y')
@DocsEditable
- num y;
+ double y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4396,7 +4396,7 @@ class PathSegLinetoHorizontalAbs extends PathSeg native "SVGPathSegLinetoHorizon
@DomName('SVGPathSegLinetoHorizontalAbs.x')
@DocsEditable
- num x;
+ double x;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4410,7 +4410,7 @@ class PathSegLinetoHorizontalRel extends PathSeg native "SVGPathSegLinetoHorizon
@DomName('SVGPathSegLinetoHorizontalRel.x')
@DocsEditable
- num x;
+ double x;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4424,11 +4424,11 @@ class PathSegLinetoRel extends PathSeg native "SVGPathSegLinetoRel" {
@DomName('SVGPathSegLinetoRel.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegLinetoRel.y')
@DocsEditable
- num y;
+ double y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4442,7 +4442,7 @@ class PathSegLinetoVerticalAbs extends PathSeg native "SVGPathSegLinetoVerticalA
@DomName('SVGPathSegLinetoVerticalAbs.y')
@DocsEditable
- num y;
+ double y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4456,7 +4456,7 @@ class PathSegLinetoVerticalRel extends PathSeg native "SVGPathSegLinetoVerticalR
@DomName('SVGPathSegLinetoVerticalRel.y')
@DocsEditable
- num y;
+ double y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4558,11 +4558,11 @@ class PathSegMovetoAbs extends PathSeg native "SVGPathSegMovetoAbs" {
@DomName('SVGPathSegMovetoAbs.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegMovetoAbs.y')
@DocsEditable
- num y;
+ double y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4576,11 +4576,11 @@ class PathSegMovetoRel extends PathSeg native "SVGPathSegMovetoRel" {
@DomName('SVGPathSegMovetoRel.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPathSegMovetoRel.y')
@DocsEditable
- num y;
+ double y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -4686,11 +4686,11 @@ class Point native "SVGPoint" {
@DomName('SVGPoint.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGPoint.y')
@DocsEditable
- num y;
+ double y;
@DomName('SVGPoint.matrixTransform')
@DocsEditable
@@ -5042,19 +5042,19 @@ class Rect native "SVGRect" {
@DomName('SVGRect.height')
@DocsEditable
- num height;
+ double height;
@DomName('SVGRect.width')
@DocsEditable
- num width;
+ double width;
@DomName('SVGRect.x')
@DocsEditable
- num x;
+ double x;
@DomName('SVGRect.y')
@DocsEditable
- num y;
+ double y;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -5627,7 +5627,7 @@ class SvgSvgElement extends StyledElement implements FitToViewBox, Transformable
@DomName('SVGSVGElement.currentScale')
@DocsEditable
- num currentScale;
+ double currentScale;
@DomName('SVGSVGElement.currentTranslate')
@DocsEditable
@@ -5643,19 +5643,19 @@ class SvgSvgElement extends StyledElement implements FitToViewBox, Transformable
@DomName('SVGSVGElement.pixelUnitToMillimeterX')
@DocsEditable
- final num pixelUnitToMillimeterX;
+ final double pixelUnitToMillimeterX;
@DomName('SVGSVGElement.pixelUnitToMillimeterY')
@DocsEditable
- final num pixelUnitToMillimeterY;
+ final double pixelUnitToMillimeterY;
@DomName('SVGSVGElement.screenPixelToMillimeterX')
@DocsEditable
- final num screenPixelToMillimeterX;
+ final double screenPixelToMillimeterX;
@DomName('SVGSVGElement.screenPixelToMillimeterY')
@DocsEditable
- final num screenPixelToMillimeterY;
+ final double screenPixelToMillimeterY;
@DomName('SVGSVGElement.useCurrentView')
@DocsEditable
@@ -5739,7 +5739,7 @@ class SvgSvgElement extends StyledElement implements FitToViewBox, Transformable
@DomName('SVGSVGElement.getCurrentTime')
@DocsEditable
- num getCurrentTime() native;
+ double getCurrentTime() native;
@DomName('SVGSVGElement.getElementById')
@DocsEditable
@@ -5763,7 +5763,7 @@ class SvgSvgElement extends StyledElement implements FitToViewBox, Transformable
@DomName('SVGSVGElement.setCurrentTime')
@DocsEditable
- void setCurrentTime(num seconds) native;
+ void setCurrentTime(double seconds) native;
@DomName('SVGSVGElement.suspendRedraw')
@DocsEditable
@@ -6055,7 +6055,7 @@ class TextContentElement extends StyledElement implements Tests, ExternalResourc
@DomName('SVGTextContentElement.getComputedTextLength')
@DocsEditable
- num getComputedTextLength() native;
+ double getComputedTextLength() native;
@DomName('SVGTextContentElement.getEndPositionOfChar')
@DocsEditable
@@ -6071,7 +6071,7 @@ class TextContentElement extends StyledElement implements Tests, ExternalResourc
@DomName('SVGTextContentElement.getRotationOfChar')
@DocsEditable
- num getRotationOfChar(int offset) native;
+ double getRotationOfChar(int offset) native;
@DomName('SVGTextContentElement.getStartPositionOfChar')
@DocsEditable
@@ -6079,7 +6079,7 @@ class TextContentElement extends StyledElement implements Tests, ExternalResourc
@DomName('SVGTextContentElement.getSubStringLength')
@DocsEditable
- num getSubStringLength(int offset, int length) native;
+ double getSubStringLength(int offset, int length) native;
@DomName('SVGTextContentElement.selectSubString')
@DocsEditable
@@ -6313,7 +6313,7 @@ class Transform native "SVGTransform" {
@DomName('SVGTransform.angle')
@DocsEditable
- final num angle;
+ final double angle;
@DomName('SVGTransform.matrix')
@DocsEditable
@@ -6329,23 +6329,23 @@ class Transform native "SVGTransform" {
@DomName('SVGTransform.setRotate')
@DocsEditable
- void setRotate(num angle, num cx, num cy) native;
+ void setRotate(double angle, double cx, double cy) native;
@DomName('SVGTransform.setScale')
@DocsEditable
- void setScale(num sx, num sy) native;
+ void setScale(double sx, double sy) native;
@DomName('SVGTransform.setSkewX')
@DocsEditable
- void setSkewX(num angle) native;
+ void setSkewX(double angle) native;
@DomName('SVGTransform.setSkewY')
@DocsEditable
- void setSkewY(num angle) native;
+ void setSkewY(double angle) native;
@DomName('SVGTransform.setTranslate')
@DocsEditable
- void setTranslate(num tx, num ty) native;
+ void setTranslate(double tx, double ty) native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -6738,7 +6738,7 @@ class ZoomEvent extends UIEvent native "SVGZoomEvent" {
@DomName('SVGZoomEvent.newScale')
@DocsEditable
- final num newScale;
+ final double newScale;
@DomName('SVGZoomEvent.newTranslate')
@DocsEditable
@@ -6746,7 +6746,7 @@ class ZoomEvent extends UIEvent native "SVGZoomEvent" {
@DomName('SVGZoomEvent.previousScale')
@DocsEditable
- final num previousScale;
+ final double previousScale;
@DomName('SVGZoomEvent.previousTranslate')
@DocsEditable
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698