OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2006, Google Inc. All rights reserved. | 2 * Copyright (c) 2006, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 13 matching lines...) Expand all Loading... |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "core/platform/graphics/GraphicsContext.h" | 32 #include "core/platform/graphics/GraphicsContext.h" |
33 | 33 |
34 #include "KURL.h" | |
35 #include "NativeImageSkia.h" | 34 #include "NativeImageSkia.h" |
36 #include "NotImplemented.h" | |
37 #include "PlatformContextSkia.h" | 35 #include "PlatformContextSkia.h" |
| 36 #include "core/platform/KURL.h" |
| 37 #include "core/platform/NotImplemented.h" |
38 #include "core/platform/graphics/Color.h" | 38 #include "core/platform/graphics/Color.h" |
39 #include "core/platform/graphics/FloatRect.h" | 39 #include "core/platform/graphics/FloatRect.h" |
40 #include "core/platform/graphics/Gradient.h" | 40 #include "core/platform/graphics/Gradient.h" |
41 #include "core/platform/graphics/ImageBuffer.h" | 41 #include "core/platform/graphics/ImageBuffer.h" |
42 #include "core/platform/graphics/IntRect.h" | 42 #include "core/platform/graphics/IntRect.h" |
43 #include "core/platform/graphics/transforms/AffineTransform.h" | 43 #include "core/platform/graphics/transforms/AffineTransform.h" |
44 | 44 |
45 #include "SkAnnotation.h" | 45 #include "SkAnnotation.h" |
46 #include "SkBitmap.h" | 46 #include "SkBitmap.h" |
47 #include "SkBlurMaskFilter.h" | 47 #include "SkBlurMaskFilter.h" |
(...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1224 if (paintingDisabled()) | 1224 if (paintingDisabled()) |
1225 return; | 1225 return; |
1226 | 1226 |
1227 SkRect rect(ellipse); | 1227 SkRect rect(ellipse); |
1228 SkPaint paint; | 1228 SkPaint paint; |
1229 platformContext()->setupPaintForStroking(&paint, 0, 0); | 1229 platformContext()->setupPaintForStroking(&paint, 0, 0); |
1230 platformContext()->drawOval(rect, paint); | 1230 platformContext()->drawOval(rect, paint); |
1231 } | 1231 } |
1232 | 1232 |
1233 } // namespace WebCore | 1233 } // namespace WebCore |
OLD | NEW |