X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FGFXOutputDev.h;h=a907b71d798155cca129e6ddf0d78abd48d2023a;hb=7bcaebde547799351834abe2e4fab63bfa815b50;hp=7557a796e1ca8c2184a91b0ca2fe8f11e93be0f2;hpb=daf924a2341522b64d1374553d4b61bd75d0c86f;p=swftools.git diff --git a/lib/pdf/GFXOutputDev.h b/lib/pdf/GFXOutputDev.h index 7557a79..a907b71 100644 --- a/lib/pdf/GFXOutputDev.h +++ b/lib/pdf/GFXOutputDev.h @@ -29,14 +29,9 @@ class GFXOutputState { gfxresult_t* softmaskrecording; // for soft masks gfxdevice_t* olddevice; -}; -typedef struct _parameter -{ - char*name; - char*value; - struct _parameter*next; -} parameter_t; + GfxState*state; +}; typedef struct _feature { @@ -214,7 +209,7 @@ public: int width, int height, GfxImageColorMap*colorMap, GBool invert, GBool inlineImg, int mask, int *maskColors, Stream *maskStr, int maskWidth, int maskHeight, GBool maskInvert, GfxImageColorMap*maskColorMap); - int setGfxFont(char*id, char*name, char*filename, double maxSize, CharCodeToUnicode*ctu); + void strokeGfxline(GfxState *state, gfxline_t*line, int flags); void clipToGfxLine(GfxState *state, gfxline_t*line); void fillGfxLine(GfxState *state, gfxline_t*line); @@ -291,8 +286,6 @@ public: double *dashPattern; int dashLength; double dashStart; - - parameter_t*parameters; }; class GFXGlobalParams: public GlobalParams {