• 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: Another IKImageView question: Copying a region
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another IKImageView question: Copying a region


  • Subject: Re: Another IKImageView question: Copying a region
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 23 Mar 2010 09:54:47 -0700

Please don't cross-post. You've already posted this to quartz-dev.

--Kyle Sluder [not the moderator]

On Tue, Mar 23, 2010 at 6:45 AM, Brian Postow <email@hidden> wrote:
> I'm not sure if ImageKit is more correctly a cocoa thing, or a Quartz thing, so I'm asking this in both places. Sorry for the duplicate, If the question is inappropriate in one or the other list let me know and, well I guess I can't delete from a mailing, list, but I won't send more ImageKit questions I guess...
>
> I'm trying to use the select and copy feature of the IKImageView. If all you want to do is have an app with an image, select a portion and copy it to the clipboard, it's easy. You set the copy menu pick to the first responder's copy:(id) method and magically everything works.
>
> However, if you want something more complicated, like you want to copy as part of some other operation, I can't seem to find the method to do this.
>
> IKImageView doesn't seem to have a copy method, it doesn't seem to have a method that will even tell you the selected rectangle!
>
> I have gone through Hillegass' book, so I understand how the clipboard works, just not how to get the portion of the image out of the view...
>
> Now, I'm starting to think that I made a mistake in basing my project on IKImageView, but it's what Preview is built on (or so I've read), so I figured it had to be stable... and anyway, now it's too late, I'm too deep in this to start over...
>
> So, other than not using IKImageView, any suggestions on how to copy the select region to the clipboard manually?
>
> Brian Postow
> Senior Software Engineer
> Acordex Imaging Systems
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please 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
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >Another IKImageView question: Copying a region (From: Brian Postow <email@hidden>)

  • Prev by Date: Re: Main thread crash
  • Next by Date: Re: Main thread crash
  • Previous by thread: Re: Another IKImageView question: Copying a region
  • Next by thread: Screen size in Dual monitor mode
  • Index(es):
    • Date
    • Thread