Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2189)

Unified Diff: experimental/SkiaExamples/HelloSkiaExample.h

Issue 16337012: Smallest possible desktop application that uses Skia to render stuff. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Refactored into BaseExample class and a HelloSkia subclass Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/SkiaExamples/HelloSkiaExample.h
diff --git a/experimental/SkiaExamples/HelloSkiaExample.h b/experimental/SkiaExamples/HelloSkiaExample.h
new file mode 100644
index 0000000000000000000000000000000000000000..ac5f0d03a1b9e5623017edae370a4b6e7bbfbfe8
--- /dev/null
+++ b/experimental/SkiaExamples/HelloSkiaExample.h
@@ -0,0 +1,18 @@
+#ifndef HelloSkia_DEFINED
sglez 2013/06/05 16:15:32 Forgot to add copyright header comment
+#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
+

Powered by Google App Engine
This is Rietveld 408576698