summaryrefslogtreecommitdiffstats
path: root/src/display (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* remove trailing spaceShlomi Fish2017-10-061-14/+13
|
* refactoringShlomi Fish2017-10-061-5/+1
|
* update a comment and remove trail spaceShlomi Fish2017-10-061-5/+2
|
* update a comment and remove trail spaceShlomi Fish2017-10-061-3/+3
|
* Extract an expr + trailing spaceShlomi Fish2017-10-061-23/+24
|
* Removed all GSList occurences in .h filesMarc Jeanmougin2017-10-015-32/+30
|
* Fix crash in "New from template" dialogChristophe Lebras2017-07-041-19/+26
| | | | | | Selecting template in "New from template" dialog, causes Inkscape to crash because the method SPCanvas::paintSingleBuffer is called before _backing_store is initialized. Checking _backing_store value and returning if null, prebent crash.
* SPCanvas::paintSingleBuffer: Draw directly to _backing_storeUli Schlachter2017-07-011-12/+18
| | | | | | | | | | | | | | Before this commit, this function creates a new cairo image surface, draws the tile that it was told to redraw to this buffer and then uses cairo to copy the drawn data at the right position inside of _backing_store. Thus, the drawn data was copied around at least once. This commit changes the code so that it draws directly to _backing_store: We get the information from _backing_store and then create a new image surface from this that covers just the part that we should redraw. Thus, one copy of the data is avoided. Signed-off-by: Uli Schlachter <psychon@znc.in>
* SPCanvas: Use a similar image for _backing_storeUli Schlachter2017-07-012-4/+51
| | | | | | | | | | | | | | | | 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>
* Fix a small memory leak in SPCanvas::paintUli Schlachter2017-07-011-0/+3
| | | | Signed-off-by: Uli Schlachter <psychon@znc.in>
* Update for CSS 3 'image-rendering'.Tavmjong Bah2017-05-291-2/+8
| | | (bzr r15714)
* Add preference that allows user to increase the canvas tile size.Tavmjong Bah2017-03-301-1/+7
| | | | | | A larger tile size vastly speeds up rendering for drawings with heavy filter use by reducing the need to recalculate filter effects that cross multiple tiles. (bzr r15614)
* Add canvas-rotate for rapid previewing canvas rotation.Tavmjong Bah2017-03-308-7/+499
| | | | | Add canvas-debug for study of canvas tiling. (bzr r15612)
* Add canvas flip. No GUI. Can be bound to keys via preferences.Tavmjong Bah2017-03-222-6/+12
| | | (bzr r15606)
* Implement rotation via desktop to window affine.Tavmjong Bah2017-03-203-295/+2
| | | | | | Remove rotation via viewbox. Still some work to do... (bzr r15603)
* Modify CanvasXYGrid to work with rotated canvas.Tavmjong Bah2017-03-182-104/+147
| | | (bzr r15602)
* Modifiy CtrlRect to work with rotated canvas.Tavmjong Bah2017-03-172-145/+127
| | | (bzr r15600)
* Fix rendering when canvas rotated. General code clean-up and documentation.Tavmjong Bah2017-03-151-60/+44
| | | (bzr r15598)
* Replace rectangle based zooming by affine based zooming.Tavmjong Bah2017-03-133-4/+12
| | | | | | | | 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)
* sp-canvas: Migrate to seat_grabAlex Valavanis2017-02-261-5/+12
| | | (bzr r15548)
* Fix Gdk deprecationsAlex Valavanis2017-02-071-2/+25
| | | (bzr r15492)
* Fix some new Gdk deprecationsAlex Valavanis2017-02-071-1/+1
| | | (bzr r15491)
* Remove some unneeded < C++11 fallback codeAlex Valavanis2017-02-064-20/+0
| | | (bzr r15485)
* fixing to new trunkJabiertxof2017-01-2420-34/+197
|\ | | | | (bzr r15142.1.38)
| * Use GStatBuf where appropriate to ensure usage of the correct typeEduard Braun2017-01-121-1/+1
| | | | | | | | | | (fixes compilation with i686-w64-mingw32) (bzr r15414)
| * Fix snapping tooltips and highlighting of snapped bounding boxes (both of ↵Diederik van Lierop2017-01-111-2/+2
| | | | | | | | | | which were not shown) (bzr r15410)
| * antialiasing options on exportMarc Jeanmougin2017-01-045-10/+28
| | | | | | (bzr r15391)
| * Fix logic error (non-scaling stroke on text).Tavmjong Bah2017-01-031-1/+1
| | | | | | (bzr r15386)
| * Fix a few Gtkmm deprecationsAlex Valavanis2016-12-262-0/+10
| | | | | | (bzr r15357)
| * sp-canvas: Gtkmmify to squash a few warningsAlex Valavanis2016-12-251-14/+17
| | | | | | (bzr r15353)
| * Fixes for measure LPE and speed path based LPE operationsJabiertxof2016-12-062-0/+15
| | | | | | (bzr r15302)
| * Add triangle knot.Jabier Arraiza Cenoz2016-12-032-3/+73
| | | | | | (bzr r15293)
| * Remove unneeded "#include <arpa/inet.h>" in "cairo-utils.cpp"Eduard Braun2016-11-271-1/+0
| | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/1645062 (bzr r15280)
| * Provide a way to update a legacy document to account for the 90 to 96 dpi ↵Tavmjong Bah2016-11-252-2/+42
| | | | | | | | | | | | | | change. This method relies on setting the 'viewBox'. (bzr r15273)
| * Select mesh nodes by clicking on control lines.Tavmjong Bah2016-11-234-0/+8
| | | | | | (bzr r15267)
* | Update to trunkJabier Arraiza Cenoz2016-11-053-2/+15
|\| | | | | (bzr r15142.1.30)
| * Fix bug:1639083 crach closing segment with shortcut LPEJabier Arraiza Cenoz2016-11-052-0/+13
| | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/1639083 (bzr r15210)
| * Revert two changes from r15177Marc Jeanmougin2016-11-031-2/+2
| | | | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/1636475 - https://launchpad.net/bugs/1637885 (bzr r15204)
* | Fix angle constrain, thanks to vlada, Mc and LiamWJabier Arraiza Cenoz2016-11-011-1/+1
| | | | | | (bzr r15142.1.29)
* | Add some Vlava improvements from mailing listJabier Arraiza Cenoz2016-11-012-6/+14
|\| | | | | (bzr r15142.1.28)
* | Add fadding from temporary rotate draw to real onesJabier Arraiza Cenoz2016-10-261-11/+20
| | | | | | (bzr r15142.1.27)
* | Some bug fixes and improvementsJabier Arraiza Cenoz2016-10-251-12/+0
| | | | | | (bzr r15142.1.25)
* | Add right click rotation panning, some fixesJabier Arraiza Cenoz2016-10-232-54/+61
| | | | | | (bzr r15142.1.23)
* | Add right click rotation panningJabier Arraiza Cenoz2016-10-232-9/+12
| | | | | | (bzr r15142.1.22)
* | Add doc rotate with panningJabier Arraiza Cenoz2016-10-232-11/+20
|\| | | | | (bzr r15142.1.21)
* | Add right click attemptJabier Arraiza Cenoz2016-10-232-6/+64
| | | | | | (bzr r15142.1.20)
* | Update to trunkJabier Arraiza Cenoz2016-10-192-6/+21
|\| | | | | (bzr r15142.1.18)
| * Implement 'vector-effect' value 'non-scaling-stroke'. No GUI yet.Tavmjong Bah2016-10-192-6/+21
| | | | | | (bzr r15177)
* | Styling rotateJabier Arraiza Cenoz2016-10-191-4/+49
| | | | | | (bzr r15142.1.17)
* | Working with rotate previewJabier Arraiza Cenoz2016-10-192-4/+169
| | | | | | (bzr r15142.1.15)