-#include <t1lib.h>
-extern "C" {
-#include "../lib/rfxswf.h"
-}
-
-
-extern int ignoredraworder; //default:0
-extern int drawonlyshapes; //default:0
-extern int jpegquality; //default:100;
-
-typedef long int twip;
-
-struct swfmatrix {
- double m11,m12,m21,m22,m13,m23;
-};
-
-struct swfcoord {
- twip x;
- twip y;
-};
-
-class SWFFont
-{
- T1_OUTLINE**outline;
- char**charname;
- char*used;
-
- char*name;
- int charnum;
-
- U16*char2swfcharid;
- U16*swfcharid2char;
- int swfcharpos;
-
- public:
-
- int t1id;
- char*fontid;
- unsigned int swfid;
-
- SWFFont(char*name, int t1id, char*filename);
- SWFFont::~SWFFont();
- T1_OUTLINE*getOutline(char*charname);
- int getSWFCharID(char*name);
- char*getName();
- char*getCharName(int t);
-};
-
-struct swfoutput
-{
- //int t1font;
- double fontm11,fontm12,fontm21,fontm22;
- unsigned short int linewidth;
- SWFFont*font;
- RGBA strokergb;
- RGBA fillrgb;
-};
-
-#define DRAWMODE_STROKE 1
-#define DRAWMODE_FILL 2
-#define DRAWMODE_EOFILL 3
-#define DRAWMODE_CLIP 4
-#define DRAWMODE_EOCLIP 5
-
-void swfoutput_init(struct swfoutput*, char*filename, int sizex, int sizey);
-void swfoutput_setprotected(); //write PROTECT tag
-
-void swfoutput_newpage(struct swfoutput*);