Rotating a QTCaptureView
Rotating a QTCaptureView
- Subject: Rotating a QTCaptureView
- From: Randall Meadows <email@hidden>
- Date: Fri, 8 Feb 2008 14:32:56 -0700
I'm using a QtCaptureView to preview a video input source. I need to
rotate the displayed video by 90°.
I've subclassed QtCaptureView, and implemented drawRect: as such:
- (void)drawRect:(NSRect)rect {
NSAffineTransform *aft = [NSAffineTransform transform];
[aft rotateByDegrees:90.0];
[aft concat];
[super drawRect:rect];
}
but that does nothing different than not subclassing the view in the
first place (i.e., it still draws "normal").
What am I missing here?
Thanks!
randy_______________________________________________
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