git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gfxsource now has a getinfo function
[swftools.git]
/
lib
/
gfxdevice.h
diff --git
a/lib/gfxdevice.h
b/lib/gfxdevice.h
index
b4dd19f
..
fd41895
100644
(file)
--- a/
lib/gfxdevice.h
+++ b/
lib/gfxdevice.h
@@
-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;
@@
-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;
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
} gfxcxform_t;
typedef struct _gfxbbox