[comp.sys.apple] GS Graphic question

ghost@bucsb.UUCP (Jay Adelson) (02/14/90)

References:
Sender: 
Reply-To: ghost@bucsf.UUCP (Jay Adelson)
Followup-To: 
Distribution: 
Organization: Boston University Computer Science Department
Keywords: 


	I'm looking for different ideas here:

	What's the fastest way to draw text on the Super Hi-Res screen?
in 640 mode? In 320? And does anybody know how the Appleworks GS 
communications module can handle the 9600 speed so (cough) well?
That is..better than most graphic applications?


    -Jay Adelson (ghost@bucsf.bu.edu)

:-)
Newsgroups: comp.sys.apple
Subject: GS Graphic question
Summary: 
Expires: 
References:
Sender: 
Reply-To: ghost@bucsf.UUCP (Jay Adelson)
Followup-To: 
Distribution: 
Organization: Boston University Computer Science Department
Keywords: 


	I'm looking for different ideas here:

	What's the fastest way to draw text on the Super Hi-Res screen?
in 640 mode? In 320? And does anybody know how the Appleworks GS 
communications module can handle the 9600 speed so (cough) well?
That is..better than most graphic applications?


    -Jay Adelson (ghost@bucsf.bu.edu)

:-)

wombat@claris.com (Scott Lindsey) (02/15/90)

In article <273@bucsb.UUCP> ghost@bucsb.UUCP (Jay Adelson) writes:


>	   I'm looking for different ideas here:

>	   What's the fastest way to draw text on the Super Hi-Res screen?
> in 640 mode? In 320? And does anybody know how the Appleworks GS 
> communications module can handle the 9600 speed so (cough) well?
> That is..better than most graphic applications?

Are these two questions related?  AWGS Comm uses the DrawText toolcall to
display text.  Its ability to handle 9600 bps is probably due to buffering of
text updates... something that can be considered annoying: instead of drawing
a character to the screen each time one comes in, they are buffered and
drawn in chunks (I believe comm updates occur each time through the main
event loop).

As for fast drawing of text in general, it depends on how much overhead you're
willing to handle, what font you want to use, etc.  If you don't use
QuickDraw II, have a pre-shifted font (like the Shaston-8 FastFont) and blast
it to screen memory yourself, you can get incredibly fast drawing.

If we assume you're going to be a good little desktop application, your best
bet is still to use Shaston-8, use DrawText, DrawString, or DrawCString and
make sure your clip region is a rectangle.


Scott Lindsey     | I dig iguana in their outer space duds
Claris Corp.      |    saying, "Aren't you glad we only eat bugs?"
ames!claris!wombat| DISCLAIMER: These are not the opinions of Claris, Apple,
wombat@claris.com |    StyleWare, the author, or anyone else living or Dead.