RE: OpenGL + NSTextView/NSTextContainer?
RE: OpenGL + NSTextView/NSTextContainer?
- Subject: RE: OpenGL + NSTextView/NSTextContainer?
- From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Wed, 19 Nov 2008 11:16:54 -0500
- Thread-topic: OpenGL + NSTextView/NSTextContainer?
On Wednesday, November 19, 2008 9:04 AM Jean-Daniel Dupas wrote:
> Do you need text editing capability, or just text drawing ?
>
> If this is text drawing, I don't see what NSTextView provide
> that is not possible with NSAttributedString, and so, with
> the GLString class that convert an attributed string into a
> texture (and that is include in the sample pointed in the
> previous post).
>
> Else, it's perfectly possible to use an NSTextView as an
> NSOpenGLView subview (it require some tricks, but it works).
I'd like full text editing if at all possible. Can you explain what you are suggesting about the subviews some more? My only experiences with making views subviews of other views has lead me to believe that although they can be rotated and translated in 2D, they cannot be rotated or translated in 3D. Am I wrong? Is there some way of doing that?
Thanks,
Cem Karan
_______________________________________________
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