OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/gfx/canvas.h" | 5 #include "ui/gfx/canvas.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "ui/gfx/font.h" | |
9 | 8 |
10 namespace gfx { | 9 namespace gfx { |
11 | 10 |
12 // static | 11 // static |
13 void Canvas::SizeStringInt(const base::string16& text, | 12 void Canvas::SizeStringInt(const base::string16& text, |
14 const gfx::Font& font, | 13 const FontList& font_list, |
15 int* width, | 14 int* width, |
16 int* height, | 15 int* height, |
17 int line_height, | 16 int line_height, |
18 int flags) { | 17 int flags) { |
19 NOTIMPLEMENTED(); | 18 NOTIMPLEMENTED(); |
20 } | 19 } |
21 | 20 |
22 void Canvas::DrawStringWithShadows(const base::string16& text, | 21 void Canvas::DrawStringRectWithHalo(const base::string16& text, |
23 const gfx::Font& font, | 22 const FontList& font_list, |
24 SkColor color, | 23 SkColor text_color, |
25 const gfx::Rect& text_bounds, | 24 SkColor halo_color_in, |
26 int line_height, | 25 const Rect& display_rect, |
27 int flags, | 26 int flags) { |
28 const ShadowValues& shadows) { | |
29 NOTIMPLEMENTED(); | 27 NOTIMPLEMENTED(); |
30 } | 28 } |
31 | 29 |
| 30 void Canvas::DrawStringRectWithShadows(const base::string16& text, |
| 31 const FontList& font_list, |
| 32 SkColor color, |
| 33 const Rect& text_bounds, |
| 34 int line_height, |
| 35 int flags, |
| 36 const ShadowValues& shadows) { |
| 37 NOTIMPLEMENTED(); |
| 38 } |
| 39 |
32 } // namespace gfx | 40 } // namespace gfx |
OLD | NEW |