• 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: Drawing over a QTCaptureView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing over a QTCaptureView


  • Subject: Re: Drawing over a QTCaptureView
  • From: Gordon Apple <email@hidden>
  • Date: Wed, 04 Jun 2008 19:40:53 -0500

    And then what can you do with it?  Although I've been able to rotate the
image with a transform, I still haven't figured out how to clip the image to
a Bezier.  You can't focus and draw into a CIImage like you can a NSImage.
If it were the latter, I could just use NSBezier setClip.  After drowning in
filter documentation, I gave up for now.

    Apparently, from what I can tell, the whole purpose of CIImage is to get
it done in the GPU instead of the CPU.  Unfortunately, I haven't found any
useful documentation on how to do simple functions with these things.
Posting on the QT forum got no response.

> Ben,
>
> check out the documentation for QTCaptureView delegate:
>
> - (CIImage *)view:(QTCaptureView *)view willDisplayImage :(CIImage
> *)image
>
> this will give you access to the display pipeline.
>
> later,
>
> douglas
>
> On Jun 4, 2008, at 4:01 PM, Ben Lachman wrote:
>
>> I'm wonder what's the easiest way to draw a simple box over a
>> QTCaptureView.  Overriding drawRect doesn't work and putting another
>> view over the QTCV doesn't work.  Any Thoughts?
>>
>> Thanks,
>> ->Ben
>

_______________________________________________

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

  • Follow-Ups:
    • Re: Drawing over a QTCaptureView
      • From: Ben Lachman <email@hidden>
  • Prev by Date: [Moderator] List Guidelines - PLEASE READ
  • Next by Date: Re: RESTful API's - Easy way to interact?
  • Previous by thread: Re: Drawing over a QTCaptureView
  • Next by thread: Re: Drawing over a QTCaptureView
  • Index(es):
    • Date
    • Thread