Re: getting the bounds as seen by the user
Re: getting the bounds as seen by the user
- Subject: Re: getting the bounds as seen by the user
- From: "Theodore H. Smith" <email@hidden>
- Date: Mon, 27 Jun 2005 17:38:15 +0100
Nevermind that last post,
Its actually a bug in Cocoa.
The evidence is obvious.
I try this code:
int w = (int)(NewSize.size.width * 0.92);
and base my calculations off of that, and everything works fine. (if
a little short, 8% short actually).
I try this code:
int w = (int)(NewSize.size.width);
or even this!
int w = (int)(NewSize.size.width * 0.99);
and base my calculations off of that, and it all goes very wrong.
Time for me to report a Cocoa bug I think!
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden