/* * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <[email protected]> * Copyright (C) 2004, 2005, 2008 Rob Buis <[email protected]> * Copyright (C) 2005, 2007 Eric Seidel <[email protected]> * Copyright (C) 2009 Google, Inc. * Copyright (C) 2009 Dirk Schulze <[email protected]> * Copyright (C) Research In Motion Limited 2010. All rights reserved. * Copyright (C) 2009 Jeff Schiller <[email protected]> * Copyright (C) 2011 Renata Hodovan <[email protected]> * Copyright (C) 2011 University of Szeged * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public License * along with this library; see the file COPYING.LIB. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ #include "third_party/blink/renderer/core/layout/svg/layout_svg_path.h" #include "third_party/blink/renderer/core/layout/svg/layout_svg_resource_marker.h" #include "third_party/blink/renderer/core/layout/svg/svg_resources.h" #include "third_party/blink/renderer/core/svg/svg_geometry_element.h" #include "third_party/blink/renderer/core/svg/svg_path_element.h" namespace blink { namespace { bool SupportsMarkers(const SVGGeometryElement& element) { … } LayoutSVGShape::GeometryType DeterminePathGeometry(const Path& path) { … } bool PathGeometryChanged(const ComputedStyle& old_style, const ComputedStyle& new_style) { … } } // namespace LayoutSVGPath::LayoutSVGPath(SVGGeometryElement* node) : … { … } LayoutSVGPath::~LayoutSVGPath() = default; void LayoutSVGPath::StyleDidChange(StyleDifference diff, const ComputedStyle* old_style) { … } void LayoutSVGPath::WillBeDestroyed() { … } gfx::RectF LayoutSVGPath::UpdateShapeFromElement() { … } const StylePath* LayoutSVGPath::GetStylePath() const { … } void LayoutSVGPath::UpdateMarkerPositions() { … } void LayoutSVGPath::UpdateMarkerBounds() { … } } // namespace blink