make setFixed() work for negative numbers, too
[swftools.git] / lib / gfxdevice.h
index b4dd19f..fd41895 100644 (file)
@@ -55,6 +55,8 @@ typedef struct _gfxmatrix
 
 typedef struct _gfximage
 {
+    /* if the data contains an alpha layer (a != 255), the
+       r,g,b values will have to be premultiplied */
     gfxcolor_t*data;
     int width;
     int height;
@@ -75,7 +77,6 @@ typedef struct _gfxcxform
     float gr,gg,gb,ga, tg;
     float br,bg,bb,ba, tb;
     float ar,ag,ab,aa, ta;
-    gfxcolor_t t;
 } gfxcxform_t;
 
 typedef struct _gfxbbox