Re: Non-View Text Engine
Re: Non-View Text Engine
- Subject: Re: Non-View Text Engine
- From: j o a r <email@hidden>
- Date: Fri, 26 Sep 2003 09:46:26 +0200
It doesn't sound like you've read the conceptual docs on this topic:
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
TextArchitecture/index.html>
...but then again, I could be wrong?
j o a r
On 2003-09-26, at 09.25, Gordon Apple wrote:
I have taken a top level look at NSText, NSTextView, and the
TextEdit
example. My problem is that I want the text engine outside the text
views.
I want to be able to flow text into an arbitrary draw shape and I want
it
drawn in my specified draw order, not in the view heirarchy drawing
order.
I would also like to be able to use menus, typing, mouse actions, etc.
just
as if the text were in a NSTextView. I would also like to show a
Ruler view
when needed. When I used MacApp, I solved the problem by writing my
own
fairly sophisticated text engine. However, I did not have UniCode,
bi-directional text, anti-aliasing, and a few other features Cocoa text
provides.
Is the actual code base for NSTextView available so I could
implement
what I need? I would like to be able to take what is in TextEdit,
which is
essentially NSTextView, and be able to extend it without having to
start
over from scratch building a new text engine.
Alternatively, is it possible to create an off-screen view in a
hidden
window and blit it to the desired screen region. Of course, this
would also
entail redirecting mouse/menu actions.
A similar situation exists with QuickTime Movies and maybe OpenGL.
I
really don't want the view-drawing order.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.