Re: vImage
Re: vImage
- Subject: Re: vImage
- From: John Randolph <email@hidden>
- Date: Mon, 12 Jan 2004 13:34:11 -0800
On Jan 10, 2004, at 3:45 PM, Shawn Erickson wrote:
vbuf->height = [imageRep size].height;
vbuf->width = [imageRep size].width;
Better make that:
vbuf->height = [imageRep pixelsHigh];
vbuf->width = [imageRep pixelsWide];
The size of an imageRep doesn't necessarily match its pixel dimensions.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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: | |
| >vImage (From: Amedeo Paglione <email@hidden>) |
| >Re: vImage (From: Shawn Erickson <email@hidden>) |
| >Re: vImage (From: Amedeo Paglione <email@hidden>) |
| >Re: vImage (From: Shawn Erickson <email@hidden>) |