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

Unified Diff: src/core/SkGlyph.h

Issue 1772863002: Add advance[XY]Fixed getters for Android. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkGlyph.h
diff --git a/src/core/SkGlyph.h b/src/core/SkGlyph.h
index f9b94a0268f9c9de869f04d09a9cba370c3e42d3..0bccf6b4ce6ddcc0462705e6ac104741dfd8aece 100644
--- a/src/core/SkGlyph.h
+++ b/src/core/SkGlyph.h
@@ -94,6 +94,11 @@ public:
return rb;
}
bungeman-skia 2016/03/07 23:02:55 I know this has already landed, but the post-revie
+ SK_ATTR_DEPRECATED("Temporary accessor for Android.")
+ SkFixed advanceXFixed() const { return fAdvanceX; }
+ SK_ATTR_DEPRECATED("Temporary accessor for Android.")
+ SkFixed advanceYFixed() const { return fAdvanceY; }
+
unsigned rowBytes() const {
return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698