| 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 } | 542 } |
| 543 | 543 |
| 544 bool Path::unionPath(const Path& other) { | 544 bool Path::unionPath(const Path& other) { |
| 545 return Op(m_path, other.m_path, kUnion_SkPathOp, &m_path); | 545 return Op(m_path, other.m_path, kUnion_SkPathOp, &m_path); |
| 546 } | 546 } |
| 547 | 547 |
| 548 bool Path::intersectPath(const Path& other) { | 548 bool Path::intersectPath(const Path& other) { |
| 549 return Op(m_path, other.m_path, kIntersect_SkPathOp, &m_path); | 549 return Op(m_path, other.m_path, kIntersect_SkPathOp, &m_path); |
| 550 } | 550 } |
| 551 | 551 |
| 552 #if ENABLE(ASSERT) | 552 #if DCHECK_IS_ON() |
| 553 bool ellipseIsRenderable(float startAngle, float endAngle) { | 553 bool ellipseIsRenderable(float startAngle, float endAngle) { |
| 554 return (std::abs(endAngle - startAngle) < twoPiFloat) || | 554 return (std::abs(endAngle - startAngle) < twoPiFloat) || |
| 555 WebCoreFloatNearlyEqual(std::abs(endAngle - startAngle), twoPiFloat); | 555 WebCoreFloatNearlyEqual(std::abs(endAngle - startAngle), twoPiFloat); |
| 556 } | 556 } |
| 557 #endif | 557 #endif |
| 558 | 558 |
| 559 } // namespace blink | 559 } // namespace blink |
| OLD | NEW |