Help In Drawing
Help In Drawing
- Subject: Help In Drawing
- From: Anoop <email@hidden>
- Date: Sat, 04 Mar 2006 04:37:52 +0530
Hai All,
I read one reply to a bezierPath dawing refer Sketch Example .If some one
have the
complete knowledge in Sketch example please help me to overcome a specific
problem .I guss some one will help me .I am making some changes in Sketch
I am facing a problem to display the width of the line along with each line
.I am having a
Method
-(void)Display
{
NSRect textBounds=NSZeroRect;
NSMutableDictionary *attr=[ NSMutableDictionary dictionary];
NSString *string=[NSString stringWidthFormat:@"%f",width];//Width is
already caculated//
textBounds.size=[string sizeWithAttributes:attr];
[string drawAtPoint:textBounds.origin withAttributes:attr];
}
I would have to call this method that I have declared in Line.m.
Which object would I used for calling this method in drawRect: of
GraphicView
Expecting a specinfic answer:
--
With Regards,
Anoop
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden