caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Jun P.FURUSE" <Jun.Furuse@inria.fr>
To: Jose.deAbreuNunes@anthro.unige.ch
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Graphics without open_graph?
Date: Thu, 02 May 2002 12:44:04 +0200 (CEST)	[thread overview]
Message-ID: <20020502.124404.115933918.Jun.Furuse@inria.fr> (raw)
In-Reply-To: <1020332791.483.46.camel@sophnee>

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.

Jun
-------------------
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


  reply	other threads:[~2002-05-02 10:44 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 [this message]
2002-05-02 12:36   ` Gerd Stolpmann
2002-05-02 15:19     ` José Manuel Nunes
2002-05-02 22:13     ` Oliver Bandel
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=20020502.124404.115933918.Jun.Furuse@inria.fr \
    --to=jun.furuse@inria.fr \
    --cc=Jose.deAbreuNunes@anthro.unige.ch \
    --cc=caml-list@inria.fr \
    /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).