1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/gfx/canvas.h"
7 #include "base/logging.h"
8 #include "ui/gfx/font.h"
13 void Canvas::SizeStringInt(const string16
& text
,
14 const gfx::Font
& font
,
15 int* width
, int* height
, int flags
) {
19 void Canvas::DrawStringWithShadows(const string16
& text
,
20 const gfx::Font
& font
,
22 const gfx::Rect
& text_bounds
,
24 const ShadowValues
& shadows
) {