Sorry, do you mean assign 0.7 as an argument?
Or Height*0.7??
According to
http://www.go-mono.com/docs/index.aspx?link=T%3aGtk.Window%2f*

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?

-- 
F-spot CDExport dialog exceed 600 pixel height when the screen is small
https://bugs.launchpad.net/bugs/320817
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to