Hello,
I have a nsview class which is used more than once at a time. the view
can be 'selected' in that its background color can change based on a
boolean value.
when i change the 'selection' from view to view, the nsbezierpath used
to draw the curved border around the view does not clear properly.
int i = 0;
for (i=0;i<[imagesArray count];i++) {
NSImage *thisIcon = [imagesArray objectAtIndex:i];
[thisIcon drawAtPoint:NSMakePoint((64*i)+10,3)
fromRect:NSMakeRect(0,0,[thisIcon size].width,[thisIcon size].height)
operation:NSCompositeSourceOver fraction:1.0];
}
<<END CODE>>
If anyone has any idea as to how i can make the corners of my view
draw properly,
it would be much appreciated.
Thanks,
John Cassington
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden