X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fswfoutput.cc;h=93f2a847049e0d22710e86649e3446aeeff4237f;hb=ef0c7e7e45b0084d411395e75553db77742b2632;hp=8bfd968affb26dffbc9235760b9d26ca5f0f84e2;hpb=3c7543d9d855058db64c4655d3f672cf8e0adb09;p=swftools.git diff --git a/pdf2swf/swfoutput.cc b/pdf2swf/swfoutput.cc index 8bfd968..93f2a84 100644 --- a/pdf2swf/swfoutput.cc +++ b/pdf2swf/swfoutput.cc @@ -2247,8 +2247,8 @@ static void drawimage(struct swfoutput*obj, int bitid, int sizex,int sizey, m.r0 = (int)(65536*20*(p1.x-p2.x)/sizey); m.sy = -(int)(65536*20*(p1.y-p2.y)/sizey); - m.tx = (int)(p1.x*20); - m.ty = (int)(p1.y*20); + m.tx = (int)(p1.x*20) - 10; + m.ty = (int)(p1.y*20) - 10; /* shape */ myshapeid = ++i->currentswfid;