• 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
graphicsContextWithBitmapImageRep: with flipped view (continued with sample code)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

graphicsContextWithBitmapImageRep: with flipped view (continued with sample code)


  • Subject: graphicsContextWithBitmapImageRep: with flipped view (continued with sample code)
  • From: Mathieu Martin <email@hidden>
  • Date: Tue, 13 Dec 2005 17:55:41 +0100

Hello here is the mail I send a few days ago on cocoa-dev list.


This time I add a small example app the illustrate my point


I'm trying to capture a view to create a CIImage I want to use with some CoreGraphics filters.
This method works fine when I try to capture the all view or if the view is not clipped by a scrollview. But as soon as I try to capture the visible portion of a view that is clipped I don't get every thing I ask for. The top or the bottom is empty but what is drawn is at the right position. My view is flipped so I tried to convert [self visibleRect] but then the position of the elements of my view are wrong and I still get those horizontal lines at the top or the button of the image, depending of where I scroll the view.

doawnlod this file to get the code

http://homepage.mac.com/WebObjects/FileSharing.woa/wa/cachingDrawingOffscreenView.zip.zip?a=downloadFile&user=mamat&path=.Public/Cocoa-Quartz-Bugs/cachingDrawingOffscreenView.zip



If someone have an idea about this, that would be nice to let me know.

regards

mat.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: NSOutlineView update strangeness
  • Next by Date: Re: Trapping Keystrokes
  • Previous by thread: Re: Trapping Keystrokes
  • Next by thread: CoreData: "Can't reassign an object to a different store once it has been saved."?
  • Index(es):
    • Date
    • Thread