Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/OficinaActivity.py
Commit message (Collapse)AuthorAgeFilesLines
* Text tool ported to cairoGonzalo Odiard2012-08-101-3/+3
| | | | | | | This patch reorganize a little the text management code, to do the font_properties private to Area. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* First stage of port of Paint to cairoGonzalo Odiard2012-08-101-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Brushes and shapes are working. NOTES: * The pixmaps used as canvas has been replaced by ImageSurface and cairo context. * All the gc with tool properties were removed. * The variables needed by the freeform and rainbow were moved from Area to Desenha * The freeform code was simplified. * The heart is draw using cairo curves and is a little different than before. * I am using cairo_stroke_color and cairo_fill_color values in the tool dict to enable compatibility while the port is done, later will be unified. I am setting this color with a fixed alpha of 0.3 to display artifacts if we want enable alpha in the future. It's only for test at this stage. * The code used to display the polygons (triangle, trapezoid, arrow, paralellogram, star, polygon_regular) was simplified calling a method _draw_polygon witha array of points. PENDING: * All the clipboard operations. * All the efects. * Text * Bucket * Stamps
* Center images smaller than the canvas SL #3677Manuel Kaufmann2012-06-191-3/+5
| | | | | | | | Rotate and center the image. Besides, if a smaller (than the canvas) image is opened it is centered on the screen. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel QuiƱones <manuq@laptop.org>
* Don't cut the image when rotate SL #3457Manuel Kaufmann2012-04-301-1/+1
| | | | | | | | When the user rotates the image the Y coordinate have to be 0 so it image is visible from the top of it. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quinones <manuq@laptop.org>
*