From: Oliver Bandel <oliver@first.in-berlin.de>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: "Jun P.FURUSE" <Jun.Furuse@inria.fr>,
Jose.deAbreuNunes@anthro.unige.ch, caml-list@inria.fr
Subject: Re: [Caml-list] Graphics without open_graph?
Date: Fri, 3 May 2002 00:13:55 +0200 (MET DST) [thread overview]
Message-ID: <Pine.LNX.3.95.1020503000733.321B-100000@first.in-berlin.de> (raw)
In-Reply-To: <20020502143627.A569@ice.gerd-stolpmann.de>
On Thu, 2 May 2002, Gerd Stolpmann wrote:
>
> On 2002.05.02 12:44 Jun P.FURUSE wrote:
> > Hello,
> >
> > > I've written a caml-top program whose output includes graphics generated
> > > via Graphics module and camlimages.
> > > I'm making this program accessible through a web site and I would like
> > > to also include the graphic output. The problem is that the program will
> > > be running non-interactive under a non graphic environment.
> > > So the question is: would it be possible to use the same graphics code?
> > > what to adapt?
> >
> > I guess that you want to use drawing functions (lines, circles...)
> > available inside Graphics, without opening the graphic window, and
> > obtain results as some graphic file format.
> >
> > If my guess is correct, unfortunatelly, the drawing function of the
> > Graphics library highly depends on those of the window system (X on
> > Unix, for example). Using these functions without windowing systems is
> > impossible at this moment.
That is not correct: The Graphics-Library is independent
of X11. It's especially designed to be independent and
therefore provides a platform-independent graphic.
And that's the reason, why the set of available functions
is limited to a small subset.
This then can be used on Unix-, Windows-, Mac-Systems.
No X11 (or X11-emulators) is (are) required.
But on unix-systems it maybe is only available
on X11 right now.
>
> I suppose it will never be possible, because the drawing functions simply
> call the drawing primitives of the windowing system.
Interesting in the Graphics-Lib is, that the names of the
graphics-functions are the same as in PostScript.
It would be nice to have the possibility to directly
write PostScript-Files with that Library too. :)
Ciao,
Oliver
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2002-05-03 5:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-02 9:46 José Manuel Nunes
2002-05-02 10:44 ` Jun P.FURUSE
2002-05-02 12:36 ` Gerd Stolpmann
2002-05-02 15:19 ` José Manuel Nunes
2002-05-02 22:13 ` Oliver Bandel [this message]
2002-05-12 20:50 ` Pierre Weis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.3.95.1020503000733.321B-100000@first.in-berlin.de \
--to=oliver@first.in-berlin.de \
--cc=Jose.deAbreuNunes@anthro.unige.ch \
--cc=Jun.Furuse@inria.fr \
--cc=caml-list@inria.fr \
--cc=info@gerd-stolpmann.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).