Regarding flowing text around objects, do you have a function for
breaking an arbitrary shape into a series of line rectangles that
you'd be prepared to share with the world?
http://www.cocoabuilder.com/archive/message/cocoa/2007/2/22/179186
___
Cocoa
I don't think it makes the more classic approach wrong - it's just
another way to crack that particular nut, with its own advantages (and
probably disadvantages too, like more code, more dependency between
classes, possibly lower performance, I don't know - but there's no
"one true way" to
That is effectively what our renderer object does. Note that we
transform the drawing space, not the object. For a group object, it sets
the group's transform, then recursively calls the same rendering function
for the objects in the group. Each object's transform is then applied
within the
Hmmm...
I'm just talking out loud here, but wouldn't it work to have a group
model object whose drawing function is to concatenate its transform
to the CTM then tell all the objects within the group to draw? Then
all objects inside the group just do their drawing normally.
-Kenny
On May
This is a major advantage of separating the drawing (rendering) code
from the data model instead of having objects draw themselves (not to
mention cross-platform). Our renderer object is recursive (and could be a
shared object if not for the deficiencies in shadow rendering -- a story for
anot
Hi Graham,
Thanks for reply, still did not get any success. We are looking into your
code and trying to find out how you implement the group - rotation.
Thanks,
Ghufran Ahmad
+91 - 9953130470
Skype ID: ghufran_khan81
AOL ID: gahmad81
-Original Message-
From: Graham Cox [mailto:[EMAIL
://apptree.net/drawkitmain.htm
hth,
G.
On 29 Apr 2008, at 3:25 pm, Ghufran Ahamad wrote:
Hi All,
I want to do group rotation for various objects. Objects are getting
rotate
correctly on their center but when I group them the rotated object
has got
shift. Note: In case of group onl
Hi All,
I want to do group rotation for various objects. Objects are getting rotate
correctly on their center but when I group them the rotated object has got
shift. Note: In case of group only rotated object has got shift. Below is
the code snippet. Let me know I doing correct or not