#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 {
void DrawCircleInCanvas(gfx::Canvas* canvas,
int size,
int offset,
SkColor background_color) { … }
void DrawFallbackIconLetter(gfx::Canvas* canvas,
const std::u16string& monogram,
SkColor monogram_color,
int size,
int offset) { … }
}
void DrawMonogramInCanvas(gfx::Canvas* canvas,
int canvas_size,
int circle_size,
const std::u16string& monogram,
SkColor monogram_color,
SkColor background_color) { … }
}