• 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: Problem drawing directly to bitmap rep using NSGraphicsContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem drawing directly to bitmap rep using NSGraphicsContext


  • Subject: Re: Problem drawing directly to bitmap rep using NSGraphicsContext
  • From: Michael Watson <email@hidden>
  • Date: Tue, 28 Nov 2006 17:44:12 -0500

Oops, I REALLY wasn't paying attention. Guess I needed some coffee this morning.

Erik Buck's e-mails should be read by the original poster, not mine. ;-)


-- m-s


On 28 Nov, 2006, at 15:35, Shawn Erickson wrote:

On 11/28/06, Michael Watson <email@hidden> wrote:
Try this change:

[imageRep lockFocus];
[imageRep drawInRect:NSMakeRect(0, 0, [imageRep pixelsWide], [imageRep
pixelsHifh])];
[imageRep unlockFocus];

Huh? In the above you lock focus on the image rep that you then drawn back onto itself? Also image reps don't have lockFocus/unlockFocus.

I think we need to better understand what the OP is attempting to do
so we can understand how to assist him with his code.

-Shawn

_______________________________________________

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


References: 
 >Problem drawing directly to bitmap rep using NSGraphicsContext (From: Vinay Prabhu <email@hidden>)
 >Re: Problem drawing directly to bitmap rep using NSGraphicsContext (From: Michael Watson <email@hidden>)
 >Re: Re: Problem drawing directly to bitmap rep using NSGraphicsContext (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 3, Issue 1405
  • Next by Date: Re: Slightly OT: SIGKILL (force quit) and child process termination
  • Previous by thread: Re: Re: Problem drawing directly to bitmap rep using NSGraphicsContext
  • Next by thread: Re: Problem drawing directly to bitmap rep using NSGraphicsContext
  • Index(es):
    • Date
    • Thread