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

Side by Side Diff: core/svg/SVGPathElement.idl

Issue 126143003: Update IDL to Chrome 32 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 11 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
« no previous file with comments | « core/svg/SVGMatrix.idl ('k') | core/svg/SVGUseElement.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 2 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
3 * Copyright (C) 2006 Apple Inc. All rights reserved. 3 * Copyright (C) 2006 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 10 matching lines...) Expand all
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 interface SVGPathElement : SVGGraphicsElement { 27 interface SVGPathElement : SVGGraphicsElement {
28 readonly attribute SVGAnimatedNumber pathLength; 28 readonly attribute SVGAnimatedNumber pathLength;
29 29
30 float getTotalLength(); 30 float getTotalLength();
31 SVGPoint getPointAtLength([Default=Undefined] optional float distance); 31 [StrictTypeChecking] SVGPoint getPointAtLength(float distance);
32 unsigned long getPathSegAtLength([Default=Undefined] optional float distance ); 32 [StrictTypeChecking] unsigned long getPathSegAtLength(float distance);
33 33
34 SVGPathSegClosePath createSVGPathSegClosePath(); 34 SVGPathSegClosePath createSVGPathSegClosePath();
35 35
36 SVGPathSegMovetoAbs createSVGPathSegMovetoAbs([Default=Undefined] optional f loat x, 36 [StrictTypeChecking] SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(float x, float y);
37 [Default=Undefined] optional f loat y); 37 [StrictTypeChecking] SVGPathSegMovetoRel createSVGPathSegMovetoRel(float x, float y);
38 SVGPathSegMovetoRel createSVGPathSegMovetoRel([Default=Undefined] optional f loat x,
39 [Default=Undefined] optional f loat y);
40 38
41 SVGPathSegLinetoAbs createSVGPathSegLinetoAbs([Default=Undefined] optional f loat x, 39 [StrictTypeChecking] SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(float x, float y);
42 [Default=Undefined] optional f loat y); 40 [StrictTypeChecking] SVGPathSegLinetoRel createSVGPathSegLinetoRel(float x, float y);
43 SVGPathSegLinetoRel createSVGPathSegLinetoRel([Default=Undefined] optional f loat x,
44 [Default=Undefined] optional f loat y);
45 41
46 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs([Default=Undefined ] optional float x, 42 [StrictTypeChecking] SVGPathSegCurvetoCubicAbs
47 [Default=Undefined ] optional float y, 43 createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, fl oat x2, float y2);
48 [Default=Undefined ] optional float x1, 44 [StrictTypeChecking] SVGPathSegCurvetoCubicRel
49 [Default=Undefined ] optional float y1, 45 createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, fl oat x2, float y2);
50 [Default=Undefined ] optional float x2,
51 [Default=Undefined ] optional float y2);
52 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel([Default=Undefined ] optional float x,
53 [Default=Undefined ] optional float y,
54 [Default=Undefined ] optional float x1,
55 [Default=Undefined ] optional float y1,
56 [Default=Undefined ] optional float x2,
57 [Default=Undefined ] optional float y2);
58 46
59 SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs([Default=U ndefined] optional float x, 47 [StrictTypeChecking] SVGPathSegCurvetoQuadraticAbs
60 [Default=U ndefined] optional float y, 48 createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1 );
61 [Default=U ndefined] optional float x1, 49 [StrictTypeChecking] SVGPathSegCurvetoQuadraticRel
62 [Default=U ndefined] optional float y1); 50 createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1 );
63 SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel([Default=U ndefined] optional float x,
64 [Default=U ndefined] optional float y,
65 [Default=U ndefined] optional float x1,
66 [Default=U ndefined] optional float y1);
67 51
68 SVGPathSegArcAbs createSVGPathSegArcAbs([Default=Undefined] optional float x , 52 [StrictTypeChecking] SVGPathSegArcAbs
69 [Default=Undefined] optional float y , 53 createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle , boolean largeArcFlag, boolean sweepFlag);
70 [Default=Undefined] optional float r 1, 54 [StrictTypeChecking] SVGPathSegArcRel
71 [Default=Undefined] optional float r 2, 55 createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle , boolean largeArcFlag, boolean sweepFlag);
72 [Default=Undefined] optional float a ngle,
73 [Default=Undefined] optional boolean largeArcFlag,
74 [Default=Undefined] optional boolean sweepFlag);
75 SVGPathSegArcRel createSVGPathSegArcRel([Default=Undefined] optional float x ,
76 [Default=Undefined] optional float y ,
77 [Default=Undefined] optional float r 1,
78 [Default=Undefined] optional float r 2,
79 [Default=Undefined] optional float a ngle,
80 [Default=Undefined] optional boolean largeArcFlag,
81 [Default=Undefined] optional boolean sweepFlag);
82 56
83 SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs([Default=U ndefined] optional float x); 57 [StrictTypeChecking] SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHor izontalAbs(float x);
84 SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel([Default=U ndefined] optional float x); 58 [StrictTypeChecking] SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHor izontalRel(float x);
85 59
86 SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs([Default=Undef ined] optional float y); 60 [StrictTypeChecking] SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerti calAbs(float y);
87 SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel([Default=Undef ined] optional float y); 61 [StrictTypeChecking] SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerti calRel(float y);
88 62
89 SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs([Defau lt=Undefined] optional float x, 63 [StrictTypeChecking] SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurveto CubicSmoothAbs(float x, float y, float x2, float y2);
90 [Defau lt=Undefined] optional float y, 64 [StrictTypeChecking] SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurveto CubicSmoothRel(float x, float y, float x2, float y2);
91 [Defau lt=Undefined] optional float x2,
92 [Defau lt=Undefined] optional float y2);
93 SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel([Defau lt=Undefined] optional float x,
94 [Defau lt=Undefined] optional float y,
95 [Defau lt=Undefined] optional float x2,
96 [Defau lt=Undefined] optional float y2);
97 65
98 SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAb s([Default=Undefined] optional float x, 66 [StrictTypeChecking] SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCur vetoQuadraticSmoothAbs(float x, float y);
99 [Default=Undefined] optional float y); 67 [StrictTypeChecking] SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCur vetoQuadraticSmoothRel(float x, float y);
100 SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRe l([Default=Undefined] optional float x,
101 [Default=Undefined] optional float y);
102 68
103 readonly attribute SVGPathSegList pathSegList; 69 readonly attribute SVGPathSegList pathSegList;
104 readonly attribute SVGPathSegList normalizedPathSegList; 70 readonly attribute SVGPathSegList normalizedPathSegList;
105 readonly attribute SVGPathSegList animatedPathSegList; 71 readonly attribute SVGPathSegList animatedPathSegList;
106 readonly attribute SVGPathSegList animatedNormalizedPathSegList; 72 readonly attribute SVGPathSegList animatedNormalizedPathSegList;
107 }; 73 };
108 74
109 SVGPathElement implements SVGExternalResourcesRequired; 75 SVGPathElement implements SVGExternalResourcesRequired;
OLDNEW
« no previous file with comments | « core/svg/SVGMatrix.idl ('k') | core/svg/SVGUseElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698