| Index: ui/gfx/render_text.h
|
| ===================================================================
|
| --- ui/gfx/render_text.h (revision 141008)
|
| +++ ui/gfx/render_text.h (working copy)
|
| @@ -48,10 +48,11 @@
|
| void SetDrawLooper(SkDrawLooper* draw_looper);
|
| void SetFontSmoothingSettings(bool enable_smoothing, bool enable_lcd_text);
|
| void SetTypeface(SkTypeface* typeface);
|
| - void SetTextSize(int size);
|
| + void SetTextSize(SkScalar size);
|
| void SetFontFamilyWithStyle(const std::string& family, int font_style);
|
| void SetForegroundColor(SkColor foreground);
|
| void SetShader(SkShader* shader, const Rect& bounds);
|
| + void SetUnderlineMetrics(SkScalar thickness, SkScalar position);
|
| void DrawSelection(const std::vector<Rect>& selection, SkColor color);
|
| void DrawPosText(const SkPoint* pos,
|
| const uint16* glyphs,
|
| @@ -64,6 +65,8 @@
|
| SkPaint paint_;
|
| SkRect bounds_;
|
| SkRefPtr<SkShader> deferred_fade_shader_;
|
| + SkScalar underline_thickness_;
|
| + SkScalar underline_position_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SkiaTextRenderer);
|
| };
|
|
|