git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added test+fix for transparency group stacking
[swftools.git]
/
lib
/
gfxtools.h
diff --git
a/lib/gfxtools.h
b/lib/gfxtools.h
index
c2566d3
..
ff282a3
100644
(file)
--- a/
lib/gfxtools.h
+++ b/
lib/gfxtools.h
@@
-50,6
+50,7
@@
typedef struct _gfxpoint
typedef struct _gfxfontlist
{
gfxfont_t*font;
typedef struct _gfxfontlist
{
gfxfont_t*font;
+ void*user;
struct _gfxfontlist*next;
} gfxfontlist_t;
struct _gfxfontlist*next;
} gfxfontlist_t;
@@
-81,10
+82,14
@@
void gfxmatrix_multiply(gfxmatrix_t*m1, gfxmatrix_t*m2, gfxmatrix_t*dest);
gfxfontlist_t* gfxfontlist_create();
gfxfontlist_t*gfxfontlist_addfont(gfxfontlist_t*list, gfxfont_t*font);
gfxfontlist_t* gfxfontlist_create();
gfxfontlist_t*gfxfontlist_addfont(gfxfontlist_t*list, gfxfont_t*font);
+gfxfontlist_t*gfxfontlist_addfont2(gfxfontlist_t*list, gfxfont_t*font, void*user);
gfxfont_t*gfxfontlist_findfont(gfxfontlist_t*list, char*id);
char gfxfontlist_hasfont(gfxfontlist_t*list, gfxfont_t*font);
gfxfont_t*gfxfontlist_findfont(gfxfontlist_t*list, char*id);
char gfxfontlist_hasfont(gfxfontlist_t*list, gfxfont_t*font);
+void* gfxfontlist_getuserdata(gfxfontlist_t*list, const char*id);
void gfxfontlist_free(gfxfontlist_t*list, char deletefonts);
void gfxfontlist_free(gfxfontlist_t*list, char deletefonts);
+void gfximage_save_jpeg(gfximage_t*img, char*filename, int quality);
+
gfxbbox_t* gfxline_isrectangle(gfxline_t*_l);
gfxline_t*gfxline_makerectangle(double x1, double y1, double x2, double y2);
gfxbbox_t* gfxline_isrectangle(gfxline_t*_l);
gfxline_t*gfxline_makerectangle(double x1, double y1, double x2, double y2);