Comments on: floats in AppKit https://briksoftware.com/blog/archives/39 Thu, 14 Jun 2012 18:56:48 +0000 hourly 1 https://wordpress.org/?v=4.7 By: Karsten https://briksoftware.com/blog/archives/39/comment-page-1#comment-4946 Wed, 20 Jun 2007 13:16:26 +0000 https://briksoftware.com/blog/?p=39#comment-4946 thx a lot for the hint Patrick, I didn’t see that function 😉

]]>
By: Patrick https://briksoftware.com/blog/archives/39/comment-page-1#comment-4945 Wed, 20 Jun 2007 12:59:17 +0000 https://briksoftware.com/blog/?p=39#comment-4945 Hmm, that really does look strange…

Rather than use truncf I would try NSIntegralRect(). It might even be designed just for these kinds of situations?

]]>
By: Mike https://briksoftware.com/blog/archives/39/comment-page-1#comment-2943 Thu, 17 May 2007 12:42:53 +0000 https://briksoftware.com/blog/?p=39#comment-2943 I’ve also had trouble with weird rendering bugs in WebView when NSViews in NSSplitView were floats. So I guess as a general rule its good to round off all your view demensions.

]]>