| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved. |
| 3 * 2010 Dirk Schulze <krit@webkit.org> | 3 * 2010 Dirk Schulze <krit@webkit.org> |
| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 AffineTransform& rotateRadians(double a); | 103 AffineTransform& rotateRadians(double a); |
| 104 AffineTransform& rotateFromVector(double x, double y); | 104 AffineTransform& rotateFromVector(double x, double y); |
| 105 AffineTransform& translate(double tx, double ty); | 105 AffineTransform& translate(double tx, double ty); |
| 106 AffineTransform& shear(double sx, double sy); | 106 AffineTransform& shear(double sx, double sy); |
| 107 AffineTransform& flipX(); | 107 AffineTransform& flipX(); |
| 108 AffineTransform& flipY(); | 108 AffineTransform& flipY(); |
| 109 AffineTransform& skew(double angleX, double angleY); | 109 AffineTransform& skew(double angleX, double angleY); |
| 110 AffineTransform& skewX(double angle); | 110 AffineTransform& skewX(double angle); |
| 111 AffineTransform& skewY(double angle); | 111 AffineTransform& skewY(double angle); |
| 112 | 112 |
| 113 double xScaleSquared() const; |
| 113 double xScale() const; | 114 double xScale() const; |
| 115 double yScaleSquared() const; |
| 114 double yScale() const; | 116 double yScale() const; |
| 115 | 117 |
| 116 double det() const; | 118 double det() const; |
| 117 bool isInvertible() const; | 119 bool isInvertible() const; |
| 118 AffineTransform inverse() const; | 120 AffineTransform inverse() const; |
| 119 | 121 |
| 120 TransformationMatrix toTransformationMatrix() const; | 122 TransformationMatrix toTransformationMatrix() const; |
| 121 | 123 |
| 122 bool isIdentityOrTranslation() const | 124 bool isIdentityOrTranslation() const |
| 123 { | 125 { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 Transform m_transform; | 193 Transform m_transform; |
| 192 }; | 194 }; |
| 193 | 195 |
| 194 // Redeclared here to avoid ODR issues. | 196 // Redeclared here to avoid ODR issues. |
| 195 // See platform/testing/TransformPrinters.h. | 197 // See platform/testing/TransformPrinters.h. |
| 196 void PrintTo(const AffineTransform&, std::ostream*); | 198 void PrintTo(const AffineTransform&, std::ostream*); |
| 197 | 199 |
| 198 } // namespace blink | 200 } // namespace blink |
| 199 | 201 |
| 200 #endif | 202 #endif |
| OLD | NEW |