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
,
22 void Canvas::DrawStringWithShadows(const string16
& text
,
23 const gfx::Font
& font
,
25 const gfx::Rect
& text_bounds
,
28 const ShadowValues
& shadows
) {