#include "third_party/blink/renderer/core/layout/svg/layout_svg_image.h"
#include "third_party/blink/renderer/core/layout/hit_test_location.h"
#include "third_party/blink/renderer/core/layout/hit_test_result.h"
#include "third_party/blink/renderer/core/layout/intrinsic_sizing_info.h"
#include "third_party/blink/renderer/core/layout/layout_image_resource.h"
#include "third_party/blink/renderer/core/layout/layout_replaced.h"
#include "third_party/blink/renderer/core/layout/pointer_events_hit_rules.h"
#include "third_party/blink/renderer/core/layout/svg/layout_svg_resource_container.h"
#include "third_party/blink/renderer/core/layout/svg/svg_layout_info.h"
#include "third_party/blink/renderer/core/layout/svg/svg_resources.h"
#include "third_party/blink/renderer/core/layout/svg/transform_helper.h"
#include "third_party/blink/renderer/core/layout/svg/transformed_hit_test_location.h"
#include "third_party/blink/renderer/core/paint/clip_path_clipper.h"
#include "third_party/blink/renderer/core/paint/svg_image_painter.h"
#include "third_party/blink/renderer/core/svg/svg_image_element.h"
#include "third_party/blink/renderer/core/svg/svg_length_functions.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_record.h"
namespace blink {
LayoutSVGImage::LayoutSVGImage(SVGImageElement* impl)
: … { … }
LayoutSVGImage::~LayoutSVGImage() = default;
void LayoutSVGImage::Trace(Visitor* visitor) const { … }
void LayoutSVGImage::StyleDidChange(StyleDifference diff,
const ComputedStyle* old_style) { … }
void LayoutSVGImage::WillBeDestroyed() { … }
gfx::SizeF LayoutSVGImage::CalculateObjectSize() const { … }
bool LayoutSVGImage::UpdateBoundingBox() { … }
SVGLayoutResult LayoutSVGImage::UpdateSVGLayout(
const SVGLayoutInfo& layout_info) { … }
bool LayoutSVGImage::UpdateAfterSVGLayout(const SVGLayoutInfo& layout_info,
bool bbox_changed) { … }
void LayoutSVGImage::Paint(const PaintInfo& paint_info) const { … }
bool LayoutSVGImage::NodeAtPoint(HitTestResult& result,
const HitTestLocation& hit_test_location,
const PhysicalOffset& accumulated_offset,
HitTestPhase phase) { … }
void LayoutSVGImage::ImageChanged(WrappedImagePtr, CanDeferInvalidation defer) { … }
}