• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Problem with Grouping the rotated object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem with Grouping the rotated object


  • Subject: RE: Problem with Grouping the rotated object
  • From: "Ghufran Ahamad" <email@hidden>
  • Date: Fri, 4 Apr 2008 11:12:18 +0530

Hi Gordon,

Can you send some code snippet?

Thanks,
Ghufran Ahmad
+91 - 9953130470
Skype ID: ghufran_khan81
AOL ID: gahmad81
-----Original Message-----
From: Gordon Apple [mailto:email@hidden]
Sent: Thursday, April 03, 2008 12:56 AM
To: email@hidden
Cc: email@hidden
Subject: Re: Problem with Grouping the rotated object

Let me explain how we are handling grouped objects.

We have only one basic type of draw object with a dictionary of
characteristics.  That gives a lot of flexibility.  We do not let objects
draw themselves.  Instead, we use a separate rendering object.  This results
in a clean object data model.  (Hopefully, this will help when we do
Windows.)

We use an object of type "group" to replace grouped objects.  When the
renderer encounters a "group" type object, it creates another temporary
renderer object that draws the group.  This allows recursion for groups.  Of
course, the group object has to compute it's own bounds, including internal
and total rotations.  So far, this works quite well and we haven't
encountered the problem you have had.


> Message: 4
> Date: Wed, 2 Apr 2008 16:30:42 +0530
> From: "Ghufran Ahamad" <email@hidden>
> Subject: Problem with Grouping the rotated object.
> To: <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain;    charset="us-ascii"
>
> Hi All,
>
>
>
> We are developing a kind of drawing application in Objective C using Cocoa
> framework. We have several separate graphical objects, each having their
own
> position and rotation angle, are then grouped. As soon as we group the
> objects the rotated object has got shift with their angle. This happen
only
> with rotated object. Below is the code snippet that we are using.
>


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Re: Problem with Grouping the rotated object (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: How to create process independent of current process AND that takes command line arguments?
  • Next by Date: Can we write Mac Servies like We write for Windows services
  • Previous by thread: Re: Problem with Grouping the rotated object
  • Next by thread: NSArrayController and NSUserDefaultsController values not saving...
  • Index(es):
    • Date
    • Thread