added comment about image alpha
authorkramm <kramm>
Sat, 13 Jan 2007 17:25:20 +0000 (17:25 +0000)
committerkramm <kramm>
Sat, 13 Jan 2007 17:25:20 +0000 (17:25 +0000)
lib/gfxdevice.h

index b4dd19f..f852814 100644 (file)
@@ -55,6 +55,8 @@ typedef struct _gfxmatrix
 
 typedef struct _gfximage
 {
 
 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;
     gfxcolor_t*data;
     int width;
     int height;