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

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: Presentation example 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..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
+

Powered by Google App Engine
This is Rietveld 408576698