#12405 NORM Not Tri: [CL4] When you drawing circle very fast in Paint, the shape of circle is polygonal.

Zarro Boogs per Child bugtracker at laptop.org
Fri Jan 4 09:34:25 EST 2013


#12405: [CL4] When you drawing circle very fast in Paint, the shape of circle is
polygonal.
--------------------------------------------------------+-------------------
           Reporter:  tomyin                            |       Owner:  jnettlet     
               Type:  defect                            |      Status:  new          
           Priority:  normal                            |   Milestone:  Not Triaged  
          Component:  paint/drawing-activity (oficina)  |     Version:  not specified
         Resolution:                                    |    Keywords:               
        Next_action:  never set                         |    Verified:  0            
Deployment_affected:                                    |   Blockedby:               
           Blocking:                                    |  
--------------------------------------------------------+-------------------

Comment(by godiard):

 Uploaded a activity for testing. [1]

 The changes implemented do the following:

 * Reduce timeout used in the mousemove event from 20ms to 5 ms.

 * In the routine used to draw polygons (the brush, and all the lines and
 shapes are polygons to Paint), if the Polygon is open and is not filled,
 (the brush tool case),
 clip the area to draw to the new points added, instead of drawing all the
 polygon.

 I don't know if we can improve the x server code too, but this is what I
 can do in Paint.

 [1] http://dev.laptop.org/~gonzalo/activities/Paint-55.xo

-- 
Ticket URL: <http://dev.laptop.org/ticket/12405#comment:6>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list