Ticket #3795: 0001-fixed-bug-3795.patch

File 0001-fixed-bug-3795.patch, 734 bytes (added by Dvijesh, 8 years ago)

I have replaced line 351 in Desenho.py for decribing square shape

  • Desenho.py

    From 53670c85f2732493e67ee2e6dc89e5000fae221f Mon Sep 17 00:00:00 2001
    From: Dvijesh Patel <dvijeshpatel27@yahoo.com>
    Date: Mon, 18 Jan 2016 00:05:33 +0530
    Subject: [PATCH] fixed bug #3795
    
    ---
     Desenho.py | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/Desenho.py b/Desenho.py
    index cac2749..5175175 100644
    a b class Desenho: 
    348348            ctx.set_line_join(cairo.LINE_JOIN_ROUND)
    349349        else:
    350350            ctx.set_line_cap(cairo.LINE_CAP_SQUARE)
    351             ctx.set_line_join(cairo.LINE_JOIN_MITER)
     351            ctx.set_line_join(cairo.LINE_JOIN_BEVEL)
    352352        ctx.set_line_width(widget.tool['line size'])
    353353        if fill:
    354354            ctx.save()