Forwarding because I just noticed we're not on the list anymore. You sent
your reply to me directly.

On Fri, Jul 10, 2009 at 12:59 PM, Daniel Furrer <[email protected]>wrote:

> Thanks for your reply.
>
> So I'm drawing in an image but I just tried to draw on a view (I put the
> same calls in the drawRect: method) but still have the same problem.
> What works is to create a NSSegmentedControl and draw that (using
> drawRect), so I think I will just have to do that. But I'm still wondering
> why it doesn't work to draw the cell directly.
>
> I'm also attaching a screenshot of how it looks like (the control in the
> middle of the window - you can ignore the rest)
>
> Daniel
>
>
>
> On Thu, Jul 9, 2009 at 6:13 PM, tyler <[email protected]> wrote:
>
>> Oh, sorry.  Missed that you are trying to draw it into an image...  Most
>> nscells expect to be in an nscontrol or nsview of some kind...  Guess I
>> don't really have an idea to help ... Sorry.
>>
>> Can you draw a rect at the same coords and see all of it ?
>
>
_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to