<html><head></head><body><div class="ydp169c5f9cyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
        <div dir="ltr" data-setdir="false">Hi Uli, all</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Yes the links and the info therein definitely helped to explain what is going on.</div><div dir="ltr" data-setdir="false">Maybe naively I expected the corner where the line segments intersect to be the common point.<br><div>This would probably be as expected when working with pixel graphics, but with vector graphics I guess the overshoot I am seeing is due to rounding issues in the angle of the vectors that represent the line angles</div><div><br></div><div dir="ltr" data-setdir="false">Kind regards, Frans.<br></div></div><div><br></div>
        
        </div><div id="ydpf63a3157yahoo_quoted_7836903316" class="ydpf63a3157yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    Op dinsdag 15 maart 2022 09:54:04 CET schreef Uli Schlachter <psychon@znc.in>:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">Hi,<br clear="none"><br clear="none">Am 14.03.22 um 08:54 schrieb Frans Meulenbroeks:<br clear="none">[...]<br clear="none">> What I do not fully understand is why miter join would create the overshoot I was seeing.<br clear="none">> <br clear="none">> I had expected that this would not draw before or after the coordinate the line ends (and at least not overshooting two or three pixels)<br clear="none">> Kind regards, Frans<br clear="none">[...]<br clear="none">Well, does the image on [0] help? If not, copy that code and change the<br clear="none">path to have a smaller angle. The smaller the angle, the longer will be<br clear="none">the "angle" of the line join (which is why the miter limit setting<br clear="none">exists, since otherwise very small angles would create a line join that<br clear="none">is almost infinitely long).<br clear="none"><br clear="none">Hope this helps,<div class="ydpf63a3157yqt8821899681" id="ydpf63a3157yqtfd76106"><br clear="none">Uli<br clear="none"><br clear="none">[0]: </div><a shape="rect" href="https://www.cairographics.org/samples/set_line_join/" rel="nofollow" target="_blank">https://www.cairographics.org/samples/set_line_join/</a><br clear="none">-- <br clear="none">If you have a problem, and you use threads to solve it, then you have<br clear="none">two problems and four of them happen randomly in a way you cannot<br clear="none">reproduce but your users suffer.<br clear="none">    -- pq in #wayland<div class="ydpf63a3157yqt8821899681" id="ydpf63a3157yqtfd05832"><br clear="none"></div></div></div>
            </div>
        </div></body></html>