Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!leah!itsgw!batcomputer!hsgj From: hsgj@batcomputer.tn.cornell.edu (Dan Green) Newsgroups: comp.sys.amiga Subject: where is SetDrPt ? Message-ID: <2334@batcomputer.tn.cornell.edu> Date: Mon, 14-Sep-87 20:14:20 EDT Article-I.D.: batcompu.2334 Posted: Mon Sep 14 20:14:20 1987 Date-Received: Wed, 16-Sep-87 01:23:56 EDT Distribution: comp Organization: Theory Center, Cornell U., Ithaca NY Lines: 37 Keywords: SetDrPt I finally decided to do some graphics-type programming on my Amiga, and I have run into a little difficulty. I can't seem to find the Kernel Graphics function 'SetDrPt'. This function is suppossed to set the line drawing pattern, so you can draw dotted or dashed (or solid) lines. When I use this function in a program and link with amiga.lib (Kickstart 1.2G) the linker can't find the function in the library. Either: a) I am terribly confused. b) The function has a new name from what it was called in the RKM. c) The function was never implemented, or was removed by C/A. Can anyone enlighten me as to which of these is true? As an aside, the thing I am working on is a 'rubberbanding' type rectangular select box. I wanted it to have dashed lines, but now have to settle for solid ones. One thing I discovered is that if you have to move endpoints around a lot (I do because the user keeps dragging my box all over the place), then the Draw() function is actually faster then the PolyDraw() function, because you don't waste time recomputing the line array for polydraw. The time difference is pretty minimal (about 24 ticks / 1000 redraws of a 50x50x2 dot box). It is a shame there is no RKM function equivalent to PolyDraw but where the endpoints were a relative x,y distance from each other. The current polydraw requires absolute endpoints. PS: On another topic, I whipped up a 'whereis' routine, but it takes 33 seconds to scan through the original WorkBench 1.2 disk (that came with the gamma release) to hunt for a non-existant file. Is anyone interested in this utility -- or more importantly, has anyone whipped up a faster one? On this topic, please reply via email. Thanks, -- Dan Green -- ARPA: hsgj@tcgould.tn.cornell.edu UUCP: ihnp4!cornell!batcomputer!hsgj BITNET: hsgj@cornella