Herfried K. Wagner said:
Mhm... Scaling changes the position too, doesn't it? It depends on what
is scaled, I know.
Maybe. I will expect to specify percentage of scaling, though.
rect.Scale(150) or rect.Scale(1.5)
I don't know. I think Inflate is OK. I kind of believe that having a
complementary Deflate or Shirnk method is not as great ideia as it sounds .
Windows API doesn't have Deflate, MFC CRect has but Inflate and Deflate do
the same work the difference is in the sign of the parameters which we have
to use to get the same result I found it little bit confusing. So I believe
it's better to have only one method. I'm cool with that name. Method with
the same name that do the same kind of work can be found in almost any
framework or graphics library.
B\rgds
100