struct swfoutput
{
+ SWF swf;
MATRIX fontmatrix;
double fontm11,fontm12,fontm21,fontm22;
SWFFONT *swffont;
RGBA strokergb;
RGBA fillrgb;
int drawmode;
+ int x1,y1,x2,y2;
+ void*internal;
};
/* outline definition, adapted from t1lib.h */
#define DRAWMODE_CLIP 4
#define DRAWMODE_EOCLIP 5
-void swfoutput_init(struct swfoutput*, char*filename, int x1, int y1, int x2, int y2);
void swfoutput_setparameter(char*name, char*value);
-void swfoutput_setprotected(); //write PROTECT tag
-
-void swfoutput_newpage(struct swfoutput*);
-
+void swfoutput_init(struct swfoutput*);
+int swfoutput_save(struct swfoutput*, char*filename);
+void swfoutput_newpage(struct swfoutput*, int pageNum, int movex, int movey, int x1, int y1, int x2, int y2);
void swfoutput_setfont(struct swfoutput*, char*fontid, char*filename);
int swfoutput_queryfont(struct swfoutput*, char*fontid);
int getCharID(SWFFONT *font, int charnr, char *charname, int u);