// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_SVG_MODEL_OBJECT_PAINTER_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_SVG_MODEL_OBJECT_PAINTER_H_ #include "third_party/blink/renderer/core/layout/svg/layout_svg_model_object.h" #include "third_party/blink/renderer/platform/graphics/paint/drawing_recorder.h" #include "ui/gfx/geometry/rect_conversions.h" namespace blink { struct PaintInfo; class SVGModelObjectPainter { … }; // A wrapper of DrawingRecorder for SVG children, providing the default visual // rect (see DisplayItem::VisualRect() for definition) for the SVG contents // not including outlines. Using a template so that // VisualRectInLocalSVGCoordinates() can be called directly instead of through // vtable. class SVGDrawingRecorder : public DrawingRecorder { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_SVG_MODEL_OBJECT_PAINTER_H_