From 450d54eceb47146fb4fd9af724a8589e0c1baa69 Mon Sep 17 00:00:00 2001 From: "tony@chromium.org" Date: Wed, 24 Mar 2010 04:14:42 +0000 Subject: Also set the canvas size. I missed this in the last patch. BUG=26354 Review URL: http://codereview.chromium.org/1243001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42429 0039d316-1c4b-4281-b951-d872f2087c98 --- gfx/gtk_util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gfx/gtk_util.h') diff --git a/gfx/gtk_util.h b/gfx/gtk_util.h index 3a30ad9..cc1fa8a 100644 --- a/gfx/gtk_util.h +++ b/gfx/gtk_util.h @@ -43,6 +43,10 @@ GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap* bitmap); void SubtractRectanglesFromRegion(GdkRegion* region, const std::vector& cutouts); +// Returns the resolution (DPI) used by pango. A negative values means the +// resolution hasn't been set. +double GetPangoResolution(); + } // namespace gfx namespace { -- cgit v1.1