summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/cairo-renderer.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-07-10Move reproducible-builds hack out of CairoRenderContextPatrick Storz1-2/+9
2019-07-10cairo-renderer: set metadata in outputPatrick Storz1-34/+80
- metadata is taken from the SVG document; - fields that are compatible with the target format (and also supported by cairo) are set accordingly
2019-07-10cairo-renderer: fix commentPatrick Storz1-1/+1
2019-07-10cairo-renderer: / cairo-render-context: whitespace fixesPatrick Storz1-12/+10
2019-07-04Fix link export codeMarc Jeanmougin1-2/+4
2019-07-03Export links to pdf. Fixes https://gitlab.com/inkscape/inbox/issues/583Marc Jeanmougin1-6/+30
2018-11-08Clarify licensesMax Gaukler1-2/+2
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
2018-10-06Misc. typosluz.paz1-1/+1
Found via `codespell`
2018-10-01Move macros.h and remove unneeded macrosEduard Braun1-4/+0
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-1/+1
2018-09-26Fix PDF bitmap export (inverted y-axis)Thomas Holder1-6/+5
https://bugs.launchpad.net/inkscape/+bug/1794298
2018-09-13fixes and improvementes to power clip and powermaskJabiertxof1-15/+0
2018-09-12New option to invert y-axisThomas Holder1-10/+6
Replaces all hard coded or implicit desktop coordinate usage with doc2dt multiplication. New global preference: Interface > Origin at upper left https://bugs.launchpad.net/inkscape/+bug/170049
2018-08-28Fix opacity of bitmap images in PDF exportEduard Braun1-3/+1
This is a follow-up to 1e31c41a0ef4b0f383d4f9d2941f643ae67ca646. As it turns out the same issue also applied to bitmap images embedded in the SVG. Replacing 'cairo_paint_with_alpha()' -> 'cairo_paint()' prevents reducing opacity when rendering the bitmap onto a cairo surface. Opacity should already be properly handled in CairoRenderContext::popLayer()
2018-08-28Fix opacity of rasterized filters in PDF exportEduard Braun1-0/+2
Opacity was applied thrice: 1. when rendering the filter to a pixbuf (i.e. transparency was baked into the bitmap) 2. when rendering this pixbuf onto a cairo surface 3. when actually rendering the (now doubly opaque) item Avoid 1. and 2. and only apply opacity once. Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/381677
2018-06-19Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot1-2/+2
2018-06-18Run clang-tidy’s modernize-use-bool-literals pass.Emmanuel Gil Peyrot1-1/+1
This makes it clearer whether an integer or a boolean has to be passed in this specific call.
2018-06-18Run clang-tidy’s modernize-deprecated-headers pass.Emmanuel Gil Peyrot1-2/+2
This renames most C <*.h> includes into C++ <c*> includes.
2018-06-18Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot1-1/+1
This replaces empty constructors and destructors with the default keyword.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-8/+8
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-19/+19
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-19/+19
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-17/+16
A lot of header clean-up.
2017-10-17Replace boost::scoped_ptrJan Lingscheid1-2/+1
This replaces all usage of boost::scoped_ptr with std::unique_ptr. Also removes the corresponding includes.
2017-10-01Removed all GSList occurences in .h filesMarc Jeanmougin1-6/+2
2016-09-02Inline two "style" variables.Shlomi Fish1-4/+2
They were used only once and completely unnecessary, so I just replaced them with their expressions. (bzr r15100.1.3)
2016-09-02Remove a pointless == for boolShlomi Fish1-1/+1
(bzr r15100.1.2)
2016-07-14Renamed children list in SPObjectAdrian Boguszewski1-2/+2
(bzr r14954.1.21)
2016-07-13Second part of new SPObject children listAdrian Boguszewski1-4/+4
(bzr r14954.1.19)
2016-03-08Add PDF/PS output support for 'paint-order' property.Tavmjong Bah1-1/+29
(bzr r14696)
2015-10-29static code analysisKris De Gussem1-1/+1
(bzr r14436)
2015-05-04Fix crash in PDF export introduced in r14074Marc Jeanmougin1-1/+1
(bzr r14108)
2015-03-17Exporting. Fix for Bug #1414835 (PDF/PS/EPS export of filtered objects ↵Nicolas Dufour1-1/+1
include copy of unfiltered object on top). Fixed bugs: - https://launchpad.net/bugs/1414835 (bzr r14010)
2015-02-27more cast cleanupMarc Jeanmougin1-2/+1
(bzr r13922.1.11)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-1/+1
(bzr r13922.1.10)
2015-02-19added a set to the SelectionMarc Jeanmougin1-3/+2
(bzr r13922.1.6)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-4/+4
change that GSList* with a std::list, then resolve the few problems" So, i tried that. And I will continue tomorrow, and the days after, on and on. (bzr r13922.1.1)
2014-11-25Allow marker orientation to have units ('deg', 'rad', 'grad', 'turn').Tavmjong Bah1-5/+5
(bzr r13757)
2014-11-10Removed SP_USE/SP_IS_USE Gtk-ish macros and cleaned affected files.Jon A. Cruz1-74/+90
(bzr r13700)
2014-11-02change default pdf import resolution to 96 dpiAlvin Penner1-1/+1
(bzr r13660)
2014-10-14Implement marker 'orient' attribute value 'auto-start-reverse'.Tavmjong Bah1-5/+7
(bzr r13613)
2014-10-14Merged hatch pdf and png export codeTomasz Boczkowski1-0/+16
(bzr r13611.1.9)
2014-10-05Rename marker.cpp -> sp-marker.cpp to reflect inclusion in SP-treeLiam P. White1-1/+1
(bzr r13341.1.248)
2014-08-20Implement SVG2 marker 'orient' attribute value 'auto-start-reverse' ↵Tavmjong Bah1-5/+7
(rendering only). (bzr r13341.1.148)
2014-02-25Revert unintended checkin.Tavmjong Bah1-3/+3
(bzr r13058)
2014-02-25Rewrite of symbol creation code. Partial fix for 1201325.Tavmjong Bah1-3/+3
Symbols cannot have 'tranform' attribute. The old code copied the group 'transform' attribute to the symbol. The new code creates an intermediate group with the required 'transform' if it is not a simple translation. A simple translation is removed and applied instead to the new <use> element. Multiple objects can now be turned into a symbol without first grouping the objects. (At the cost that multiple groups can no longer be turned into multiple symbols at one go.) This better matches marker and pattern creation. (bzr r13057)
2014-01-15Revert r12544. Fixes bug 1256449 (Clipping missing on Cairo-based exports). ↵Tavmjong Bah1-3/+3
Note: 523285 is not a bug. (bzr r12935)
2013-09-19Do not require a new layer for clipping paths in the Cairo renderer.Adrian Johnson1-2/+2
Fixes LP #523285. Fixed bugs: - https://launchpad.net/bugs/523285 (bzr r12544)
2013-09-19Encapsulate the shared memory hack for Cairo and GdkPixbuf in a classKrzysztof Kosi??ski1-16/+10
called Inkscape::Pixbuf. Replace usage in the code as appropriate. (bzr r12531)
2013-09-13Improve the functions which create GdkPixbuf from Cairo surfaceKrzysztof Kosi??ski1-3/+8
and vice versa. Simplifies some code. Also introduce proper refcounting into svg_preview_cache.cpp and fix its users. (bzr r12512)