summaryrefslogtreecommitdiffstatsci
path: root/src/mask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mask.cpp')
-rw-r--r--src/mask.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/mask.cpp b/src/mask.cpp
deleted file mode 100644
index 9c49fb5..0000000
--- a/src/mask.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <cairo.h>
-
-#include "caskbench.h"
-
-static cairo_pattern_t *mask;
-
-int
-setup_mask(cairo_t *cr)
-{
- mask = cairo_pattern_create_rgba (0, 0, 0, 0.5);
- return 1;
-}
-
-void
-teardown_mask(void)
-{
- cairo_pattern_destroy (mask);
-}
-
-int
-test_mask(cairo_t *cr)
-{
- cairo_mask (cr, mask);
- return 1;
-}