OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. |
3 * 2006 Rob Buis <buis@kde.org> | 3 * 2006 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2013 Google Inc. All rights reserved. | 5 * Copyright (C) 2013 Google Inc. All rights reserved. |
6 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 6 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
7 * | 7 * |
8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
10 * are met: | 10 * are met: |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 } | 496 } |
497 | 497 |
498 #if ENABLE(ASSERT) | 498 #if ENABLE(ASSERT) |
499 bool ellipseIsRenderable(float startAngle, float endAngle) | 499 bool ellipseIsRenderable(float startAngle, float endAngle) |
500 { | 500 { |
501 return (std::abs(endAngle - startAngle) < twoPiFloat) | 501 return (std::abs(endAngle - startAngle) < twoPiFloat) |
502 || WebCoreFloatNearlyEqual(std::abs(endAngle - startAngle), twoPiFloat); | 502 || WebCoreFloatNearlyEqual(std::abs(endAngle - startAngle), twoPiFloat); |
503 } | 503 } |
504 #endif | 504 #endif |
505 | 505 |
506 } | 506 } // namespace blink |
OLD | NEW |