|
From: sfeam (E. Merritt) <eam...@gm...> - 2013-07-25 16:44:53
|
On Thursday, 25 July 2013, Christoph Bersch wrote:
> Hi,
>
> I was wondering, why using linestyles is not allowed for object borders.
> The following is not allowed:
>
> set object circle at 0,0 radius 1 fs empty border ls 1
Insufficient imagination at the time fillstyles were implemented :-)
The relevant structure is in term_api.h
typedef struct fill_style_type {
int fillstyle;
int filldensity;
int fillpattern;
t_colorspec border_color;
} fill_style_type;
You can see the only information held for the border is a color,
not a full line type or style.
If we're ever going to change that, right now during the long
run-up to version 5 is a good time. A quick "grep border_color *.c"
suggests there are at least 35 sites in the code that would be affected.
On the other hand, so far as I can think of there is a perfectly
adequate work-around already available - you can plot the
object or graph twice, once describing the fill and a second
time describing the outline. Have I missed a case where this
is not possible?
Ethan
> I wanted to ask before I try to come up with a patch ;-)
>
> Christoph
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>
|