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

Side by Side Diff: client/html/generated/html/dartium/SVGPathElement.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1
2 class _SVGPathElementImpl extends _SVGElementImpl implements SVGPathElement {
3 _SVGPathElementImpl._wrap(ptr) : super._wrap(ptr);
4
5 SVGPathSegList get animatedNormalizedPathSegList() => _wrap(_ptr.animatedNorma lizedPathSegList);
6
7 SVGPathSegList get animatedPathSegList() => _wrap(_ptr.animatedPathSegList);
8
9 SVGPathSegList get normalizedPathSegList() => _wrap(_ptr.normalizedPathSegList );
10
11 SVGAnimatedNumber get pathLength() => _wrap(_ptr.pathLength);
12
13 SVGPathSegList get pathSegList() => _wrap(_ptr.pathSegList);
14
15 SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag) {
16 return _wrap(_ptr.createSVGPathSegArcAbs(_unwrap(x), _unwrap(y), _unwrap(r1) , _unwrap(r2), _unwrap(angle), _unwrap(largeArcFlag), _unwrap(sweepFlag)));
17 }
18
19 SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angl e, bool largeArcFlag, bool sweepFlag) {
20 return _wrap(_ptr.createSVGPathSegArcRel(_unwrap(x), _unwrap(y), _unwrap(r1) , _unwrap(r2), _unwrap(angle), _unwrap(largeArcFlag), _unwrap(sweepFlag)));
21 }
22
23 SVGPathSegClosePath createSVGPathSegClosePath() {
24 return _wrap(_ptr.createSVGPathSegClosePath());
25 }
26
27 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1 , num y1, num x2, num y2) {
28 return _wrap(_ptr.createSVGPathSegCurvetoCubicAbs(_unwrap(x), _unwrap(y), _u nwrap(x1), _unwrap(y1), _unwrap(x2), _unwrap(y2)));
29 }
30
31 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1 , num y1, num x2, num y2) {
32 return _wrap(_ptr.createSVGPathSegCurvetoCubicRel(_unwrap(x), _unwrap(y), _u nwrap(x1), _unwrap(y1), _unwrap(x2), _unwrap(y2)));
33 }
34
35 SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, n um y, num x2, num y2) {
36 return _wrap(_ptr.createSVGPathSegCurvetoCubicSmoothAbs(_unwrap(x), _unwrap( y), _unwrap(x2), _unwrap(y2)));
37 }
38
39 SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, n um y, num x2, num y2) {
40 return _wrap(_ptr.createSVGPathSegCurvetoCubicSmoothRel(_unwrap(x), _unwrap( y), _unwrap(x2), _unwrap(y2)));
41 }
42
43 SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y , num x1, num y1) {
44 return _wrap(_ptr.createSVGPathSegCurvetoQuadraticAbs(_unwrap(x), _unwrap(y) , _unwrap(x1), _unwrap(y1)));
45 }
46
47 SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y , num x1, num y1) {
48 return _wrap(_ptr.createSVGPathSegCurvetoQuadraticRel(_unwrap(x), _unwrap(y) , _unwrap(x1), _unwrap(y1)));
49 }
50
51 SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs( num x, num y) {
52 return _wrap(_ptr.createSVGPathSegCurvetoQuadraticSmoothAbs(_unwrap(x), _unw rap(y)));
53 }
54
55 SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel( num x, num y) {
56 return _wrap(_ptr.createSVGPathSegCurvetoQuadraticSmoothRel(_unwrap(x), _unw rap(y)));
57 }
58
59 SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y) {
60 return _wrap(_ptr.createSVGPathSegLinetoAbs(_unwrap(x), _unwrap(y)));
61 }
62
63 SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x) {
64 return _wrap(_ptr.createSVGPathSegLinetoHorizontalAbs(_unwrap(x)));
65 }
66
67 SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x) {
68 return _wrap(_ptr.createSVGPathSegLinetoHorizontalRel(_unwrap(x)));
69 }
70
71 SVGPathSegLinetoRel createSVGPathSegLinetoRel(num x, num y) {
72 return _wrap(_ptr.createSVGPathSegLinetoRel(_unwrap(x), _unwrap(y)));
73 }
74
75 SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y) {
76 return _wrap(_ptr.createSVGPathSegLinetoVerticalAbs(_unwrap(y)));
77 }
78
79 SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y) {
80 return _wrap(_ptr.createSVGPathSegLinetoVerticalRel(_unwrap(y)));
81 }
82
83 SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y) {
84 return _wrap(_ptr.createSVGPathSegMovetoAbs(_unwrap(x), _unwrap(y)));
85 }
86
87 SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y) {
88 return _wrap(_ptr.createSVGPathSegMovetoRel(_unwrap(x), _unwrap(y)));
89 }
90
91 int getPathSegAtLength(num distance) {
92 return _wrap(_ptr.getPathSegAtLength(_unwrap(distance)));
93 }
94
95 SVGPoint getPointAtLength(num distance) {
96 return _wrap(_ptr.getPointAtLength(_unwrap(distance)));
97 }
98
99 num getTotalLength() {
100 return _wrap(_ptr.getTotalLength());
101 }
102
103 // From SVGTests
104
105 SVGStringList get requiredExtensions() => _wrap(_ptr.requiredExtensions);
106
107 SVGStringList get requiredFeatures() => _wrap(_ptr.requiredFeatures);
108
109 SVGStringList get systemLanguage() => _wrap(_ptr.systemLanguage);
110
111 bool hasExtension(String extension) {
112 return _wrap(_ptr.hasExtension(_unwrap(extension)));
113 }
114
115 // From SVGLangSpace
116
117 String get xmllang() => _wrap(_ptr.xmllang);
118
119 void set xmllang(String value) { _ptr.xmllang = _unwrap(value); }
120
121 String get xmlspace() => _wrap(_ptr.xmlspace);
122
123 void set xmlspace(String value) { _ptr.xmlspace = _unwrap(value); }
124
125 // From SVGExternalResourcesRequired
126
127 SVGAnimatedBoolean get externalResourcesRequired() => _wrap(_ptr.externalResou rcesRequired);
128
129 // From SVGStylable
130
131 SVGAnimatedString get _className() => _wrap(_ptr.className);
132
133 CSSStyleDeclaration get style() => _wrap(_ptr.style);
134
135 CSSValue getPresentationAttribute(String name) {
136 return _wrap(_ptr.getPresentationAttribute(_unwrap(name)));
137 }
138
139 // From SVGTransformable
140
141 SVGAnimatedTransformList get transform() => _wrap(_ptr.transform);
142
143 // From SVGLocatable
144
145 SVGElement get farthestViewportElement() => _wrap(_ptr.farthestViewportElement );
146
147 SVGElement get nearestViewportElement() => _wrap(_ptr.nearestViewportElement);
148
149 SVGRect getBBox() {
150 return _wrap(_ptr.getBBox());
151 }
152
153 SVGMatrix getCTM() {
154 return _wrap(_ptr.getCTM());
155 }
156
157 SVGMatrix getScreenCTM() {
158 return _wrap(_ptr.getScreenCTM());
159 }
160
161 SVGMatrix getTransformToElement(SVGElement element) {
162 return _wrap(_ptr.getTransformToElement(_unwrap(element)));
163 }
164 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698