• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 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.
4 
5 #include "ui/gfx/canvas.h"
6 
7 #include "base/logging.h"
8 
9 namespace gfx {
10 
11 // static
SizeStringFloat(const base::string16 & text,const FontList & font_list,float * width,float * height,int line_height,int flags)12 void Canvas::SizeStringFloat(const base::string16& text,
13                              const FontList& font_list,
14                              float* width,
15                              float* height,
16                              int line_height,
17                              int flags) {
18   NOTIMPLEMENTED();
19 }
20 
DrawStringRectWithHalo(const base::string16 & text,const FontList & font_list,SkColor text_color,SkColor halo_color_in,const Rect & display_rect,int flags)21 void Canvas::DrawStringRectWithHalo(const base::string16& text,
22                                     const FontList& font_list,
23                                     SkColor text_color,
24                                     SkColor halo_color_in,
25                                     const Rect& display_rect,
26                                     int flags) {
27   NOTIMPLEMENTED();
28 }
29 
DrawStringRectWithShadows(const base::string16 & text,const FontList & font_list,SkColor color,const Rect & text_bounds,int line_height,int flags,const ShadowValues & shadows)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 
DrawFadedString(const base::string16 & text,const FontList & font_list,SkColor color,const Rect & display_rect,int flags)40 void Canvas::DrawFadedString(const base::string16& text,
41                              const FontList& font_list,
42                              SkColor color,
43                              const Rect& display_rect,
44                              int flags) {
45    NOTIMPLEMENTED();
46 }
47 
48 }  // namespace gfx
49