> On Jul 1, 2015, at 8:58 AM, Charles Srstka <[email protected]> wrote:
> 
>> On Jul 1, 2015, at 10:09 AM, Jean-Daniel Dupas <[email protected]> wrote:
>> 
>> Only because you are used to CGRect. QuickDraw used to defined a rect using 
>> left, top, right, bottom values.
> 
> Actually, it was top, left, bottom, right.

Classic Mac OS was inconsistent. For example, the C struct initializer for Rect 
was { top, left, bottom, right }, but the initializer function was 
SetRect(&rect, left, top, right, bottom).


-- 
Greg Parker     [email protected]     Runtime Wrangler



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to