• 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
How to get the Image From QCView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get the Image From QCView


  • Subject: How to get the Image From QCView
  • From: Janakiram <email@hidden>
  • Date: Wed, 2 Nov 2005 18:14:21 +0530

Hi,

I am using QCView to Display my Quartz Composition in a Cocoa Application. I am able to embed the quartz file in a Cocoa Application and also able to send the inputs from cocoa application. I have placed the QCView in preferences panel and the NSImageView in the Main Window. Now my requirement is to get the picture of the QCView and place it in the NSImageView.To achieve this i tried the following ways :


1) Tried to get the visible rectangle image by calling dataInsidePDFRect: method , but this too didn't serve the purpose. It gives an image with white color background.


2) Called the Copy Method on the QCView, but it gave an error saying that qcview doesn't implement copy method.

3) Created an NSEvent for KeyDown of Cmd+C and sent to the NSApplication ,NSWindow 's Method sendEvent: , but this didn't serve the purpose.It beeps when i tried to call the sendEvent: method.


All the these ways didn't serve the purpose, will need to find another way to solve this.
Please someone help me to solve this. Thanks in Advance.



Regards, JanakiRam. _______________________________________________ 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
  • Follow-Ups:
    • RE: How to get the Image From QCView
      • From: "Christopher Hickman" <email@hidden>
  • Prev by Date: Jumping coordinates with -convertPoint:fromView:
  • Next by Date: Re: Challenge 2 in Chapter of A. Hillegass's Book
  • Previous by thread: Jumping coordinates with -convertPoint:fromView:
  • Next by thread: RE: How to get the Image From QCView
  • Index(es):
    • Date
    • Thread