The Resize member function reads two int.
I'm not sure if there's two float version of Resize.
If there is, Resize(1.0,0.7) is better.
But if we have to use Resize(int,int), it means we have to convert Height to float and *0.7 and convert it back to int which may not faster than two int operation *7 /10.
I'm not familiar at C# and Mono so I'm not sure which one is real faster. But usually two int op is faster than one float op, right?
Sorry, do you mean assign 0.7 as an argument? www.go- mono.com/ docs/index. aspx?link= T%3aGtk. Window% 2f*
Or Height*0.7??
According to
http://
The Resize member function reads two int.
I'm not sure if there's two float version of Resize.
If there is, Resize(1.0,0.7) is better.
But if we have to use Resize(int,int), it means we have to convert Height to float and *0.7 and convert it back to int which may not faster than two int operation *7 /10.
I'm not familiar at C# and Mono so I'm not sure which one is real faster. But usually two int op is faster than one float op, right?