hi,
the reason is the following.
I am developing an application allowing users to design things that will be manufactured. on manufacturing side i have limitations in size like on plotters. that means you have a width limit but no length (height) limit.
If we take the example a width limit of N (the max size width the plotter can handle), and if we have a rectangle the user can resize X or Y, the resizing process must be stopted as soon as either the height or width of the rectangle reaches the limit N, but this only for the concerned side. in other words, if the height has reached the limit of N, maxScaleY would be set to N, and maxScaleX with no limit.
As it is complicated for me to explain this and as i am quite clear on how to realize it within my code, i do not whant to bother you more. The main aim i had was to avoid doing same inspections on rezising you allready do within you code. As it is not really a huge CPU usage for that, it is not very important
Thank you anyway for your answers an patience with my bad english
Movix