Article View: net.micro.mac
Article #1747Re: Drawing characters fast
From: Darin Adler
Date: Sat, 15 Jun 1985 21:38
Date: Sat, 15 Jun 1985 21:38
13 lines
1182 bytes
1182 bytes
> Can anyone tell me what is the fastest method to put a text character on the > screen? No text editing functions are required, just fast writes. If you intend to draw directly to the screen using QuickDraw, there are two routines that do the job. DrawChar draws a single character. DrawString draws up to 255 at a time. DrawString is MUCH faster than multiple DrawChar's. The fastest drawing is done when the TextMode (for copying text) is set to srcOr. This means that the fastest way to get the ROM to print text is to EraseRect an area of the screen and then to DrawString into that area in srcOr mode. Darin Adler ihnp4!tmq!darin
Technical Details
Message-ID:
<197@tmq.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!tmq!darinReferences:
<5987@ucla-cs.ARPA>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site tmq.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!tmq!darin From: darin@tmq.UUCP (Darin Adler) Newsgroups: net.micro.mac Subject: Re: Drawing characters fast Message-ID: <197@tmq.UUCP> Date: Sat, 15-Jun-85 17:38:55 EDT Article-I.D.: tmq.197 Posted: Sat Jun 15 17:38:55 1985 Date-Received: Sun, 16-Jun-85 03:20:48 EDT References: <5987@ucla-cs.ARPA> Organization: tmq/ICOM Buffalo Grove, IL Lines: 13