[ubuntu-mono] [Bug 320817] Re: F-spot CDExport dialog exceed 600 pixel height when the screen is small

Ying-Chun Liu (GrandPaul) paul.liu at canonical.com
Tue Feb 24 11:18:56 GMT 2009


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 MOTU Mono
Team, which is subscribed to f-spot in ubuntu.



More information about the Ubuntu-mono mailing list