OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 attribute unrestricted double m33; | 52 attribute unrestricted double m33; |
53 attribute unrestricted double m34; | 53 attribute unrestricted double m34; |
54 attribute unrestricted double m41; | 54 attribute unrestricted double m41; |
55 attribute unrestricted double m42; | 55 attribute unrestricted double m42; |
56 attribute unrestricted double m43; | 56 attribute unrestricted double m43; |
57 attribute unrestricted double m44; | 57 attribute unrestricted double m44; |
58 | 58 |
59 [RaisesException] void setMatrixValue([Default=Undefined] optional DOMString
string); | 59 [RaisesException] void setMatrixValue([Default=Undefined] optional DOMString
string); |
60 | 60 |
61 // Multiply this matrix by secondMatrix, on the right (result = this * secon
dMatrix) | 61 // Multiply this matrix by secondMatrix, on the right (result = this * secon
dMatrix) |
62 [LegacyInterfaceTypeChecking] WebKitCSSMatrix multiply([Default=Undefined] o
ptional WebKitCSSMatrix secondMatrix); | 62 [LegacyInterfaceTypeChecking, RaisesException] WebKitCSSMatrix multiply([Def
ault=Undefined] optional WebKitCSSMatrix secondMatrix); |
63 | 63 |
64 // Return the inverse of this matrix. Throw an exception if the matrix is no
t invertible | 64 // Return the inverse of this matrix. Throw an exception if the matrix is no
t invertible |
65 [RaisesException] WebKitCSSMatrix inverse(); | 65 [RaisesException] WebKitCSSMatrix inverse(); |
66 | 66 |
67 // Return this matrix translated by the passed values. | 67 // Return this matrix translated by the passed values. |
68 // Passing a NaN will use a value of 0. This allows the 3D form to used for
2D operations | 68 // Passing a NaN will use a value of 0. This allows the 3D form to used for
2D operations |
69 WebKitCSSMatrix translate([Default=Undefined] optional unrestricted double x
, | 69 WebKitCSSMatrix translate([Default=Undefined] optional unrestricted double x
, |
70 [Default=Undefined] optional unrestricted double y
, | 70 [Default=Undefined] optional unrestricted double y
, |
71 [Default=Undefined] optional unrestricted double z
); | 71 [Default=Undefined] optional unrestricted double z
); |
72 | 72 |
(...skipping 22 matching lines...) Expand all Loading... |
95 // Returns this matrix skewed along the X axis by the passed values. | 95 // Returns this matrix skewed along the X axis by the passed values. |
96 // Passing a NaN will use a value of 0. | 96 // Passing a NaN will use a value of 0. |
97 WebKitCSSMatrix skewX([Default=Undefined] optional unrestricted double angle
); | 97 WebKitCSSMatrix skewX([Default=Undefined] optional unrestricted double angle
); |
98 | 98 |
99 // Returns this matrix skewed along the Y axis by the passed values. | 99 // Returns this matrix skewed along the Y axis by the passed values. |
100 // Passing a NaN will use a value of 0. | 100 // Passing a NaN will use a value of 0. |
101 WebKitCSSMatrix skewY([Default=Undefined] optional unrestricted double angle
); | 101 WebKitCSSMatrix skewY([Default=Undefined] optional unrestricted double angle
); |
102 | 102 |
103 [NotEnumerable] stringifier; | 103 [NotEnumerable] stringifier; |
104 }; | 104 }; |
OLD | NEW |