| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. |
| 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef CanvasRenderingContext2D_h | 26 #ifndef CanvasRenderingContext2D_h |
| 27 #define CanvasRenderingContext2D_h | 27 #define CanvasRenderingContext2D_h |
| 28 | 28 |
| 29 #include "core/html/canvas/Canvas2DContextAttributes.h" | 29 #include "core/html/canvas/Canvas2DContextAttributes.h" |
| 30 #include "core/html/canvas/CanvasPathMethods.h" | 30 #include "core/html/canvas/CanvasPathMethods.h" |
| 31 #include "core/html/canvas/CanvasRenderingContext.h" | 31 #include "core/html/canvas/CanvasRenderingContext.h" |
| 32 #include "core/platform/graphics/Font.h" | |
| 33 #include "core/platform/graphics/ImageBuffer.h" | |
| 34 #include "core/platform/graphics/Path.h" | |
| 35 #include "core/svg/SVGMatrix.h" | 32 #include "core/svg/SVGMatrix.h" |
| 33 #include "platform/fonts/Font.h" |
| 34 #include "platform/graphics/Color.h" |
| 36 #include "platform/geometry/FloatSize.h" | 35 #include "platform/geometry/FloatSize.h" |
| 37 #include "platform/graphics/Color.h" | |
| 38 #include "platform/graphics/GraphicsTypes.h" | 36 #include "platform/graphics/GraphicsTypes.h" |
| 37 #include "platform/graphics/ImageBuffer.h" |
| 38 #include "platform/graphics/Path.h" |
| 39 #include "platform/transforms/AffineTransform.h" | 39 #include "platform/transforms/AffineTransform.h" |
| 40 #include "wtf/HashMap.h" | 40 #include "wtf/HashMap.h" |
| 41 #include "wtf/Vector.h" | 41 #include "wtf/Vector.h" |
| 42 #include "wtf/text/WTFString.h" | 42 #include "wtf/text/WTFString.h" |
| 43 | 43 |
| 44 namespace blink { class WebLayer; } | 44 namespace blink { class WebLayer; } |
| 45 | 45 |
| 46 namespace WebCore { | 46 namespace WebCore { |
| 47 | 47 |
| 48 class CanvasGradient; | 48 class CanvasGradient; |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 bool m_usesCSSCompatibilityParseMode; | 337 bool m_usesCSSCompatibilityParseMode; |
| 338 bool m_hasAlpha; | 338 bool m_hasAlpha; |
| 339 MutableStylePropertyMap m_fetchedFonts; | 339 MutableStylePropertyMap m_fetchedFonts; |
| 340 }; | 340 }; |
| 341 | 341 |
| 342 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con
text->is2d(), context.is2d()); | 342 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con
text->is2d(), context.is2d()); |
| 343 | 343 |
| 344 } // namespace WebCore | 344 } // namespace WebCore |
| 345 | 345 |
| 346 #endif | 346 #endif |
| OLD | NEW |