Opened 12 years ago

Last modified 8 years ago

#3795 accepted defect

Drawing with the brush tool with the square shape

Reported by: humitos Owned by: Dvijesh
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Paint Version: Unspecified
Severity: Unspecified Keywords: gtk3, video
Cc: Distribution/OS: Unspecified
Bug Status: New

Description

Steps to reproduce:

  1. Open Paint (Gtk3)
  2. Select Brush
  3. Change it properties to use Square Shape and a big size
  4. Draw something slowly

Issue:

There are some thing drawn that I didn't draw

Expected:

Draw exactly what I'm drawing

Attachments (2)

paint__draw_with_brush_square_shape.ogv (542.5 KB) - added by humitos 12 years ago.
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

Download all attachments as: .zip

Change History (10)

Changed 12 years ago by humitos

comment:1 Changed 8 years ago by Dvijesh

My code is below.
Change Desenho.py
remove line 351 ctx.set_line_join(cairo.LINE_JOIN_MITER)
and add ctx.set_line_join(cairo.LINE_JOIN_BEVEL)

comment:2 Changed 8 years ago by godiard

Please sent a patch and screenshot showing the change

Changed 8 years ago by Dvijesh

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

comment:3 Changed 8 years ago by Dvijesh

i think that i has solved this bug but need to verify

comment:4 Changed 8 years ago by Dvijesh

i solved this bug need to verify

comment:5 Changed 8 years ago by Dvijesh

  • Owner changed from godiard to Dvijesh
  • Status changed from new to assigned

comment:6 Changed 8 years ago by Dvijesh

My code line are bolow.
In file Desenho.py remove line 351 ctx.set_line_join(cairo.LINE_JOIN_MITER) and add ctx.set_line_join(cairo.LINE_JOIN_BEVEL)

comment:7 Changed 8 years ago by Dvijesh

I changed file Desenho.py

comment:8 Changed 8 years ago by Dvijesh

  • Bug Status changed from Unconfirmed to New
  • Status changed from assigned to accepted

I have changed code that fixed this issue. Which way i can submit my code to you?

Note: See TracTickets for help on using tickets.