• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSImageCell cellSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImageCell cellSize


  • Subject: Re: NSImageCell cellSize
  • From: Calum Robinson <email@hidden>
  • Date: Tue, 18 Mar 2003 14:23:56 +0000

Woops - my code got mixed up when I was pasting it into Mail. here is what I meant:

NSCell *newCell = [[NSImageCell alloc] init];

[newCell setObjectValue:[NSImage imageNamed:@"NSApplicationIcon"]];

[newCell calcDrawInfo:rect];

NSLog(@"cell size = %@", NSStringFromSize([newCell cellSize]));

and not:

On Tuesday, March 18, 2003, at 02:16 pm, Calum Robinson wrote:

NSCell *newCell = [[NSImageCell alloc] init];

[newCell calcDrawInfo:rect];

[newCell setObjectValue:[NSImage imageNamed:@"NSApplicationIcon"]];

NSLog(@"cell size = %@", NSStringFromSize([newCell cellSize]));


Calum
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSImageCell cellSize (From: Calum Robinson <email@hidden>)

  • Prev by Date: NSImageCell cellSize
  • Next by Date: Re: NSAutoreleasePool: how does it really work?
  • Previous by thread: NSImageCell cellSize
  • Next by thread: Textured toolbar, possible?
  • Index(es):
    • Date
    • Thread