summaryrefslogtreecommitdiffstats
path: root/progs/egl/openvg/lion-render.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-04-01 14:20:24 +0800
committerChia-I Wu <[email protected]>2010-04-01 22:25:48 +0800
commitfc3ddd4b566380e7684c780450016e3e191a4160 (patch)
tree539e4eb39fb89a9ebb83116deef9c5d5ebc57e4d /progs/egl/openvg/lion-render.h
parent7f231cab2b7c13ba70d6aa694f74b6d6eee6470f (diff)
progs/openvg: Move OpenVG demos to a subdirectory of progs/egl.
That is, move progs/openvg/demos to progs/egl/openvg, progs/openvg/trivial to progs/egl/openvg/trivial.
Diffstat (limited to 'progs/egl/openvg/lion-render.h')
-rw-r--r--progs/egl/openvg/lion-render.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/progs/egl/openvg/lion-render.h b/progs/egl/openvg/lion-render.h
new file mode 100644
index 00000000000..c4c020b7edd
--- /dev/null
+++ b/progs/egl/openvg/lion-render.h
@@ -0,0 +1,16 @@
+#ifndef LION_RENDER_H
+#define LION_RENDER_H
+
+#include <VG/openvg.h>
+
+#define LION_SIZE 132
+struct lion {
+ VGPath paths[LION_SIZE];
+ VGPaint fills[LION_SIZE];
+};
+
+struct lion *lion_create(void);
+void lion_render(struct lion *l);
+void lion_destroy(struct lion *l);
+
+#endif