Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!mailrus!uwmcsd1!ig!agate!helios.ee.lbl.gov!nosc!cod!rupp From: rupp@cod.NOSC.MIL (William L. Rupp) Newsgroups: comp.sys.apple Subject: TML BASIC graphics programming Message-ID: <1215@cod.NOSC.MIL> Date: 16 Sep 88 16:59:01 GMT Organization: Naval Ocean Systems Center, San Diego Lines: 25 --------------------------------------------------------- I am writing some simple graphics programs on the Apple IIGS using TML BASIC. A lot can be done in TML BASIC with a few simple statements, such as: LIRBRARY "QuickDraw" GRAF INIT 320 GRAF ON _Clearscreen(-1):' clear screen to white _MoveTo(50,50):' move cursor to x,y coordinates 50,50 _LineTo(100,50):' draw a line from 50,50 to 100,50 ....and so on. However, to really get down to the serious stuff, one must create a GrafPort, which is a structure array of 169 bytes defining all sort of things relating to the drawing environmment. This turns out to be a non-trivial exercise. I am very eager to correspond with other TML BASIC programmers who have tackled that topic, or perhaps with programmers who have explored QuickDrawII/GrafPort using other languages (e.g., Pascal). Bill rupp@nosc.mil ----------------------------------------------------------------------------