added comment about image alpha
[swftools.git] / lib / gfxdevice.h
index b4dd19f..f852814 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;