Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Unified Diff: ui/gfx/pango_util.h

Issue 8910004: Optimize setting the font when drawing in RenderTextLinux. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/gfx/pango_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/pango_util.h
===================================================================
--- ui/gfx/pango_util.h (revision 114424)
+++ ui/gfx/pango_util.h (working copy)
@@ -73,6 +73,9 @@
double extra_edge_width,
const Rect& text_rect);
+// Returns the size in pixels for the specified |pango_font|.
+size_t GetPangoFontSizeInPixels(PangoFontDescription* pango_font);
+
} // namespace gfx
#endif // UI_GFX_PANGO_UTIL_H_
« no previous file with comments | « no previous file | ui/gfx/pango_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698