#include "third_party/blink/renderer/core/svg/graphics/filters/svg_fe_image.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/core/paint/paint_info.h"
#include "third_party/blink/renderer/core/paint/svg_object_painter.h"
#include "third_party/blink/renderer/core/svg/svg_element.h"
#include "third_party/blink/renderer/core/svg/svg_length_functions.h"
#include "third_party/blink/renderer/core/svg/svg_preserve_aspect_ratio.h"
#include "third_party/blink/renderer/platform/graphics/filters/filter.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_record.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_record_builder.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_recorder.h"
#include "third_party/blink/renderer/platform/graphics/skia/skia_utils.h"
#include "third_party/blink/renderer/platform/transforms/affine_transform.h"
#include "third_party/blink/renderer/platform/wtf/text/text_stream.h"
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/gfx/geometry/skia_conversions.h"
namespace blink {
FEImage::FEImage(Filter* filter,
scoped_refptr<Image> image,
const SVGPreserveAspectRatio* preserve_aspect_ratio)
: … { … }
FEImage::FEImage(Filter* filter,
const SVGElement* element,
const SVGPreserveAspectRatio* preserve_aspect_ratio)
: … { … }
void FEImage::Trace(Visitor* visitor) const { … }
static gfx::RectF GetLayoutObjectRepaintRect(
const LayoutObject& layout_object) { … }
static gfx::SizeF ComputeViewportAdjustmentScale(
const LayoutObject& layout_object,
const gfx::SizeF& target_size) { … }
AffineTransform FEImage::SourceToDestinationTransform(
const LayoutObject& layout_object,
const gfx::RectF& dest_rect) const { … }
gfx::RectF FEImage::MapInputs(const gfx::RectF&) const { … }
const LayoutObject* FEImage::ReferencedLayoutObject() const { … }
WTF::TextStream& FEImage::ExternalRepresentation(WTF::TextStream& ts,
int indent) const { … }
sk_sp<PaintFilter> FEImage::CreateImageFilterForLayoutObject(
const LayoutObject& layout_object,
const gfx::RectF& dst_rect,
const gfx::RectF& crop_rect) { … }
sk_sp<PaintFilter> FEImage::CreateImageFilter() { … }
}