added clipping against cropbox (page background shape).
authorkramm <kramm>
Sun, 18 Jul 2004 12:26:38 +0000 (12:26 +0000)
committerkramm <kramm>
Sun, 18 Jul 2004 12:26:38 +0000 (12:26 +0000)
pdf2swf/swfoutput.cc

index 81d9a8b..ca507c3 100644 (file)
@@ -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)