chromium/components/services/app_service/public/cpp/app_shortcut_image.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/services/app_service/public/cpp/app_shortcut_image.h"

#include "base/check.h"
#include "base/i18n/rtl.h"
#include "cc/paint/paint_flags.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/skia_conversions.h"
#include "ui/gfx/geometry/vector2d.h"
#include "ui/gfx/image/image_skia.h"

namespace apps {

AppShortcutImage::AppShortcutImage(int main_icon_radius,
                                   int teardrop_border_radius,
                                   int badge_radius,
                                   SkColor color,
                                   const gfx::ImageSkia& main_icon_image,
                                   const gfx::ImageSkia& badge_image)
    :{}

void AppShortcutImage::Draw(gfx::Canvas* canvas) {}

// static
gfx::ImageSkia AppShortcutImage::CreateImageWithBadgeAndTeardropBackground(
    int main_icon_radius,
    int teardrop_corner_radius,
    int badge_radius,
    SkColor color,
    const gfx::ImageSkia& main_icon_image,
    const gfx::ImageSkia& badge_image) {}

}  // namespace apps