Thanks, Malte for your suggestions. However, in this case what I am suggesting is that rather than having to type in numbers to resize an object proportionately, there needs to be some way to do this manually, such as holding down the Shift key while doing the resizing (like in Photoshop), which I don't see is a feature of Revolution. In that way, one can do the resizing on the fly, eyeballing whether or not the object is the right size for the card, rather than having to experiment with different numbers until the size seems right. So if anyone has way of doing this, I'd certainly like to hear about it. Thanks. Steve Goldberg
In a message dated 4/10/05 12:23:47 AM, [EMAIL PROTECTED] writes: > From: Malte Brill <[EMAIL PROTECTED]> > Subject: Re: # Can one manually resize an object proportionately? > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain;� � charset=US-ASCII;� � format=flowed > > Hi Steve, > > >Although one can go into the Revolution property inspector and do some > >calculation to resize an object proportionately, e.g. to say 1/3 the > size, when > >trying to do this manually I do not see a way to control the resizing > >proportionately. > > You can easiely write a function to do it and do your resizing with the > messageBox. > > If you like to take a look at libRMC (a small Multimedia Library I > wrote) you can save a bit of work. :-) > > You will need to put the stack in the messagepath (start using stack > "libRMC") > > If you want to find out what other features it offers type > > libRMCInfo > > � into the messagebox. > > From the docs: > > aspectScale left,top,right,bottom[,setLockLoc] > > set the aspectScale of img "myImage" to 100,100,400,400,true > set the aspectScale of fld "myField" to the rect of grc "myGraphic" > > setting the aspectScale of a control scales it in the correct > width-to-height ratio to the biggest dimensions possible to fit in the > specified rectangle. you can specify if the lockLoc of the control > should be set to avoid unwanted resizing when closing/reopening cards. > > > You find the library here: > > http://www.derbrill.de/librmc/libRMC.rev.zip > > The docs: > > http://www.derbrill.de/librmc/docs.pdf > > Cheers, > > _______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
