<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 17, 2014 at 4:18 PM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
Anna Petrášová wrote:<br>
<br>
> > Using this functionality for graphical clipping is problematic if you<br>
> > use thick lines, as clipped lines will be capped at the point where<br>
> > they're clipped. It would also affect the dash offset for dashed lines<br>
> > (although that isn't implemented yet).<br>
><br>
> Is there any way to set different default mode without modifying the code?<br>
<br>
</span>No.<br>
<span class=""><br>
> > Additionally, the driver's Set_window function establishes a clip<br>
> > region (e.g. via cairo_clip() for the cairo driver). This defaults to<br>
> > the entire "screen", but can be overridden by setting the environment<br>
> > variable GRASS_FRAME.<br>
> ><br>
> > Arguably, the code which sets up the coordinate system so that the<br>
> > current region just fits the display (D_setup) should also set the<br>
> > clip region to fit the current region.<br>
> ><br>
> > However, this is complicated slightly be the fact that there's no<br>
> > distinction between the display "frame" (either the screen or the<br>
> > frame set by GRASS_FRAME) and the current clip region, so setting a<br>
> > clip region would lose the only record of the frame.<br>
><br>
> I still don't understand if the current behavior in 7 is intended and if<br>
> so, why no vector clipping is better?<br>
<br>
</span>It isn't intended, it's an oversight.<br></blockquote><div><br></div><div>I see. So, are you (or anyone else who understands this part of code) going to do something about it? </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</font></span></blockquote></div><br></div></div>