Changes

Jump to navigation Jump to search
1,159 bytes added ,  16:26, 19 April 2013
Line 21: Line 21:  
5 erase tool
 
5 erase tool
   −
6 flood fill tool - fills an enclosed area with the color selected in tool properties (if the shape you try to fill has gaps then the whole screen may fill)
+
6 flood-fill tool - fills an enclosed area with the color selected in tool properties (if the shape you try to fill has gaps then the whole screen may fill)
   −
7 color picker tool - click on the screen to set the drawing color
+
7 color-picker tool - click on the screen to set the drawing color
    
8 stamp tool - select an area with the select tool, then copy it with the stamp tool
 
8 stamp tool - select an area with the select tool, then copy it with the stamp tool
Line 29: Line 29:  
9 select tool - drag to select a rectangular area of the screen, drag again to move the selection. Also use with the edit toolbar (copy, paste, clear), with the stamp tool or with the image toolbar (rotate, mirror, scale, invert colors)
 
9 select tool - drag to select a rectangular area of the screen, drag again to move the selection. Also use with the edit toolbar (copy, paste, clear), with the stamp tool or with the image toolbar (rotate, mirror, scale, invert colors)
   −
10 secondary tool bar - shapes
+
10 secondary toolbar - shapes
   −
11 secondary tool bar - insert text, set bold, italic, size, font
+
11 secondary toolbar - insert text, set '''bold''', ''italic'', size, and font
   −
12 secondary tool bar - image  
+
12 secondary toolbar - image  
    
13 stop - quits the Activity
 
13 stop - quits the Activity
Line 153: Line 153:  
* [http://wiki.laptop.org/go/Draw Paint on OLPC wiki]
 
* [http://wiki.laptop.org/go/Draw Paint on OLPC wiki]
 
* Trac Tickets: [http://dev.laptop.org/query?groupdesc=1&group=resolution&component=paint/drawing-activity+(oficina)&col=id&col=summary&col=type&col=status&col=priority&col=milestone&col=reporter&col=time&col=changetime&order=priority OLPC], [http://bugs.sugarlabs.org/query?groupdesc=1&group=resolution&component=Paint&col=id&col=summary&col=component&col=type&col=status&col=priority&col=milestone&col=reporter&col=time&col=changetime&order=priority Sugar Labs]
 
* Trac Tickets: [http://dev.laptop.org/query?groupdesc=1&group=resolution&component=paint/drawing-activity+(oficina)&col=id&col=summary&col=type&col=status&col=priority&col=milestone&col=reporter&col=time&col=changetime&order=priority OLPC], [http://bugs.sugarlabs.org/query?groupdesc=1&group=resolution&component=Paint&col=id&col=summary&col=component&col=type&col=status&col=priority&col=milestone&col=reporter&col=time&col=changetime&order=priority Sugar Labs]
 +
 +
== GSOC 2013 ==
 +
 +
''' Implement collaboration in Paint Activity '''
 +
 +
To implement this task, you need look at the Paint activity sources, and how other activities implement collaboration. One good example is TurtleArt. Simple text messages are interchanged to communicate the different instances.
 +
 +
Then you need create a message for every operation, and every change of state of the tools (like when you change pencil color, size, etc), and do the operation at the other side when the message is received.
 +
 +
Paint code is not very well organized. You can need reorganize the code to achieve a better separation of the operations and the layer receiving messages from network or from the local ui.
 +
 +
Also if we have a registry with the data of all the operations performed, we can implement a better Undo/Redo mechanism than the actual (right now, a full copy of the screen is stored after every operation)
 +
 +
As a final note, Paint use two different canvas to draw. One while the operation is done, and is discharged for every change in the mouse position. The other where the draw is copied when the movement is finished and the mouse button is up.
628

edits

Navigation menu