Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/include
Modified Files:
evas_cairo_common.h
Log Message:
Cairo backend builds again. But is dead slow and isn't complete.
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_cairo_common.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_cairo_common.h 22 May 2005 02:49:50 -0000 1.2
+++ evas_cairo_common.h 1 Sep 2005 00:53:34 -0000 1.3
@@ -17,6 +17,7 @@
#include <X11/Xutil.h>
#include <cairo.h>
+#include <cairo-xlib.h>
typedef struct _Evas_Cairo_Context Evas_Cairo_Context;
typedef struct _Evas_Cairo_Image Evas_Cairo_Image;
@@ -26,6 +27,44 @@
struct _Evas_Cairo_Context
{
+ cairo_t *cairo;
+
+ struct {
+ double r, g, b, a;
+ } col;
+ struct {
+ unsigned int set : 1;
+ double r, g, b, a;
+ } mul;
+};
+
+struct _Evas_Cairo_Image
+{
+ RGBA_Image *im;
+ int references;
+ DATA32 *mulpix;
+ cairo_surface_t *surface;
+ cairo_pattern_t *pattern;
+#if 0
+ Evas_Cairo_Context *cc;
+ char dirty : 1;
+ char cached : 1;
+#endif
+};
+
+struct _Evas_Cairo_Polygon
+{
+ Evas_List *points;
+};
+
+struct _Evas_Cairo_Polygon_Point
+{
+ int x, y;
+};
+
+#if 0
+struct _Evas_Cairo_Context
+{
unsigned char r, g, b, a;
struct {
@@ -80,6 +119,7 @@
{
RGBA_Gradient *grad;
};
+#endif
/*
Evas_GL_Context *evas_gl_common_context_new(void);
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs