On Feb 28, 2006, at 10:16 PM, Thom McGrath wrote:
I am trying to create a type of HIView which requires an HIRect as bounds. So I'm trying to accomplish this. Can't find documentation on creating an HIRect though. Thinking I need to use a memoryblock. Can somebody provide some push in the right direction? Charles probably?
HIRect is a synonym for CGRect. A CGRect is composed of a CGPoint and a CGSize. A CGPoint has fields x as Float, y as Float. A CGSize has fields width as Float, height as Float. In REALbasic, a Float is a Single. So an HIRect can be represented as a 16-byte MemoryBlock, or a structure.
-------------- Charles Yeomans _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
