chromium/chrome/browser/ui/monogram_utils.cc

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

#include "chrome/browser/ui/monogram_utils.h"

#include "chrome/grit/platform_locale_settings.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/font.h"
#include "ui/gfx/font_list.h"

namespace monogram {
namespace {

// Draws a circle of a given `size` and `offset` in the `canvas` and fills it
// with `background_color`.
void DrawCircleInCanvas(gfx::Canvas* canvas,
                        int size,
                        int offset,
                        SkColor background_color) {}

// Will paint `letter` in the center of specified `canvas` of given `size`.
void DrawFallbackIconLetter(gfx::Canvas* canvas,
                            const std::u16string& monogram,
                            SkColor monogram_color,
                            int size,
                            int offset) {}

}  // namespace

void DrawMonogramInCanvas(gfx::Canvas* canvas,
                          int canvas_size,
                          int circle_size,
                          const std::u16string& monogram,
                          SkColor monogram_color,
                          SkColor background_color) {}

}  // namespace monogram