Newsgroups: comp.sys.next
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!staggers
From: garyc@robbie.acns.nwu.edu
Subject: Drawing String in a View (Reply Needed ASAP)
Message-ID: <1991Jun1.212429.11027@casbah.acns.nwu.edu>
Sender: staggers@casbah.acns.nwu.edu
Organization: Northwestern University
Distribution: na
Date: Sat, 1 Jun 1991 21:24:29 GMT
Lines: 19

Urgent:  Need Quick Reply

Does anyone know if there a simple drawing function like DrawText() or
DrawString(). I need to display some plain strings in my View area; but
I hate to go thru and use the Text Object. Wouldn't it be nicer if they can
be done thru a simple func call like DrawLine of NXFrameRect().

Basically we have a CASE tool in which the user creates nodes on a canvas
(the view class) and then annotates it.  If the user gives the node a name
(arrow changes to I-beam for entering text), then the chars should appear in 
the node.  But we are clueless on how to make the chars appear in the node
while the user is typing.

	Any good suggestions? 

THANKS!

--Gary Chang
  NeXTMail: garyc@robbie.acns.nwu.edu
