aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-02-23 18:57:04 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-02-23 18:57:04 -0800
commit3e13ffc10edde9a64377965b75aebde445716801 (patch)
tree23eea37414380ae3b1cf288e82bb98a3be3f1a5b /include
parent800e1ff0b9eaff0b02ce711bb7f22f2149141c9e (diff)
parent374bcd3e969068bd8ad560b84521ab12c29447f0 (diff)
downloadexternal_skia-3e13ffc10edde9a64377965b75aebde445716801.zip
external_skia-3e13ffc10edde9a64377965b75aebde445716801.tar.gz
external_skia-3e13ffc10edde9a64377965b75aebde445716801.tar.bz2
Merge "Add the ability to control the camera's location."
Diffstat (limited to 'include')
-rw-r--r--include/utils/SkCamera.h2
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;