Skip navigation.
 
mlRe: GCDrawKit programmatically create object
FROM : James Maxwell
DATE : Wed Apr 02 23:45:32 2008

Duh, woops... sorry... found it:

+ (GCDrawableShape*)    drawableShapeWithPath:(NSBezierPath*) path;

cheers,

J.


   
On 2-Apr-08, at 2:20 PM, James Maxwell wrote:

> I'm just wondering whether anyone here uses the GCDrawKit framework?
>
> I've been getting used to how it does things over the past few days, 
> but there's something I really can't figure out how to do. I want to 
> make an object on a layer programmatically - say, a rect that loads 
> automatically with a new layer, at a default position and size.
>
> If anybody's using the DrawKit, and knows how this might be done, 
> any help would be greatly appreciated. I can make tools, and create 
> custom objects that way, but it's all dependent on the mouse (event-
> driven); I can't make anything without the mouse.
>
> Thanks in advance,
>
> J.
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>

Related mailsAuthorDate
mlGCDrawKit programmatically create object James Maxwell Apr 2, 23:20
mlRe: GCDrawKit programmatically create object James Maxwell Apr 2, 23:45
mlRe: GCDrawKit programmatically create object Graham Cox Apr 3, 07:03