From: kramm Date: Sun, 6 Apr 2003 21:07:45 +0000 (+0000) Subject: added ratio support swf_SetPlaceObject. X-Git-Tag: release-0-4-4~37 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=589d78164f620b0af09413df7e91e7756467a3cd added ratio support swf_SetPlaceObject. --- diff --git a/lib/modules/swfobject.c b/lib/modules/swfobject.c index a9507ab..3703413 100644 --- a/lib/modules/swfobject.c +++ b/lib/modules/swfobject.c @@ -110,7 +110,7 @@ void swf_SetPlaceObject(TAG * t,SWFPLACEOBJECT* obj) int m = !isUnitMatrix(&obj->matrix); int cx = !isUnitCXForm(&obj->cxform); - flags = (obj->id?PF_CHAR:0)|(m?PF_MATRIX:0)|(cx?PF_CXFORM:0)| + flags = (obj->id?PF_CHAR:0)|(m?PF_MATRIX:0)|(cx?PF_CXFORM:0)|(obj->ratio?PF_RATIO:0)| (obj->name?PF_NAME:0)|(obj->move?PF_MOVE:0)| (obj->clipdepth?PF_CLIPACTION:0);