Article View: alt.lang.basic
Article #413Macintosh Quickbasic: Can you draw in (24 bit) color?
From: David Steffen
Date: Mon, 04 Jan 1993 15:24
Date: Mon, 04 Jan 1993 15:24
27 lines
1662 bytes
1662 bytes
My 11 year old son and I am enthusiastic users of Microsoft Quick Basic on the Mac. (We are running it on a color LC). For some of the stuff we would like to do, we need access to color quick draw to use the 8 bits of color (256 colors) available on this machine. This version of basic does not support this directly, nor does it in the included libraries, nor does it in the supported ROM calls. Thus, if it is possible to do this at all, one would need to write code resources (e.g. in Think C) to do it. I have figured out how to use color quickdraw in Think C. In order to get more than the 8 colors available in the original quick draw, it is necessary to use a color grafport, which you normally set up when you set up your window. Basic, as best I can tell, does not do this, thus limiting you to old quickdraw. I have thought of some ways around this limitation (e.g. modification of the grafport in the existing window) that I plan to try, but if anyone else has already solved this I would appreciate hearing about this. Thanks! -- David Steffen Department of Cell Biology, Baylor College of Medicine, Houston TX 77030 Telephone = (713) 798-6655, FAX = (713) 790-0545 Internet = steffen@bcm.tmc.edu
Technical Details
Message-ID:
<1i9ksbINNhhf@gazette.bcm.tmc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!bcm!bcm!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!bcm!bcm!usenet From: steffen@mbcr.bcm.tmc.edu (David Steffen) Newsgroups: alt.lang.basic Subject: Macintosh Quickbasic: Can you draw in (24 bit) color? Date: 4 Jan 1993 15:24:59 GMT Organization: Baylor College of Medicine, Houston, Tx Lines: 27 Distribution: world Message-ID: <1i9ksbINNhhf@gazette.bcm.tmc.edu> NNTP-Posting-Host: mbcr.bcm.tmc.edu