summaryrefslogtreecommitdiffstats
path: root/src/sp-pattern.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-148/+0
| | | | A lot of header clean-up.
* Fix for circular references detection in almost all cases, fixing ↵Marc Jeanmougin2015-07-141-3/+2
| | | | | | | | | | | https://bugs.launchpad.net/inkscape/+bug/167247 and a few of its duplicates. This fix is aimed at preventing any sort of circular references with the URIReference::_acceptObject method, checking the absence of loops in the reference+child tree. There can be some performance improvements done if we add a pointer from cloned sub-objects to their origin sub-object. The remaining cases that are not fixed can involve non-trivial loops using one or more "url()" stylesheet references. Being able to take them into account would require a non-obvious style.cpp refactoring making use of URIReference for this kind of reference (and not handling manually the signals in the styling code, which would probably be a good thing to do anyway) (bzr r14245)
* renamed SPPattern methods to match coding styleTomasz Boczkowski2015-05-031-25/+25
| | | (bzr r14059.1.20)
* Reformatted SPPatternTomasz Boczkowski2015-05-031-38/+40
| | | (bzr r14059.1.19)
* merge with trunkTomasz Boczkowski2015-05-021-1/+1
|\ | | | | (bzr r14059.1.12)
| * Put a few std::vector<SPitem*>Marc Jeanmougin2015-02-191-1/+1
| | | | | | (bzr r13922.1.5)
| * At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin2015-02-171-1/+1
| | | | | | | | | | | | | | | | 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)
* | merged SPPattern c++-sification from svgpaints branchTomasz Boczkowski2015-04-251-50/+81
|\ \ | |/ |/| (bzr r14059.1.2)
| * SPPattern c++-sification: class fields are privateTomasz Boczkowski2014-05-291-19/+18
| | | | | | (bzr r13341.6.23)
| * SPPattern c++-sification: replaced function by methods pt3Tomasz Boczkowski2014-05-291-5/+19
| | | | | | (bzr r13341.6.22)
| * SPPattern c++-sification: replaced function by methodsTomasz Boczkowski2014-05-281-5/+10
| | | | | | (bzr r13341.6.21)
| * SPPattern c++-sification: removed unused declatations and includesTomasz Boczkowski2014-05-271-11/+9
| | | | | | (bzr r13341.6.20)
| * SPPattern c++-sification: replacing pattern_ functions by methods pt1Tomasz Boczkowski2014-05-271-8/+12
| | | | | | (bzr r13341.6.19)
| * SPPattern c++-sification: replaced GSList by std::listTomasz Boczkowski2014-05-271-7/+14
| | | | | | (bzr r13341.6.18)
| * SPPattern c++-sification: replaced gchar* by Glib::ustringTomasz Boczkowski2014-05-261-1/+1
| | | | | | (bzr r13341.6.17)
| * SPPattern c++-sification: replaced guint by bool and enumTomasz Boczkowski2014-05-261-12/+12
| | | | | | (bzr r13341.6.16)
* | Header cleanup: stop using Glib types where they aren't truly needed. Eases ↵Liam P. White2014-08-311-15/+16
| | | | | | | | | | GThread deprecation errors. (bzr r13341.1.190)
* | Reduce header bloatAlex Valavanis2014-08-301-5/+1
|/ | | (bzr r13341.1.184)
* fix compliance test pservers-pattern-03-f - using fallback when pattern is emptyTomasz Boczkowski2014-05-161-0/+2
| | | (bzr r13341.1.34)
* Added new base class to handle viewBox and preserveAspectRatio.Tavmjong Bah2014-02-061-4/+2
| | | | | | Updated sp-root, sp-symbol, sp-image, sp-pattern, marker to use new class. Fixed some viewport issues when % used. (bzr r13002)
* Added runtime check in SP_-cast macros.Markus Engel2013-09-151-1/+1
| | | (bzr r11608.1.123)
* Modified SP_IS_ macros.Markus Engel2013-09-141-1/+1
| | | (bzr r11608.1.122)
* Cleaned up.Markus Engel2013-08-031-1/+3
| | | (bzr r11608.1.117)
* Cleaned up a bit; fixed struct vs. class forward declarations.Markus Engel2013-07-311-1/+1
| | | (bzr r11608.1.111)
* Merged PaintServer and subclasses; moved Gradient classes to own files.Markus Engel2013-04-051-21/+3
| | | (bzr r11608.1.82)
* Added constructors to SP classes.Markus Engel2013-04-011-0/+1
| | | (bzr r11608.1.67)
* Replaced all casting macros with glib-independent ones.Markus Engel2013-04-011-23/+21
| | | (bzr r11608.1.64)
* Renamed virtual function names.Markus Engel2013-03-291-6/+6
| | | (bzr r11608.1.57)
* merged from trunkMarkus Engel2013-03-291-9/+8
|\ | | | | (bzr r11608.1.56)
| * Fix another load of forward declaration tagsAlex Valavanis2013-03-141-2/+1
| | | | | | (bzr r12205)
| * const ....Johan B. C. Engelen2013-01-171-7/+7
| | | | | | (bzr r12039)
* | Added "virtual pad" toMarkus Engel2012-08-211-1/+24
|/ | | | | | | | | | | | | | | - SPPaintServer - SPPattern - SPGradient - SPStop - SPLinearGradient - SPMeshGradient - SPMeshPatch - SPMeshRow - SPRadialGradient As all subclasses of SPPaintServer now have "virtual pads" with correct inheritance, the virtual function call to "onCreatePattern" was converted to C++ style. (bzr r11608.1.35)
* (cppcheck and janitorial tasks:) C-style casting to C++-style castingKris De Gussem2012-02-251-1/+1
| | | (bzr r11011)
* Cleanup for src/forward.h. (About 19 of the affected files did not require ↵Jon A. Cruz2011-10-051-1/+2
| | | | | the contents forward.h at all). (bzr r10667)
* Completely remove NRRect, NRRectL, in-svg-plane.hKrzysztof Kosi??ski2011-08-271-1/+0
| | | (bzr r10582.1.6)
* Remove all NRRect use.Krzysztof Kosi??ski2011-08-271-2/+2
| | | (bzr r10582.1.5)
* Merge from trunkKrzysztof Kosi??ski2011-06-191-5/+5
|\ | | | | (bzr r9508.1.89)
| * Remove deprecated glib macro wrappersAlex Valavanis2011-06-141-4/+4
| | | | | | (bzr r10302.1.1)
| * Use generic headers in preparation for GTK+ 3 transitionAlex Valavanis2011-06-031-1/+1
| | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/792263 (bzr r10252.1.1)
* | Merge from trunkKrzysztof Kosi??ski2011-04-071-4/+5
|\| | | | | (bzr r9508.1.73)
| * compatibility patch to compile using gcc 4.6Adib Taraben2011-02-271-0/+1
| | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/707205 (bzr r10070.1.1)
| * update to latest 2geom !Johan B. C. Engelen2011-02-021-4/+4
| | | | | | (bzr r10025)
* | Merge from trunk (again)Krzysztof Kosi??ski2010-12-151-4/+5
|\| | | | | (bzr r9508.1.72)
| * Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-4/+5
| |\ | | | | | | (bzr r9945.1.1)
| | * This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public2010-06-291-1/+1
| | | | | | | | | | | | | | | sp-polyline, sp-item and marks the onset of document c++ification as well. Users can check performace increase with [/usr/bin/time -v inkscape_binary_with_commandline_options]. (bzr r9546.1.1)
* | | Merge from trunkKrzysztof Kosi??ski2010-11-251-1/+1
|\| | | | | | | | (bzr r9508.1.70)
| * | Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan2010-11-171-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900)
* / Wholesale cruft removal part 1Krzysztof Kosi??ski2010-08-041-1/+0
|/ | | (bzr r9508.1.44)
* Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert2009-08-061-1/+1
| | | | | which cannot be fixed easily. (bzr r8422)
* SPDocument->Documentjohnce2009-08-051-1/+1
| | | (bzr r8404)