diff options
author | Chet Haase <chet@google.com> | 2012-03-05 16:55:41 -0800 |
---|---|---|
committer | Chet Haase <chet@google.com> | 2012-03-05 16:55:41 -0800 |
commit | 573b53f8618997434563ae650004f89a20aaf631 (patch) | |
tree | fc27f75d58642af7c66c696c53065c6804ff4ac3 /include | |
parent | 341c93bd153d8fcc55114b0148301e98e34bc13c (diff) | |
download | external_skia-573b53f8618997434563ae650004f89a20aaf631.zip external_skia-573b53f8618997434563ae650004f89a20aaf631.tar.gz external_skia-573b53f8618997434563ae650004f89a20aaf631.tar.bz2 |
Add getter for camera location (android-only)
Change-Id: I19c1919cae24a875671c37777c32b356d3141a1d
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/SkCamera.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/utils/SkCamera.h b/include/utils/SkCamera.h index 57521b8..1c4c1fb 100644 --- a/include/utils/SkCamera.h +++ b/include/utils/SkCamera.h @@ -152,6 +152,9 @@ public: #ifdef SK_BUILD_FOR_ANDROID void setCameraLocation(SkScalar x, SkScalar y, SkScalar z); + SkScalar getCameraLocationX(); + SkScalar getCameraLocationY(); + SkScalar getCameraLocationZ(); #endif void getMatrix(SkMatrix*) const; |