From: kramm <kramm>
Date: Sat, 13 Jan 2007 17:25:20 +0000 (+0000)
Subject: added comment about image alpha
X-Git-Tag: release-0-8-0~49
X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=52aeb3fe5a20bc01012bfef509cec1f5cbaec784;p=swftools.git

added comment about image alpha
---

diff --git a/lib/gfxdevice.h b/lib/gfxdevice.h
index b4dd19f..f852814 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;