| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2005 Nokia. All rights reserved. | 3 * Copyright (C) 2005 Nokia. 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 PLATFORM_EXPORT IntRect enclosingIntRect(const FloatRect&); | 250 PLATFORM_EXPORT IntRect enclosingIntRect(const FloatRect&); |
| 251 | 251 |
| 252 // Returns a valid IntRect contained within the given FloatRect. | 252 // Returns a valid IntRect contained within the given FloatRect. |
| 253 PLATFORM_EXPORT IntRect enclosedIntRect(const FloatRect&); | 253 PLATFORM_EXPORT IntRect enclosedIntRect(const FloatRect&); |
| 254 | 254 |
| 255 PLATFORM_EXPORT IntRect roundedIntRect(const FloatRect&); | 255 PLATFORM_EXPORT IntRect roundedIntRect(const FloatRect&); |
| 256 | 256 |
| 257 // Map supplied rect from srcRect to an equivalent rect in destRect. | 257 // Map supplied rect from srcRect to an equivalent rect in destRect. |
| 258 PLATFORM_EXPORT FloatRect mapRect(const FloatRect&, const FloatRect& srcRect, co
nst FloatRect& destRect); | 258 PLATFORM_EXPORT FloatRect mapRect(const FloatRect&, const FloatRect& srcRect, co
nst FloatRect& destRect); |
| 259 | 259 |
| 260 // Redeclared here to avoid ODR issues. | 260 PLATFORM_EXPORT std::ostream& operator<<(std::ostream&, const FloatRect&); |
| 261 // See platform/testing/GeometryPrinters.h. | |
| 262 void PrintTo(const FloatRect&, std::ostream*); | |
| 263 | 261 |
| 264 } // namespace blink | 262 } // namespace blink |
| 265 | 263 |
| 266 #endif | 264 #endif |
| OLD | NEW |