[MacRuby-devel] CGRectZero

Jason Voegele jason at jvoegele.com
Sun May 22 06:48:38 PDT 2011


Hi, I'm working on a new MacRuby application, and I'm using the updated HotCocoa from this fork: https://github.com/ferrous26/hotcocoa

This version of HotCocoa contains several references to the CGRectZero constant, but this constant does not appear to be exposed in MacRuby (0.10). I did some poking around and found that, after performing a "framework 'Cocoa'" call, these other CGRect* constants are defined:

CGRect
CGRectMaxXEdge
CGRectMaxYEdge
CGRectMinXEdge
CGRectMinYEdge

However, CGRectZero is not defined. Is there any other way to access this constant from MacRuby? Is there any reason it is not defined?

Thanks!

-- 
Jason Voegele
"It is better to have tried and failed than to have failed to try, but
the result's the same."
- Mike Dennison


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110522/3f860a93/attachment.html>


More information about the MacRuby-devel mailing list