Re: OpenGL + NSTextView/NSTextContainer?
Re: OpenGL + NSTextView/NSTextContainer?
- Subject: Re: OpenGL + NSTextView/NSTextContainer?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 19 Nov 2008 17:32:14 +0100
Le 19 nov. 08 à 17:16, Karan, Cem (Civ, ARL/CISD) a écrit :
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?
Sorry, I miss the 3D requirement. Full text editing on a view that
evolve in a 3D space. I really don't have more idea about how to do
this.
_______________________________________________
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