<div dir="ltr"><div><div><div>Hi,<br><br></div>Here is a new patch that I think works for all terminals even though PGF doesn't seam to handle line strip so that line join doesn't work.<br></div>The change log is as follows:<br>* gl2ps.c:<br>** #define GL2PS_LINE_CAP_TOKEN and GL2PS_LINE_JOIN_TOKEN<br>** add linecap and linejoin fields to primitive structure<br>** add lastlinecap and lastlinejoin fields to gl2ps context structure<br>** gl2psResetLineProperties: new static function to reset line width, cap and <br> join<br>** gl2psLineCap/Join: new public functions that pass through the requested <br> values,<br>** gl2psParseFeedbackBuffer: add two new cases for GL2PS_LINE_CAP_TOKEN and <br> GL2PS_LINE_JOIN_TOKEN.<br><br>* gl2ps.h: <br>** #define allowed values for linecap and linejoin<br>** declare gl2psLineCap/Join<br>** gl2psAddPolyPrimitive: change signature to include linecap and linejoin<br><br>* gl2psTestSimple.c: add a usage example for line cap and line width<br>* gl2ps.tex: document the two new public functions in the same section as <br> gl2psLineWidth<br><br></div>Pantxo<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-30 10:35 GMT+02:00 Pantxo Diribarne <span dir="ltr"><<a href="mailto:pantxo.diribarne@gmail.com" target="_blank">pantxo.diribarne@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><span class=""><br><div class="gmail_quote">2016-08-30 8:25 GMT+02:00 Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@ulg.ac.be" target="_blank">cgeuzaine@ulg.ac.be</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Pantxo - Yes, this is a good idea! (I thought you wanted to work some more on the patch?)<br><span><font color="#888888"><br>
</font></span></blockquote></div><br></span>Sure, I just wanted to ensure I wouldn't work for a patch that had no chance to make it into gl2ps :-). I'll work on this in the coming days.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">Pantxo <br></div></font></span></div>
</blockquote></div><br></div>