Index: src/core/SkBitmapProcState.h |
diff --git a/src/core/SkBitmapProcState.h b/src/core/SkBitmapProcState.h |
index fca7dc0a3edfa42d512776465eba2dc7e1b34f1d..a006e090b5bf08c8487fb7ec56bb65fc81786d0d 100644 |
--- a/src/core/SkBitmapProcState.h |
+++ b/src/core/SkBitmapProcState.h |
@@ -220,8 +220,14 @@ public: |
} |
} |
- SkFractionalInt x() const { return fX; } |
- SkFractionalInt y() const { return fY; } |
+ SkFractionalInt fractionalIntX() const { return fX; } |
+ SkFractionalInt fractionalIntY() const { return fY; } |
+ |
+ SkFixed fixedX() const { return SkFractionalIntToFixed(fX); } |
+ SkFixed fixedY() const { return SkFractionalIntToFixed(fY); } |
+ |
+ int intX() const { return SkFractionalIntToInt(fX); } |
+ int intY() const { return SkFractionalIntToInt(fY); } |
private: |
SkFractionalInt fX, fY; |