From 2183bfb77b085a18ba1797a1152935f83dd14305 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 18 Jul 2004 12:26:38 +0000 Subject: [PATCH] added clipping against cropbox (page background shape). --- pdf2swf/swfoutput.cc | 2 ++ 1 file changed, 2 insertions(+) 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) -- 1.7.10.4