chromium/third_party/blink/renderer/core/svg/graphics/svg_image_for_container.cc

/*
 * Copyright (C) 2013 Google Inc. All rights reserved.
 *
 * 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/svg/graphics/svg_image_for_container.h"

#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/layout/intrinsic_sizing_info.h"
#include "third_party/blink/renderer/core/svg/graphics/svg_image.h"
#include "third_party/blink/renderer/platform/graphics/graphics_context.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
#include "ui/gfx/geometry/size_conversions.h"

namespace blink {

const SVGImageViewInfo* SVGImageForContainer::CreateViewInfo(
    SVGImage& image,
    const String& fragment) {}

const SVGImageViewInfo* SVGImageForContainer::CreateViewInfo(SVGImage& image,
                                                             const KURL& url) {}

const SVGImageViewInfo* SVGImageForContainer::CreateViewInfo(
    SVGImage& image,
    const Element& element) {}

const SVGImageViewInfo* SVGImageForContainer::CreateViewInfo(SVGImage& image,
                                                             const Node* node) {}

bool SVGImageForContainer::GetNaturalDimensions(
    SVGImage& image,
    const SVGImageViewInfo* info,
    IntrinsicSizingInfo& sizing_info) {}

gfx::SizeF SVGImageForContainer::ConcreteObjectSize(
    SVGImage& image,
    const SVGImageViewInfo* info,
    const gfx::SizeF& default_object_size) {}

gfx::Size SVGImageForContainer::SizeWithConfig(SizeConfig config) const {}

gfx::SizeF SVGImageForContainer::SizeWithConfigAsFloat(SizeConfig) const {}

SVGImageForContainer::SVGImageForContainer(SVGImage& image,
                                           const gfx::SizeF& container_size,
                                           float zoom,
                                           const SVGImageViewInfo* viewinfo)
    :{}

SVGImageForContainer::SVGImageForContainer(
    SVGImage& image,
    const gfx::SizeF& container_size,
    float zoom,
    const SVGImageViewInfo* viewinfo,
    mojom::blink::PreferredColorScheme preferred_color_scheme)
    :{}

bool SVGImageForContainer::HasIntrinsicSize() const {}

void SVGImageForContainer::Draw(cc::PaintCanvas* canvas,
                                const cc::PaintFlags& flags,
                                const gfx::RectF& dst_rect,
                                const gfx::RectF& src_rect,
                                const ImageDrawOptions& draw_options) {}

void SVGImageForContainer::DrawPattern(GraphicsContext& context,
                                       const cc::PaintFlags& flags,
                                       const gfx::RectF& dst_rect,
                                       const ImageTilingInfo& tiling_info,
                                       const ImageDrawOptions& draw_options) {}

bool SVGImageForContainer::ApplyShader(cc::PaintFlags& flags,
                                       const SkMatrix& local_matrix,
                                       const gfx::RectF& src_rect,
                                       const ImageDrawOptions& draw_options) {}

PaintImage SVGImageForContainer::PaintImageForCurrentFrame() {}

}  // namespace blink