summaryrefslogtreecommitdiffstats
path: root/src/display/sp-canvas.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SPCanvas: Use a similar image for _backing_storeUli Schlachter2017-07-011-0/+4
| | | | | | | | | | | | | | | | Cairo 1.12 adds the function cairo_surface_create_similar_image(). It works just like cairo_image_surface_create() in that it creates an image surface. However, when the passed-in surface is a cairo-xlib surface, the data of the image surface will be allocated in a shared memory segment. This makes it cheaper to have the X11 server access the surface since it does not need to be uploaded. To make use of this, a new _surface_for_similar member is added. This member is set to a (useless) surface in handle_draw(). On Linux this creates a cairo-xlib surface, so that _backing_store is latter allocated in a shared memory segment. Signed-off-by: Uli Schlachter <psychon@znc.in>
* Add canvas-rotate for rapid previewing canvas rotation.Tavmjong Bah2017-03-301-3/+3
| | | | | Add canvas-debug for study of canvas tiling. (bzr r15612)
* Implement rotation via desktop to window affine.Tavmjong Bah2017-03-201-4/+1
| | | | | | Remove rotation via viewbox. Still some work to do... (bzr r15603)
* Replace rectangle based zooming by affine based zooming.Tavmjong Bah2017-03-131-2/+2
| | | | | | | | This allows a rotation to be included in the drawing to window mapping. General code cleanup. Added documentation. Any change to zooming behavior is probably a bug. (bzr r15592)
* Add some Vlava improvements from mailing listJabier Arraiza Cenoz2016-11-011-1/+1
|\ | | | | (bzr r15142.1.28)
* | Add right click rotation panning, some fixesJabier Arraiza Cenoz2016-10-231-1/+1
| | | | | | (bzr r15142.1.23)
* | Add right click rotation panningJabier Arraiza Cenoz2016-10-231-1/+1
| | | | | | (bzr r15142.1.22)
* | Add doc rotate with panningJabier Arraiza Cenoz2016-10-231-1/+2
|\| | | | | (bzr r15142.1.21)
* | Add right click attemptJabier Arraiza Cenoz2016-10-231-1/+1
| | | | | | (bzr r15142.1.20)
* | Working with rotate previewJabier Arraiza Cenoz2016-10-191-1/+3
|/ | | (bzr r15142.1.15)
* Finish removing GTK+ 2 fallbacksAlex Valavanis2016-07-281-7/+0
| | | (bzr r15023.2.8)
* Move background drawing to SPCanvas to avoid temporarily drawing an incorrectKrzysztof Kosi??ski2016-04-131-5/+13
| | | | | background. #Hackfest2016 (bzr r14821)
* Simplify SPCanvas by tracking the clean region instead of the dirty region.Krzysztof Kosi??ski2016-04-131-3/+2
| | | | | #Hackfest2016 (bzr r14816)
* Update copyright notices on display/sp-canvas.(h|cpp)Krzysztof Kosi??ski2016-04-121-0/+2
| | | (bzr r14798)
* Hackfest 2016: Fix SPCanvas to comply with GTK3 rendering model.Krzysztof Kosi??ski2016-04-121-5/+3
| | | | | For now, causes redraw issues with SVG preview in the open dialog. (bzr r14795)
* Hackfest 2016: un-obfuscate the SPCanvas widget.Krzysztof Kosi??ski2016-04-121-64/+119
| | | (bzr r14790)
* Alex Valavanis fix for a compiling bugJabier Arraiza Cenoz2015-05-291-0/+1
| | | (bzr r14186)
* More header cleanupLiam P. White2014-09-061-9/+0
| | | (bzr r13341.1.198)
* Reduce header bloatAlex Valavanis2014-08-301-1/+0
| | | (bzr r13341.1.184)
* Move dragging undo block from tools-base to canvas. Regarding bug #168695Martin Owens2014-01-211-0/+1
| | | (bzr r12967)
* More GObject boilerplate reductionAlex Valavanis2013-01-261-3/+3
| | | (bzr r12065)
* Enable LCMS2 for other than OSX, where it still has some issues. Fixes bug ↵Jon A. Cruz2012-02-131-2/+2
| | | | | | | | #885324. Fixed bugs: - https://launchpad.net/bugs/885324 (bzr r10969)
* Initial C++ification of SPCanvas.Jon A. Cruz2012-01-121-28/+65
| | | (bzr r10873)
* Switch to top-level glib headers. Thanks to DimStar for patchAlex Valavanis2011-12-081-1/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/898538 (bzr r10762)
* Cleanup pass on documentation that was dumping garbage into doxygen output.Jon A. Cruz2011-10-251-2/+4
| | | (bzr r10696)
* Completely remove NRRect, NRRectL, in-svg-plane.hKrzysztof Kosi??ski2011-08-271-4/+0
| | | (bzr r10582.1.6)
* Update 2Geom. Remove all use of NRRectL.Krzysztof Kosi??ski2011-08-271-2/+2
| | | (bzr r10582.1.3)
* Remove useless pixmap_gc variableKrzysztof Kosi??ski2011-07-141-4/+1
| | | (bzr r10347.1.14)
* Remove more of libnrKrzysztof Kosi??ski2011-06-231-1/+1
| | | (bzr r10347.1.2)
* Merge from trunkKrzysztof Kosi??ski2011-06-191-6/+4
|\ | | | | (bzr r9508.1.89)
| * Remove deprecated glib macro wrappersAlex Valavanis2011-06-141-2/+2
| | | | | | (bzr r10302.1.1)
| * Use generic headers in preparation for GTK+ 3 transitionAlex Valavanis2011-06-031-4/+2
| | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/792263 (bzr r10252.1.1)
* | Merge from trunkKrzysztof Kosi??ski2011-04-071-53/+10
|\| | | | | (bzr r9508.1.73)
| * NEW: Grayscale color display mode. (toggle assigned keybinding: Shift+keypad5)Johan B. C. Engelen2011-02-211-0/+1
| | | | | | (bzr r10065)
| * update to latest 2geom !Johan B. C. Engelen2011-02-021-1/+1
| | | | | | (bzr r10025)
| * Split SPCanvasItem and SPCanvasGroup to individual .h files. Removed forward ↵Jon A. Cruz2010-12-231-52/+8
| | | | | | | | | | header. (bzr r9978.1.1)
* | merge from trunkKrzysztof Kosi??ski2010-08-081-0/+3
|\| | | | | (bzr r9508.1.52)
| * Merge from trunkTed Gould2010-03-261-0/+1
| |\ | | | | | | (bzr r8254.1.53)
| * | Experimental pause updating scheme.Soren Berg2009-07-221-0/+3
| | | | | | | | | (bzr r8254.1.20)
* | | Initial Cairo rendering commit: solid shapes, gradients, opacity and patternsKrzysztof Kosi??ski2010-06-221-8/+6
| |/ |/| | | (bzr r9508.1.1)
* | First GSoC node tool commit to BazaarKrzysztof Kosi??ski2009-11-291-0/+1
|/ | | (bzr r8846.1.1)
* - Move snap delay mechanism to the event context (used to be in SPCanvas)Diederik van Lierop2009-03-291-6/+0
| | | | | | - Rename lots of variables and methods to make them easier to understand - Add snapping to the connector tool (bzr r7589)
* - The snap-delay mechanism should now be more robust. From now on, it must ↵Diederik van Lierop2009-01-251-1/+4
| | | | | | | be turned on and off explicitely within each context. This prevents delayed snapping events from being fired after the context or context's state has changed. - Creating single dots now snaps (bzr r7172)
* 2geomificationJohan B. C. Engelen2009-01-021-1/+1
| | | (bzr r7056)
* From trunkTed Gould2008-10-271-1/+4
| | | (bzr r6885)
* Next roud of NR ==> Geom conversionMaximilian Albert2008-09-181-7/+8
| | | (bzr r6839)
* NR ==> Geom conversion in sp-canvasMaximilian Albert2008-09-181-3/+3
| | | (bzr r6838)
* switch to 32bpp canvasbuf, create cairo context for it, optionally output to ↵bulia byak2008-06-241-0/+1
| | | | | screen using cairo too (for now off, as it's slower than gdk) (bzr r6038)
* Iron out some rounding errors in the displaying of the rulers and of guidesDiederik van Lierop2008-02-051-0/+1
| | | (bzr r4662)
* Warning cleanup (including OFFSET_OF warning)Jon A. Cruz2007-12-011-6/+11
| | | (bzr r4150)