OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2006 Apple Computer, Inc | 5 * Copyright (C) 2006 Apple Computer, Inc |
6 * Copyright (C) 2009 Google, Inc. | 6 * Copyright (C) 2009 Google, Inc. |
7 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org> | 7 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org> |
8 * Copyright (C) 2011 University of Szeged | 8 * Copyright (C) 2011 University of Szeged |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "platform/geometry/FloatRect.h" | 31 #include "platform/geometry/FloatRect.h" |
32 #include "platform/transforms/AffineTransform.h" | 32 #include "platform/transforms/AffineTransform.h" |
33 #include "wtf/OwnPtr.h" | 33 #include "wtf/OwnPtr.h" |
34 #include "wtf/Vector.h" | 34 #include "wtf/Vector.h" |
35 | 35 |
36 namespace WebCore { | 36 namespace WebCore { |
37 | 37 |
38 class FloatPoint; | 38 class FloatPoint; |
39 class GraphicsContextStateSaver; | 39 class GraphicsContextStateSaver; |
40 class PointerEventsHitRules; | 40 class PointerEventsHitRules; |
41 class RenderSVGContainer; | |
42 class RenderSVGPath; | |
43 class RenderSVGResource; | |
44 class SVGGraphicsElement; | 41 class SVGGraphicsElement; |
45 | 42 |
46 class RenderSVGShape : public RenderSVGModelObject { | 43 class RenderSVGShape : public RenderSVGModelObject { |
47 public: | 44 public: |
48 explicit RenderSVGShape(SVGGraphicsElement*); | 45 explicit RenderSVGShape(SVGGraphicsElement*); |
49 RenderSVGShape(SVGGraphicsElement*, Path*, bool); | 46 RenderSVGShape(SVGGraphicsElement*, Path*, bool); |
50 virtual ~RenderSVGShape(); | 47 virtual ~RenderSVGShape(); |
51 | 48 |
52 void setNeedsShapeUpdate() { m_needsShapeUpdate = true; } | 49 void setNeedsShapeUpdate() { m_needsShapeUpdate = true; } |
53 virtual void setNeedsBoundariesUpdate() OVERRIDE FINAL { m_needsBoundariesUp
date = true; } | 50 virtual void setNeedsBoundariesUpdate() OVERRIDE FINAL { m_needsBoundariesUp
date = true; } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 bool m_needsBoundariesUpdate : 1; | 119 bool m_needsBoundariesUpdate : 1; |
123 bool m_needsShapeUpdate : 1; | 120 bool m_needsShapeUpdate : 1; |
124 bool m_needsTransformUpdate : 1; | 121 bool m_needsTransformUpdate : 1; |
125 }; | 122 }; |
126 | 123 |
127 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGShape, isSVGShape()); | 124 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGShape, isSVGShape()); |
128 | 125 |
129 } | 126 } |
130 | 127 |
131 #endif | 128 #endif |
OLD | NEW |