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

Re: Re: Problem drawing directly to bitmap rep using NSGraphicsContext


  • Subject: Re: Re: Problem drawing directly to bitmap rep using NSGraphicsContext
  • From: "Shawn Erickson" <email@hidden>
  • Date: Tue, 28 Nov 2006 12:35:05 -0800

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


  • Follow-Ups:
    • Re: Problem drawing directly to bitmap rep using NSGraphicsContext
      • From: Michael Watson <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>)

  • Prev by Date: QTMovie setAttribute
  • Next by Date: Re: Problem drawing directly to bitmap rep using NSGraphicsContext
  • Previous by thread: 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