From: kramm Date: Sun, 18 Jul 2004 12:26:38 +0000 (+0000) Subject: added clipping against cropbox (page background shape). X-Git-Tag: release-0-6-0~63 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=2183bfb77b085a18ba1797a1152935f83dd14305 added clipping against cropbox (page background shape). --- diff --git a/pdf2swf/swfoutput.cc b/pdf2swf/swfoutput.cc index 81d9a8b..ca507c3 100644 --- a/pdf2swf/swfoutput.cc +++ b/pdf2swf/swfoutput.cc @@ -1407,6 +1407,8 @@ void swfoutput_init(struct swfoutput* obj, char*_filename, int x1, int y1, int x swf_ShapeFree(s); tag = swf_InsertTag(tag, ST_PLACEOBJECT2); swf_ObjectPlace(tag,shapeid,depth++,0,0,0); + tag = swf_InsertTag(tag, ST_PLACEOBJECT2); + swf_ObjectPlaceClip(tag,shapeid,depth++,0,0,0,65535); } if(flag_protected)