| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 void setNeedsTransformUpdate() final { m_needsTransformUpdate = true; } | 64 void setNeedsTransformUpdate() final { m_needsTransformUpdate = true; } |
| 65 | 65 |
| 66 bool nodeAtFloatPointInternal(const HitTestRequest&, const FloatPoint&, Poin
terEventsHitRules); | 66 bool nodeAtFloatPointInternal(const HitTestRequest&, const FloatPoint&, Poin
terEventsHitRules); |
| 67 | 67 |
| 68 Path& path() const | 68 Path& path() const |
| 69 { | 69 { |
| 70 ASSERT(m_path); | 70 ASSERT(m_path); |
| 71 return *m_path; | 71 return *m_path; |
| 72 } | 72 } |
| 73 bool hasPath() const { return m_path.get(); } | 73 bool hasPath() const { return m_path.get(); } |
| 74 float dashScaleFactor() const; |
| 74 | 75 |
| 75 virtual bool isShapeEmpty() const { return path().isEmpty(); } | 76 virtual bool isShapeEmpty() const { return path().isEmpty(); } |
| 76 | 77 |
| 77 bool hasNonScalingStroke() const { return style()->svgStyle().vectorEffect()
== VE_NON_SCALING_STROKE; } | 78 bool hasNonScalingStroke() const { return style()->svgStyle().vectorEffect()
== VE_NON_SCALING_STROKE; } |
| 78 Path* nonScalingStrokePath(const Path*, const AffineTransform&) const; | 79 Path* nonScalingStrokePath(const Path*, const AffineTransform&) const; |
| 79 AffineTransform nonScalingStrokeTransform() const; | 80 AffineTransform nonScalingStrokeTransform() const; |
| 80 AffineTransform localTransform() const final { return m_localTransform; } | 81 AffineTransform localTransform() const final { return m_localTransform; } |
| 81 | 82 |
| 82 virtual const Vector<MarkerPosition>* markerPositions() const { return nullp
tr; } | 83 virtual const Vector<MarkerPosition>* markerPositions() const { return nullp
tr; } |
| 83 | 84 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 bool m_needsBoundariesUpdate : 1; | 140 bool m_needsBoundariesUpdate : 1; |
| 140 bool m_needsShapeUpdate : 1; | 141 bool m_needsShapeUpdate : 1; |
| 141 bool m_needsTransformUpdate : 1; | 142 bool m_needsTransformUpdate : 1; |
| 142 }; | 143 }; |
| 143 | 144 |
| 144 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGShape, isSVGShape()); | 145 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGShape, isSVGShape()); |
| 145 | 146 |
| 146 } // namespace blink | 147 } // namespace blink |
| 147 | 148 |
| 148 #endif | 149 #endif |
| OLD | NEW |