summaryrefslogtreecommitdiffstats
path: root/src/display (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add error output when file loading fails.Tavmjong Bah2018-01-301-3/+26
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-3015-30/+29
| | | | A lot of header clean-up.
* Minor include file cleanup.Tavmjong Bah2018-01-2310-17/+8
|
* Misc. typosluz.paz2018-01-083-3/+3
| | | Found via `codespell`
* Merge branch 'hidpi_canvas'Tavmjong Bah2017-12-1119-230/+472
|\ | | | | | | Fixes for rendering canvas and controls on high DPI monitors.
| * Fix rendering of controls that don't invert color.Tavmjong Bah2017-12-111-2/+3
| |
| * Support device scale in filters.Tavmjong Bah2017-11-3012-40/+127
| |
| * Store device-scale and propogate value where necessary.Tavmjong Bah2017-11-304-34/+54
| | | | | | | | | | Avoids reliance on cairo_surface_get_device_scale. Also necessary for filters.
| * Adapt control shapes for hi DPI displays.Tavmjong Bah2017-11-271-167/+182
| | | | | | | | Rework how shapes are generated to simplify code.
| * Simple scaling of controls for high DPI screens (nodes, arrows, etc.).Tavmjong Bah2017-11-261-4/+23
| |
| * Remove debugging code and other cleanup.Tavmjong Bah2017-11-243-128/+25
| |
| * Fix repainting.Tavmjong Bah2017-11-241-3/+21
| |
| * First attempt at supporting HiDPI on canvas.Tavmjong Bah2017-11-234-33/+218
| | | | | | | | | | Rendering seems to work but has not been fully tested. Editting does not work.
* | Misc. typosluzpaz2017-12-041-2/+2
|/ | | | | | Please confirm typos in the following `doc/nr-filter-interface.txt` `share/symbols/BalloonSymbols.svg` .
* Merge branch 'luzpaz/inkscape-typos' (!119)Eduard Braun2017-11-0711-18/+18
|\
| * Misc. typosUnknown2017-11-0711-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | Found using `codespell -q 3 -w --skip="*.svg,*.po,*.ts,./share/tutorials,./src/libavoid,./packaging/win32/languages,./man,./src/2geom" -I ../inkscape-whitelist.txt` whereby whitelist file contained: ``` dum iff glight substract te upto ```
* | Fix FilterUnits::get_matrix_units2pb() for bounding box case.Tavmjong Bah2017-11-042-30/+7
| | | | | | | | | | Fixes scaling in FilterMorphology when bounding box is used. Update FilterOffset to also use function.
* | Remove need to restart Inkscape when changing tile multiplier.Tavmjong Bah2017-11-041-5/+2
|/ | | | Increase default and maximum values of tile multiplier.
* Set primitive filter area in feComposite and feMerge. Needed for tiling.Tavmjong Bah2017-11-032-0/+6
|
* Don't use infinite rectangle for tile area as this leads to ↵Tavmjong Bah2017-11-031-2/+5
| | | | overflow/underflow problems later.
* Give each filter primitive a name to help in debugging.Tavmjong Bah2017-11-0317-0/+38
|
* Merge branch 'smartpointer_refactor' of gitlab.com:jali/inkscapeMarc Jeanmougin2017-10-201-1/+0
|\
| * Replace boost::shared_ptrJan Lingscheid2017-10-171-1/+0
| | | | | | | | Replace boost::shared_ptr with C++11 smartpointer and remove the boost/shared_ptr.hpp header.
* | Remove all unused makefile.inStefano Facchini2017-10-191-17/+0
|/
* Refactoring: avoid duplicate code.Shlomi Fish2017-10-061-53/+42
|
* Refactoring.Shlomi Fish2017-10-061-7/+2
|
* Optimize and remove trailing space.Shlomi Fish2017-10-062-16/+21
|
* 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)