X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=pdf2swf%2Fswfoutput.h;h=16e6d6d2a34542602f0eb5910e90777318391977;hb=bc22161af24c31b2b9ad2732d61146c625d70989;hp=0b4ceedd5ede1bfcbff6a2316a266681f6270092;hpb=9aa850fb4c4b28c64d53e144b4a107d982917b2e;p=swftools.git diff --git a/pdf2swf/swfoutput.h b/pdf2swf/swfoutput.h index 0b4ceed..16e6d6d 100644 --- a/pdf2swf/swfoutput.h +++ b/pdf2swf/swfoutput.h @@ -55,6 +55,7 @@ struct swfoutput SWFFONT *swffont; RGBA strokergb; RGBA fillrgb; + int drawmode; }; /* outline definition, adapted from t1lib.h */ @@ -119,7 +120,7 @@ void swfoutput_setstrokecolor(struct swfoutput*, unsigned char r, unsigned char void swfoutput_setfontmatrix(struct swfoutput*,double,double,double,double); void swfoutput_setlinewidth(struct swfoutput*, double linewidth); -void swfoutput_drawchar(struct swfoutput*,double x,double y,char*a, int charnr, int u); +int swfoutput_drawchar(struct swfoutput*,double x,double y,char*a, int charnr, int u); void swfoutput_drawpath(struct swfoutput*, SWF_OUTLINE*outline, struct swfmatrix*m); #define LINE_CAP_BUTT 0 #define LINE_CAP_ROUND 1