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

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: rebase with TOT Created 7 years, 8 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
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 c70f84e6efd0708fb9c9579866631bba64384c5e..b4862d6b77c7d8acdfeb25118159af11fa1c9ed7 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 {
@@ -50,7 +51,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).
@@ -62,7 +64,8 @@ void paintSkiaText(GraphicsContext*,
const WORD* glyphs,
const int* advances,
const GOFFSET* offsets,
- const SkPoint* origin);
+ const SkPoint& origin,
+ const SkRect& textRect);
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698