Non-View Text Engine
Non-View Text Engine
- Subject: Non-View Text Engine
- From: Gordon Apple <email@hidden>
- Date: Fri, 26 Sep 2003 00:25:09 -0700
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.
--
Gordon Apple
Ed4U
Redondo Beach, CA and Little Rock, AR
email@hidden
_______________________________________________
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.