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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 private: | 170 private: |
171 void setMatrix(const Transform m) | 171 void setMatrix(const Transform m) |
172 { | 172 { |
173 if (m && m != m_transform) | 173 if (m && m != m_transform) |
174 memcpy(m_transform, m, sizeof(Transform)); | 174 memcpy(m_transform, m, sizeof(Transform)); |
175 } | 175 } |
176 | 176 |
177 Transform m_transform; | 177 Transform m_transform; |
178 }; | 178 }; |
179 | 179 |
180 PLATFORM_EXPORT AffineTransform makeMapBetweenRects(const FloatRect& source, con
st FloatRect& dest); | |
181 | |
182 } | 180 } |
183 | 181 |
184 #endif | 182 #endif |
OLD | NEW |