Albert Cahalan <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
>> I'm not sure I like this. If we have several stamps (e.g. the >> fruit stamps) they should scale by the *same* amount, not by >> an integer ratio. If I have understood things correctly, your >> code means that an apple may look larger than a banana when >> scaled. > > That's not changed. With simplified names, the code > now works like this: > > scale = global_scale_factor * stamp_scale_factor; OK. I've now tried the code on a couple of stamps, and it seems to work great! Thanks! I have however found two minor issues: The outlines shown when placing a stamp doesn't work as well as before (both for unscaled and scaled stamps). And one of the higher scale factors doesn't give very smooth edges. You can see it on both the new tyre stamp and the updated grapes stamp. The tyre looks round and smooth with one scale factor, not with the next, but *with* the one after that one. I of course know that doubling and quadrupling the size will get better result than arbitrary scaling, but my image program does seem to be able to handle the intermediate steps well, while Tux Paint does not. Something wrong with SDL's rescaling algorithm? -- Karl Ove Hufthammer _______________________________________________ Tuxpaint-dev mailing list [EMAIL PROTECTED] http://tux4kids.net/mailman/listinfo/tuxpaint-dev