Index: experimental/SkiaExamples/HelloSkiaExample.h |
diff --git a/experimental/SkiaExamples/HelloSkiaExample.h b/experimental/SkiaExamples/HelloSkiaExample.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..de22dc036a947dbb42fc9ebe658fa59a035de2a0 |
--- /dev/null |
+++ b/experimental/SkiaExamples/HelloSkiaExample.h |
@@ -0,0 +1,27 @@ |
+/* |
+ * Copyright 2013 Google Inc. |
+ * |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ * |
+ */ |
+ |
+#ifndef HelloSkia_DEFINED |
+#define HelloSkia_DEFINED |
+ |
+#include "BaseExample.h" |
+ |
+class HelloSkia : public BaseExample { |
+ public: |
+ HelloSkia(void* hWnd, int argc, char** argv); |
+ protected: |
+ virtual void draw(SkCanvas* canvas) SK_OVERRIDE; |
+ private: |
+ SkScalar fRotationAngle; |
+ SkColor fBGColor; |
+ typedef BaseExample INHERITED; |
+}; |
+ |
+#endif |
+ |