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"
12 void Canvas::SizeStringFloat(const base::string16
& text
,
13 const FontList
& font_list
,
21 void Canvas::DrawStringRectWithHalo(const base::string16
& text
,
22 const FontList
& font_list
,
24 SkColor halo_color_in
,
25 const Rect
& display_rect
,
30 void Canvas::DrawStringRectWithShadows(const base::string16
& text
,
31 const FontList
& font_list
,
33 const Rect
& text_bounds
,
36 const ShadowValues
& shadows
) {