X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fdevices%2Frescale.c;h=350dfd2b849bf498ba87eb070ba9d790df954bd8;hb=7fb4a4ac393f19a0b8a8998a2f1deac88c97eda0;hp=649601f1defb202312211f3dae1dc047f92d9ea6;hpb=e4687b3aa2aed49fb16ba9e9561344d808750297;p=swftools.git diff --git a/lib/devices/rescale.c b/lib/devices/rescale.c index 649601f..350dfd2 100644 --- a/lib/devices/rescale.c +++ b/lib/devices/rescale.c @@ -121,6 +121,12 @@ int rescale_setparameter(gfxdevice_t*dev, const char*key, const char*value) if(!strcmp(key, "keepratio")) { i->keepratio = atoi(value); return 1; + } else if(!strcmp(key, "centerx")) { + i->centerx = atoi(value); + return 1; + } else if(!strcmp(key, "centery")) { + i->centery = atoi(value); + return 1; } else { if(i->out) { return i->out->setparameter(i->out,key,value);