FROM : Randall Meadows
DATE : Fri Feb 08 22:32:56 2008
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_removed>)
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:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
This email sent to <email_removed>
DATE : Fri Feb 08 22:32:56 2008
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_removed>)
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:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Randall Meadows | Feb 8, 22:32 | |
| Randall Meadows | Feb 9, 01:29 | |
| Gordon Apple | Feb 9, 02:33 | |
| Nicko van Someren | Feb 9, 09:20 |






Cocoa mail archive

