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

RE: How to get the Image From QCView


  • Subject: RE: How to get the Image From QCView
  • From: "Christopher Hickman" <email@hidden>
  • Date: Wed, 2 Nov 2005 09:32:24 -0500

Is there some reason why you can't just put a QCView on the other window?

  _____

From: quartzcomposer-dev-bounces+tophu=email@hidden
[mailto:quartzcomposer-dev-bounces+tophu=email@hidden] On Behalf
Of Janakiram
Sent: Wednesday, November 02, 2005 7:44 AM
To: email@hidden; Cocoa Mailing List
Subject: How to get the Image From QCView


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

References: 
 >How to get the Image From QCView (From: Janakiram <email@hidden>)

  • Prev by Date: Getting the pixel-coördinates
  • Next by Date: Is it a bad idea to invoke "init..." over and over on the same object?
  • Previous by thread: How to get the Image From QCView
  • Next by thread: Whocalls utility
  • Index(es):
    • Date
    • Thread