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 25 matching lines...) Expand all Loading... |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
38 class FloatPoint; | 38 class FloatPoint; |
39 class GraphicsContextStateSaver; | 39 class GraphicsContextStateSaver; |
40 class PointerEventsHitRules; | 40 class PointerEventsHitRules; |
41 class SVGGraphicsElement; | 41 class SVGGraphicsElement; |
42 | 42 |
43 class RenderSVGShape : public RenderSVGModelObject { | 43 class RenderSVGShape : public RenderSVGModelObject { |
44 public: | 44 public: |
45 explicit RenderSVGShape(SVGGraphicsElement*); | 45 explicit RenderSVGShape(SVGGraphicsElement*); |
46 RenderSVGShape(SVGGraphicsElement*, Path*, bool); | |
47 virtual ~RenderSVGShape(); | 46 virtual ~RenderSVGShape(); |
48 | 47 |
49 void setNeedsShapeUpdate() { m_needsShapeUpdate = true; } | 48 void setNeedsShapeUpdate() { m_needsShapeUpdate = true; } |
50 virtual void setNeedsBoundariesUpdate() OVERRIDE FINAL { m_needsBoundariesUp
date = true; } | 49 virtual void setNeedsBoundariesUpdate() OVERRIDE FINAL { m_needsBoundariesUp
date = true; } |
51 virtual void setNeedsTransformUpdate() OVERRIDE FINAL { m_needsTransformUpda
te = true; } | 50 virtual void setNeedsTransformUpdate() OVERRIDE FINAL { m_needsTransformUpda
te = true; } |
52 virtual void fillShape(GraphicsContext*) const; | 51 virtual void fillShape(GraphicsContext*) const; |
53 virtual void strokeShape(GraphicsContext*) const; | 52 virtual void strokeShape(GraphicsContext*) const; |
54 | 53 |
55 bool nodeAtFloatPointInternal(const HitTestRequest&, const FloatPoint&, Poin
terEventsHitRules); | 54 bool nodeAtFloatPointInternal(const HitTestRequest&, const FloatPoint&, Poin
terEventsHitRules); |
56 | 55 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 bool m_needsBoundariesUpdate : 1; | 119 bool m_needsBoundariesUpdate : 1; |
121 bool m_needsShapeUpdate : 1; | 120 bool m_needsShapeUpdate : 1; |
122 bool m_needsTransformUpdate : 1; | 121 bool m_needsTransformUpdate : 1; |
123 }; | 122 }; |
124 | 123 |
125 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGShape, isSVGShape()); | 124 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGShape, isSVGShape()); |
126 | 125 |
127 } | 126 } |
128 | 127 |
129 #endif | 128 #endif |
OLD | NEW |