diff options
author | Romain Guy <romainguy@google.com> | 2011-02-23 18:53:28 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2011-02-23 18:53:28 -0800 |
commit | 374bcd3e969068bd8ad560b84521ab12c29447f0 (patch) | |
tree | 6c9268ccdfddb15fde8e06edd83f5d15f494c62d /include | |
parent | dd3f189dfde60f95f6be0517f1c28ad2879973a1 (diff) | |
download | external_skia-374bcd3e969068bd8ad560b84521ab12c29447f0.zip external_skia-374bcd3e969068bd8ad560b84521ab12c29447f0.tar.gz external_skia-374bcd3e969068bd8ad560b84521ab12c29447f0.tar.bz2 |
Add the ability to control the camera's location.
Change-Id: I712b80173c8a102a46157543979d0dde3c5008f8
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/SkCamera.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils/SkCamera.h b/include/utils/SkCamera.h index 8bbcabf..96eacb3 100644 --- a/include/utils/SkCamera.h +++ b/include/utils/SkCamera.h @@ -157,6 +157,8 @@ public: void rotateY(SkScalar deg); void rotateZ(SkScalar deg); + void setCameraLocation(SkScalar x, SkScalar y, SkScalar z); + void getMatrix(SkMatrix*) const; void applyToCanvas(SkCanvas*) const; |