Add advance[XY]Fixed getters for Android.

This prepares for changing the type of these fields to float.

BUG=skia:4632

Review URL: https://codereview.chromium.org/1772863002
This commit is contained in:
benjaminwagner 2016-03-07 12:41:49 -08:00 committed by Commit bot
parent d7b2885b90
commit 19de504eae

View File

@ -94,6 +94,11 @@ public:
return rb;
}
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);
}