summaryrefslogtreecommitdiffstatsci
path: root/tests/curve2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/curve2.c')
-rw-r--r--tests/curve2.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/curve2.c b/tests/curve2.c
deleted file mode 100644
index 76a115d..0000000
--- a/tests/curve2.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "test.h"
-
-void test(){
- VkvgContext ctx = vkvg_create(surf);
-
- vkvg_move_to (ctx, 100, 400);
- vkvg_curve_to (ctx, 100, 100, 600,700,600,400);
- vkvg_curve_to (ctx, 1000, 100, 100, 800, 1000, 800);
- vkvg_curve_to (ctx, 1000, 500, 700, 500, 700, 100);
- vkvg_close_path(ctx);
-
- //vkvg_set_source_rgba (ctx, 0.5,0.0,1.0,0.5);
- //vkvg_fill_preserve(ctx);
-
- vkvg_set_source_rgba (ctx, 1,0,0,1);
- vkvg_set_line_width(ctx, 40);
- vkvg_stroke_preserve(ctx);
- vkvg_set_source_rgba (ctx, 1,1,0,1);
- vkvg_fill(ctx);
-
- vkvg_destroy(ctx);
-}
-
-int main(int argc, char *argv[]) {
-
- perform_test (test, 1024, 768);
-
- return 0;
-}