[Rd] wmf on Unix?

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Fri, 29 Mar 2002 19:23:23 +0000 (GMT)

On Fri, 29 Mar 2002, Ben Bolker wrote:

>   libEMF (http://sourceforge.net/projects/libemf/) looks like it may be
> the solution to generating WMF/EMF files on Unix.  It's a general-purpose
> (LGPL) library that implements the EMF API ...
>   (I was originally going to write to the list to ask why small circles
> appear to be filled (in src/gnuwin32/graphapp/gdraw.c) by generating a
> series of rectangles rather than using some kind of "filled circle"
> primitive; someone I passed an R-generated EMF file to was worried that
> the profusion of little rectangle objects might give the printer hiccups
> ... I assume there is some good reason for this, probably now lost in the
> mists of time.)

Such as the filled circle code in the Windows GDI does not work
adequately? The name `fastfillrectangle' might give you a clue.

Drawing filled circles through the Windows GDI is notoriously slow
and buggy.

Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch