[comp.sys.mac] FORTRAN-callable graphics for Absoft v2.3...

garrett@udel.EDU (Joel Garrett) (08/09/88)

Are there any subroutine packages available for doing high-level graphics
from a FORTRAN program on the Mac?  We use Media Cybernetics' Halo '88 on
the PC, but would like to get some of our graphics-based programs ported to
the Mac.  Even if this requires a Mac II, we'd be interested, I'm not too
thrilled with the prospect of having to learn toolbox just to plot some
graphs.  Anything along the lines of GKS or Plot-10 or DI-3000, you know,
2d (3d would be nice, but isn't required - yet) world coordinates, NDCs, etc.

Also, it would be nice to put a Macintosh front-end on these PC applications,
is there some kind of "shell" program that someone has written that takes
care of the stuff needed to support DAs, pull-down menus, etc.  For some
reason, I think I've heard of something like "MacFace" which might do this,
but I don't have a vendor name.

					Thanks in advance for any info,

						Joel Garrett

					 internet: garrett@udel.edu

beloin@batcomputer.tn.cornell.edu (Ron Beloin) (08/09/88)

In article <3647@louie.udel.EDU> garrett@udel.EDU (Joel Garrett) writes:
>Are there any subroutine packages available for doing high-level graphics
not that I know of.

>Also, it would be nice to put a Macintosh front-end on these PC applications,
>is there some kind of "shell" program that someone has written that takes
>care of the stuff needed to support DAs, pull-down menus, etc.  For some
>reason, I think I've heard of something like "MacFace" which might do this,
>but I don't have a vendor name.
Its now called FaceIt! and the current version is 3.3. I've used 3.2 to
put an interface on some Fortran programs in Absoft. (But we just got
MPW Fortran, Yeah!!) FaceIt! gives you a lot more than just access to
DA's and menus. It has four built in editors (not limited to 32K chars),
allows printing and saving the contents of these editors, and these editors
can serve as inputs and outputs to your program. There is a large graphics
window with built in ways to move around in it, and I think maybe scale
it. Also dialogs, heirarchical menus, scrolling lists and pop-up menus
in dialogs. It also supports many lanquages and compilers, including
MPW Fortran (Language Systems), MPW Pascal, Lightspeed C and Pascal, 
TML and Turbo Pascal, MPW C, and MPW Modula2 (SemperSoft).
The MacMatLab application was built using FaceIt!. I believe the price
is now $100; the address is:
  FaceWare
  1310 N. Broadway
  Urbana, IL 61801
Of course, I have no connection with FaceWare.

Another related question...
From: <KRAALING%HWALHW50.BITNET@Forsythe.Stanford.EDU>
Subject: How can I send Absoft Fortran graphics to a file ???

>I will be using Absoft fortran to create graphics on a Mac II screen
>using the toolbox routines. Is there a way to save the screen in a
>MacPaint like document (or even better MacDraw like document) so that I
>can paste the graphics into a text file ??? Any help is greatly
>appreciated.

>Daniel van Kraalingen
>bitnet: kraalingen@hwalhw50

This is from memory, but it will give you the idea...
myPicHandle:= toolbox(openpicture,? rectangle or something..?)
..
drawing commands from toolbx calls
..
call toolbx(closepicture)
call toolbx(clearscrap)
call toolbx (putscrap,mypicHandle,'PICT') ?? not sure about params for
                                              this call..
the drawing is now on the clipboard, and can be pasted to MacDraw or
whatever.

Also, I think FaceIt! has some procedures for manipulating graphics,
but I'm not sure.

Ron Beloin, Ecosystems Research Center, Corson Hall, Cornell, Ithaca,NY 14853
>> opinions << BITNET:BELOIN@CRNLTHRY; INTERNET:beloin@tcgould.tn.cornell.edu
>> are mine << UUCP:{cmcl2,shasta,uw-beaver,rochester}!cornell!tcgould!beloin