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" | 8 #include "ui/gfx/font.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 | 11 |
12 // static | 12 // static |
13 void Canvas::SizeStringInt(const string16& text, | 13 void Canvas::SizeStringInt(const string16& text, |
14 const gfx::Font& font, | 14 const gfx::Font& font, |
15 int* width, int* height, int flags) { | 15 int* width, int* height, |
msw
2013/04/17 20:12:59
nit: split args onto individual lines while you're
dharcourt
2013/04/17 23:29:40
Done.
| |
16 int line_height, | |
17 int flags) { | |
16 NOTIMPLEMENTED(); | 18 NOTIMPLEMENTED(); |
17 } | 19 } |
18 | 20 |
19 void Canvas::DrawStringWithShadows(const string16& text, | 21 void Canvas::DrawStringWithShadows(const string16& text, |
20 const gfx::Font& font, | 22 const gfx::Font& font, |
21 SkColor color, | 23 SkColor color, |
22 const gfx::Rect& text_bounds, | 24 const gfx::Rect& text_bounds, |
25 int line_height, | |
23 int flags, | 26 int flags, |
24 const ShadowValues& shadows) { | 27 const ShadowValues& shadows) { |
25 NOTIMPLEMENTED(); | 28 NOTIMPLEMENTED(); |
26 } | 29 } |
27 | 30 |
28 } // namespace gfx | 31 } // namespace gfx |
OLD | NEW |