| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\ |
|
| | | |
|
| |/
|
|
| |
Allows panning / zooming / rotating the canvas smoothly.
|
| |
|
|
|
| |
This makes it clearer whether an integer or a boolean has to be passed
in this specific call.
|
| |
|
|
|
| |
This replaces all NULL or 0 with nullptr when assigned to or returned as
a pointer.
|
| |
|
|
| |
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This shortcut is possible as there are no duplicate items in
SPCanvasGroup. It reverts to the behavior before
ab7cc89c4f9f938575e777530c31312cde116208
which introduced a severe performance regression when deselecting
paths with many nodes while the node tool is active.
Fixed bugs:
- https://bugs.launchpad.net/inkscape/+bug/1652100
- https://bugs.launchpad.net/inkscape/+bug/1745763
|
| |
|
|
|
| |
Avoids reliance on cairo_surface_get_device_scale.
Also necessary for filters.
|
| | |
|
| | |
|
| |
|
|
|
| |
Rendering seems to work but has not been fully tested.
Editting does not work.
|
| |
|
|
| |
Increase default and maximum values of tile multiplier.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Uli Schlachter <psychon@znc.in>
|
| |
|
|
|
|
| |
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-debug for study of canvas tiling.
(bzr r15612)
|
| |
|
|
|
|
| |
Remove rotation via viewbox.
Still some work to do...
(bzr r15603)
|
| |
|
|
|
|
|
|
| |
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)
|
| |
|
| |
(bzr r15548)
|
| |
|
| |
(bzr r15492)
|
| |
|
| |
(bzr r15491)
|
| |\
| |
| | |
(bzr r15142.1.38)
|
| | |
| |
| | |
(bzr r15353)
|
| | |
| |
| | |
(bzr r15142.1.29)
|
| |\|
| |
| | |
(bzr r15142.1.28)
|
| | |
| |
| | |
(bzr r15142.1.27)
|
| | |
| |
| | |
(bzr r15142.1.25)
|
| | |
| |
| | |
(bzr r15142.1.23)
|
| | |
| |
| | |
(bzr r15142.1.22)
|
| |\|
| |
| | |
(bzr r15142.1.21)
|
| | |
| |
| | |
(bzr r15142.1.20)
|
| | |
| |
| | |
(bzr r15142.1.17)
|
| |/
|
| |
(bzr r15142.1.15)
|
| |
|
| |
(bzr r15023.2.8)
|
| |
|
|
|
|
|
|
|
| |
Most Inkscape source code does not specify GPL version, so it is essentially
GPL v1+ under section 9. Authors of the few GPL v2 only files were contacted
and all agreed to relicense under GPL v2 or later. We also have a few files
copies from GIMP, which are GPL v3+, so the complete program is available
under GPL v3 or later.
(bzr r14873)
|
| |
|
| |
(bzr r14849)
|
| |
|
| |
(bzr r14848)
|
| |
|
| |
(bzr r14833)
|
| |
|
| |
(bzr r14831)
|
| |
|
| |
(bzr r14829)
|
| |
|
|
|
| |
#Hackfest2016
(bzr r14824)
|
| |
|
|
|
| |
background. #Hackfest2016
(bzr r14821)
|
| |
|
|
|
| |
#Hackfest2016
(bzr r14816)
|
| |
|
| |
(bzr r14799)
|
| |
|
| |
(bzr r14798)
|
| |
|
|
|
| |
For now, causes redraw issues with SVG preview in the open dialog.
(bzr r14795)
|