aboutsummaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-05-17 19:10:57 +0800
committerchai <chaifix@163.com>2018-05-17 19:10:57 +0800
commit70cdd89e887641b7423e5d4d05928d14ee014aba (patch)
tree248b87ae35197a9e5941e65ef20eea359e87a5ed /src/render/graphics.h
parentdf4b054b8e8d00f7817daaa4cbf6961712cd0b75 (diff)
change file tree
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
deleted file mode 100644
index 242b19d..0000000
--- a/src/render/graphics.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef __JIN_GRAPHICS_H
-#define __JIN_GRAPHICS_H
-
-#include "color.h"
-#include "canvas.h"
-#include "image.h"
-
-namespace jin
-{
-namespace render
-{
- typedef enum {
- NONE = 0,
- FILL ,
- LINE
- }RENDER_MODE;
-
- /**
- * TODO:
- * drawPixels(int n, points)
- */
- extern void line(int x1, int y1, int x2, int y2);
-
- extern void rect(RENDER_MODE mode, int x, int y, int w, int h);
-
- extern void triangle(RENDER_MODE mode, int x1, int y1, int x2, int y2, int x3, int y3);
-
- extern void circle(RENDER_MODE mode, int x, int y, int r);
-
- extern void point(int x, int y);
-
- extern void points(int n, GLshort* p, GLubyte* c);
-
- extern void polygon(RENDER_MODE mode, float* p, int count);
-}
-}
-#endif