| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2009 Apple Inc. All rights reserved. |
| 3 * 2006 Rob Buis <buis@kde.org> | 3 * 2006 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007-2008 Torch Mobile, Inc. | 4 * Copyright (C) 2007-2008 Torch Mobile, Inc. |
| 5 * Copyright (C) 2013 Google Inc. All rights reserved. | 5 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 // Updates the path to the union (inclusive-or) of itself with the given arg
ument. | 149 // Updates the path to the union (inclusive-or) of itself with the given arg
ument. |
| 150 bool unionPath(const Path& other); | 150 bool unionPath(const Path& other); |
| 151 | 151 |
| 152 private: | 152 private: |
| 153 void addEllipse(const FloatPoint&, float radiusX, float radiusY, float start
Angle, float endAngle, bool anticlockwise); | 153 void addEllipse(const FloatPoint&, float radiusX, float radiusY, float start
Angle, float endAngle, bool anticlockwise); |
| 154 | 154 |
| 155 SkPath m_path; | 155 SkPath m_path; |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 #if ASSERT_ENABLED | 158 #if ENABLE(ASSERT) |
| 159 PLATFORM_EXPORT bool ellipseIsRenderable(float startAngle, float endAngle); | 159 PLATFORM_EXPORT bool ellipseIsRenderable(float startAngle, float endAngle); |
| 160 #endif | 160 #endif |
| 161 | 161 |
| 162 } | 162 } |
| 163 | 163 |
| 164 #endif | 164 #endif |
| OLD | NEW |