• 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
CIImage draw issue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CIImage draw issue?


  • Subject: CIImage draw issue?
  • From: Henry Joseph W <email@hidden>
  • Date: Thu, 1 Mar 2007 17:09:13 +0000

I subclass the NSView to myView,then I want to draw a CIImage object on it.
- (void)drawRect:(NSRect)rect {
[drawImage drawAtPoint:NSMakePoint(0,0)
fromRect:rect
operation:NSCompositeSourceOver
fraction:1.0];
}
drawImage is CIImage Object generated from a bitmap picture. However, when the draw method succeed, the pixel in the myView seems to be magnified in contrast to the origin picture.
Hmm, for example , the origin picture is 320x200, the drawImage seems to be the size of 640x400 or much more bigger. So some mosaic appears on the generated picture which makes it very ugly.
Can someone tell me how to make the drawImage to be the origin size of the source picture?
Thank you in advance.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CIImage draw issue?
      • From: Joar Wingfors <email@hidden>
  • Prev by Date: Re: Cocoa and MySQL, compiling for intel and ppc
  • Next by Date: Re: CIImage draw issue?
  • Previous by thread: Re: Cocoa and MySQL, compiling for intel and ppc
  • Next by thread: Re: CIImage draw issue?
  • Index(es):
    • Date
    • Thread