Hi Christopher, I'm not sure I understand what you mean. How do I do
what you say? I tried changing the 'imageBounds' to 'bounds' but now
it won't compile.
The QCPlugInImageInputSource protocol has 'imageBounds' method - and
the code works when I send an image in directly, its just when I try
to read it from the struct that it doesn't.
i.e. at the end of the this line
id<QCPlugInInputImageSource> imageFront = [data.images
objectForKey:@"imageYes"];
imageFront appears not to be a QCPlugInInputImageSource I think! :S
I thought maybe I'm creating and reading my structure wrong, and
actually the image is deeper or something, so I tried in QC to add a
Structure Key Member to the same struct I'm sending my patch, and use
imageYes as the key, the output port is virtual of type QCImage, and
when I connect to the image port of a billboard it renders fine. So
the structure is correct. Am i doing something wrong in dereferecing
the image?
Memo (Mehmet S. Akten)
www.memo.tv
[EMAIL PROTECTED]
On 5 Jun 2008, at 01:48, Christopher Wright wrote:
[QCImage imageBounds] isn't a valid selector -- try [QImage bounds]
(returns an NSRect);
--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]