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

Unified Diff: Source/core/platform/graphics/skia/SkiaFontWin.h

Issue 14160005: Track the region where text is painted. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed build on win and mac Created 7 years, 7 months 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 | « Source/core/platform/graphics/mac/FontMac.cpp ('k') | Source/core/platform/graphics/skia/SkiaFontWin.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/graphics/skia/SkiaFontWin.h
diff --git a/Source/core/platform/graphics/skia/SkiaFontWin.h b/Source/core/platform/graphics/skia/SkiaFontWin.h
index f4d34f5f85e6d2100b8787da4be0eb688893e55a..926d29dc967729484009b08f1af3f17e9d8a41ac 100644
--- a/Source/core/platform/graphics/skia/SkiaFontWin.h
+++ b/Source/core/platform/graphics/skia/SkiaFontWin.h
@@ -35,6 +35,7 @@
#include <usp10.h>
struct SkPoint;
+struct SkRect;
namespace WebCore {
@@ -49,7 +50,8 @@ void paintSkiaText(GraphicsContext*,
const WORD* glyphs,
const int* advances,
const GOFFSET* offsets,
- const SkPoint* origin);
+ const SkPoint& origin,
+ const SkRect& textRect);
// Note that the offsets parameter is optional. If not null it represents a
// per glyph offset (such as returned by ScriptPlace Windows API function).
@@ -61,7 +63,8 @@ void paintSkiaText(GraphicsContext*,
const WORD* glyphs,
const int* advances,
const GOFFSET* offsets,
- const SkPoint* origin);
+ const SkPoint& origin,
+ const SkRect& textRect);
} // namespace WebCore
« no previous file with comments | « Source/core/platform/graphics/mac/FontMac.cpp ('k') | Source/core/platform/graphics/skia/SkiaFontWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698