X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fgfxdevice.h;h=fd418951e637bf835adee6e918dd47cd6ec8c7b6;hb=e49ce11d4228e12b3dc216b76712b62d6fe06c89;hp=b4dd19ff186b93e3d3f612c495c5aafb327d740a;hpb=5386028e78548134c4a475dcfd815569e7dc9676;p=swftools.git diff --git a/lib/gfxdevice.h b/lib/gfxdevice.h index b4dd19f..fd41895 100644 --- a/lib/gfxdevice.h +++ b/lib/gfxdevice.h @@ -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