summaryrefslogtreecommitdiff
path: root/pixwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'pixwrap.c')
-rw-r--r--pixwrap.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/pixwrap.c b/pixwrap.c
new file mode 100644
index 0000000..ad76253
--- /dev/null
+++ b/pixwrap.c
@@ -0,0 +1,15 @@
+struct pix_context_t
+{
+ /* Destination */
+ pixman_format_code_t dst_format;
+ int dst_width;
+ int dst_height;
+ int dst_stride;
+ uint32_t * dst_bits;
+
+ /* Src */
+ pix_image_t * src;
+
+ /* Mask */
+ pix_image_t * mask;
+};