Problem with subview creation or it in somewhere else
Problem with subview creation or it in somewhere else
- Subject: Problem with subview creation or it in somewhere else
- From: "Dan Rodricks" <email@hidden>
- Date: Fri, 2 Jun 2006 17:56:38 +0530
Hello all,
Sorry to ask this rubbish question , i am new to cocoa.
I am facing some problems in rotation.I want to rotate an object in an
NSView,for that i am trying to create subviews to the drawing bound.I gave
the following code to perfom.But still its frustrating.
NSArray *graphics=[self selectedGraphics];
NSRect rect=[[graphics objectAtIndex:0] bounds];
NSView *view =[[NSView allocWithZone:NULL] init];
[view setFrame:rect];
[view setFrameRotation:-45];
[self setNeedsDisplay:YES];
Thanks and regards,
Dan
_______________________________________________
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