[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuplot-info-beta
Subject:    Supporting 'set style fill' when plotting filledcurves
From:       Ethan Merritt <merritt () u ! washington ! edu>
Date:       2004-03-02 18:21:03
Message-ID: 200403021021.03265.merritt () u ! washington ! edu
[Download RAW message or body]

There have been a couple of requests that 'plot with filledcurves'
should honor the setting of 'set style fill'.  I have placed a patch on
SourceForge that adds a style parameter to the term_api definition
of term->filled_polygon for all terminal types that support it.
I went ahead and implemented it for x11 and gd, but not for any
other terminal types as yet.  This is *not* intended for inclusion
in the upcoming version 4.0 release (at least not unless the release
gets substantially delayed for other reasons).

Remarks:

Implementing this for the postscript-like drivers
could be ugly. It would largely duplicate code and
macros already in place for post_boxfill(). I am
inclined to think that the code should be revised to
support only post_filled_polygon(), and post_boxfill()
re-implemented as a special-case request for a 4-vertex
polygon. Note that this is already done for the
equivalent calls in cgm.trm. The problem here is that
currently boxfill() code is compiled conditional on
USE_ULIG_BOXES, while filled_polygon() code is
conditional on PM3D. We would have to disentangle these
two different configuration options, at least with
regard to their overlapping requirement for
term->filled_polygon() support.

Request:

Please feel free to contribute support for other
terminal drivers. A clean PostScript implementation and
windows code are probably both needed before this could
go into cvs.



-- 
Ethan A Merritt       merritt@u.washington.edu
Biomolecular Structure Center    (206)543-1421
Mailstop 357742
University of Washington, Seattle, WA 98195


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic