|
From: Petr M. <mi...@ph...> - 2006-02-08 08:57:33
|
> It could be then either used as > plot f(x) with lines linejoin 1 linecap 1 > or > plot f(x) with lines linejoin round linecap rounded > or > plot f(x) with lines round rounded % not the keywords for such usage > > or perhaps even on the style-level (so that one assigns a certaint > type of linejoin to a certain linestyle, say "set linestyle 2 linejoin > rounded", but I don't ask for that). > > If two special commands term->linejoin() and term->linecap() would be > added, most drivers could simply ignore it, while those who care could > take it into conideration and produce results of higher quality. Rather than adding new term APIs again, which one of the current is already similar? I think that is XX_linewidth(), which changes line width for the current path. Thus if it is changed to XX->linewidth(double lw, t_linetype_opts *opts) then you could change whichever line properties you want. (Now you can think how to draw a line with a fading color :-) --- PM |