| 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 27 matching lines...) Expand all Loading... |
| 38 #include "wtf/Forward.h" | 38 #include "wtf/Forward.h" |
| 39 | 39 |
| 40 class SkPath; | 40 class SkPath; |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 class AffineTransform; | 44 class AffineTransform; |
| 45 class FloatPoint; | 45 class FloatPoint; |
| 46 class FloatRect; | 46 class FloatRect; |
| 47 class FloatSize; | 47 class FloatSize; |
| 48 class GraphicsContext; | |
| 49 class StrokeData; | 48 class StrokeData; |
| 50 | 49 |
| 51 enum PathElementType { | 50 enum PathElementType { |
| 52 PathElementMoveToPoint, // The points member will contain 1 value. | 51 PathElementMoveToPoint, // The points member will contain 1 value. |
| 53 PathElementAddLineToPoint, // The points member will contain 1 value. | 52 PathElementAddLineToPoint, // The points member will contain 1 value. |
| 54 PathElementAddQuadCurveToPoint, // The points member will contain 2 values. | 53 PathElementAddQuadCurveToPoint, // The points member will contain 2 values. |
| 55 PathElementAddCurveToPoint, // The points member will contain 3 values. | 54 PathElementAddCurveToPoint, // The points member will contain 3 values. |
| 56 PathElementCloseSubpath // The points member will contain no values. | 55 PathElementCloseSubpath // The points member will contain no values. |
| 57 }; | 56 }; |
| 58 | 57 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 SkPath m_path; | 154 SkPath m_path; |
| 156 }; | 155 }; |
| 157 | 156 |
| 158 #if ENABLE(ASSERT) | 157 #if ENABLE(ASSERT) |
| 159 PLATFORM_EXPORT bool ellipseIsRenderable(float startAngle, float endAngle); | 158 PLATFORM_EXPORT bool ellipseIsRenderable(float startAngle, float endAngle); |
| 160 #endif | 159 #endif |
| 161 | 160 |
| 162 } // namespace blink | 161 } // namespace blink |
| 163 | 162 |
| 164 #endif | 163 #endif |
| OLD | NEW |