summaryrefslogtreecommitdiffstats
path: root/src/sp-image.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-805/+0
A lot of header clean-up.
2017-10-05Extract a base class, SPDimensions.Shlomi Fish1-16/+1
From two places getting rid of duplicate code.
2017-01-12Use GStatBuf where appropriate to ensure usage of the correct typeEduard Braun1-1/+1
(fixes compilation with i686-w64-mingw32) (bzr r15414)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-3/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+3
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-3/+0
(bzr r15025)
2016-04-29Backout last commit as it introduced subtle errors.Tavmjong Bah1-2/+0
(bzr r14864)
2016-04-29SVG 2 allows 'href' without 'xlink:'. For now just read plain 'href'.Tavmjong Bah1-0/+2
(bzr r14863)
2015-02-25create SPObject factoryLiam P. White1-9/+0
(bzr r13939.1.1)
2014-08-18Fix build (not pretty).Liam P. White1-0/+1
(bzr r13341.1.146)
2014-03-05When an externally linked image is modified, mark it for update insteadKrzysztof Kosi??ski1-3/+1
of directly calling update() with a bogus ctx parameter. Prevents crash and fixes LP Bug #1278571. Fixed bugs: - https://launchpad.net/bugs/1278571 (bzr r13117)
2014-02-22Fix 'preserveAspectRatio' attribute of bitmap images in EMF/WMF ↵David Mathog1-33/+9
import/export (bug #1278645). Fixed bugs: - https://launchpad.net/bugs/1278645 (bzr r13049)
2014-02-06Added new base class to handle viewBox and preserveAspectRatio.Tavmjong Bah1-211/+136
Updated sp-root, sp-symbol, sp-image, sp-pattern, marker to use new class. Fixed some viewport issues when % used. (bzr r13002)
2014-01-29Revert sp-image until the refactoring takes.Martin Owens1-43/+92
(bzr r12984)
2014-01-25A partial refactor of sp-image.cpp, expect more.Martin Owens1-56/+33
(bzr r12978)
2014-01-18Fix missing embeded image condition, kindly caught by suv in bug #1270334Martin Owens1-3/+8
Fixed bugs: - https://launchpad.net/bugs/1270334 (bzr r12954)
2014-01-17More cleaning of the image tag handler and seperate filename from load.Martin Owens1-26/+24
(bzr r12945)
2014-01-16Clean up sp-image's read_image, remove duplicate codeMartin Owens1-43/+14
(bzr r12942)
2013-10-27"fix" some "unused parameter" warningsKris De Gussem1-2/+2
(bzr r12736)
2013-10-26Added some consts.Markus Engel1-4/+4
(bzr r12729)
2013-10-03if this->pixbuf check must come earlier to prevent crashbuliabyak1-65/+67
(bzr r12653)
2013-09-28fix one code path where fullname wasn't freedbuliabyak1-1/+2
(bzr r12614)
2013-09-24change names for displayName and detailedDescription, improve char code and ↵Martin Owens1-1/+1
remove const. (bzr r12584)
2013-09-21Drop unused static function declarationsAlex Valavanis1-3/+0
(bzr r12565)
2013-09-20Refactor status-bar text for multiple items, was very brokenMartin Owens1-2/+6
Fixed bugs: - https://launchpad.net/bugs/1199192 (bzr r12550)
2013-09-19Fix serious potential bug in SPImage::printKrzysztof Kosi??ski1-1/+1
(bzr r12543)
2013-09-19Remove a warning when embedding an image with a mimetype which is notKrzysztof Kosi??ski1-5/+1
directly handled by Cairo (bzr r12542)
2013-09-19Encapsulate the shared memory hack for Cairo and GdkPixbuf in a classKrzysztof Kosi??ski1-285/+58
called Inkscape::Pixbuf. Replace usage in the code as appropriate. (bzr r12531)
2013-09-14fix windows buildJohan B. C. Engelen1-2/+4
(bzr r12517)
2013-09-14Do not recompress images when embedding and generating PDFs.Krzysztof Kosi??ski1-448/+118
Fixes blocker bug #871563. Fixed bugs: - https://launchpad.net/bugs/871563 (bzr r12516)
2013-09-13Improve the functions which create GdkPixbuf from Cairo surfaceKrzysztof Kosi??ski1-27/+20
and vice versa. Simplifies some code. Also introduce proper refcounting into svg_preview_cache.cpp and fix its users. (bzr r12512)
2013-08-21better memory leak fix (fixes bug 986271: memory leaks associated with images)Kris De Gussem1-0/+1
Patch by David Mathog, including revert of former fix in rev 11268 (bzr r12482)
2013-06-19changes_2013_05_22a.patch:David Mathog1-0/+1
1. Resolves issue of bug #988601 message 170 (Support of 'Unset' styles in EMF export). 2. Implements CSS 3 (and CSS 2) text-decoration support. Note that it does not yet provide any method of adding these features - at present it just shows whatever is in the SVG. This new code is also used to display EMF/WMF strike-through and underline text decorations when these files are read in. Those decorations may also be written out to EMF/WMF. Other text decoration features, like overline, or dotted lines, are dropped. For SVG text-decoration -line, -style, -color are all implemented. CSS3 provides two ways to represent the same state, this code uses the compound text-decoration method rather than the 3 fields method. Also it leaves out keywords that are not needed and would break backwards compatibility. For instance: text-decoration: underline solid is valid, but would break CSS2. Solid is the default, so that sort of case is written as: text-decoration: underline If the state is CSS3 specific all of the needed fields are of course include, like text-decoration: underline wavy red 3. It incorporates the fix for bug 1181326 (Text edit mishandles span of just colored spaces) 4. It incorporates further changes to text editing so that style can be changed on spans consisting of only spaces when text decorations are present in the span. 5. It incorporates code to disable text decorations when text so marked is mapped onto a path. 6. Fixed more bugs in Hebrew language support than I can remember. Hebrew language export/import to EMF now works quite well. (See the examples in libTERE v 0.7.) WMF does not support unicode and for all intents and purposes Inkscape has no way to read or write Hebrew to it. Some of more important things that now work that didn't (or didn't always): Hebrew diacritical marks, R/L/center justification, and bidirectional text. The Hebrew fonts "Ezra SIL" and "EZRA SIL SR" should be installed before viewing the libTERE examples, otherwise font substitutions will cause some text shifts. 7. Implemented font failover in Text Reassemble, which makes the process more robust. (Again, see the examples in libTERE. ) (bzr r11668.1.71)
2013-05-11Fix for 871563 : JPG images are recompressed with lower quality when embeddedJohn Smith1-2/+6
(bzr r12325)
2013-04-07Merge Object and subclasses. Merging of SP- and C-classes complete.Markus Engel1-2/+0
(bzr r11608.1.86)
2013-04-05Merged Item.Markus Engel1-9/+7
(bzr r11608.1.81)
2013-04-05Merged FlowX classes.Markus Engel1-247/+217
(bzr r11608.1.79)
2013-04-03Checking file presence before calling lstat (should fix Bug #785701 Inkscape ↵Kris De Gussem1-6/+13
freezes at opening) (bzr r12263)
2013-04-02Registered classes with new factory. Hkern, Vkern and FeFuncX have to be ↵Markus Engel1-0/+11
rewritten, as they aren't real classes. (bzr r11608.1.69)
2013-04-01Added constructors to SP classes.Markus Engel1-3/+11
(bzr r11608.1.67)
2013-03-31Prepared exchange of casting macros.Markus Engel1-0/+1
(bzr r11608.1.63)
2013-03-29Renamed virtual function names.Markus Engel1-19/+19
(bzr r11608.1.57)
2013-03-29Removed function pointers from SPObject and subclasses.Markus Engel1-5/+5
Added some missing virtual pads for classes that were hidden by preprocessor macros. (bzr r11608.1.55)
2013-03-14Various changes.Markus Engel1-1/+1
(bzr r11608.1.48)
2013-01-23Clean up more GObject type definitionsAlex Valavanis1-43/+15
(bzr r12055)
2013-01-11Warning and dead code cleanup.Jon A. Cruz1-12/+0
(bzr r12014)
2012-11-20Fix for Bug #768149 (Incorrect Image URL can cause Loop) by Kris.Nicolas Dufour1-36/+8
(bzr r11885)
2012-10-06Added virtual pad to SPFlowtext; removed old calls to virtual SPItem methods.Markus Engel1-6/+6
(bzr r11608.1.46)
2012-10-04code cleanup: add own includes to cpp files or make the functions static if ↵Campbell Barton1-4/+4
they are not used elsewhere. (bzr r11735)
2012-09-25revert changes not strictly required for EMF supportsu_v1-1/+0
(bzr r11668.1.12)