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:
parent
d7b2885b90
commit
19de504eae
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user