Hi,
Sorry for the previous incomplete message.

By the way, what I want to know is:
What cases make visibleRect.origin to be NSZeroPoint?

Since my matrix view didn't draw its cells, I put a log code before and
after its super view's drawRect to show the visible rectangle like
following:


@interface MyMatrix : NSMatrix
@implement MyMatrix
-(void)drawRect:(NSRect)rect
{
  mynslog_1

 [super drawRect:rect];

  mynslog_2
}

The former log (mynslog_1) showed its origin like 300,0, for instance, but
latter (mynslog_2) did 0,0.

Actually the visibleRect was surely contained the bounds rectangle.

Would you tell me what cause it?

Any suggestion and comment would be very appreciated.

Thanks,
Noiro
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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