summaryrefslogtreecommitdiffstats
path: root/ui/gfx/render_text.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/render_text.h')
-rw-r--r--ui/gfx/render_text.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
index 80055b0..6a79c4a 100644
--- a/ui/gfx/render_text.h
+++ b/ui/gfx/render_text.h
@@ -178,6 +178,11 @@ struct Line {
skia::RefPtr<SkTypeface> CreateSkiaTypeface(const std::string& family,
int style);
+// Applies the given FontRenderParams to a Skia |paint|.
+void ApplyRenderParams(const FontRenderParams& params,
+ bool background_is_transparent,
+ SkPaint* paint);
+
} // namespace internal
// RenderText represents an abstract model of styled text and its corresponding