summaryrefslogtreecommitdiff
path: root/basegfx/source
AgeCommit message (Collapse)AuthorFilesLines
2012-04-14Clean up basegfx's polygon tools codeGábor Stefanik3-107/+0
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-1/+1
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-03-26Compatibility option for incorrect relative moves after closePath (fdo#47406)Fridrich Štrba1-2/+2
2012-03-20removed zoomtools int functionsTim Hardeck1-21/+0
Changed viewport.cxx to use long instead of int like all other zoom functions and in this succession removed the zoomtools int functions which where only added for this one exception.
2012-03-10Add more values that zoom shouldn't skipStefan Knorr (astron)1-2/+8
2012-03-05callcatcher: update listCaolán McNamara1-132/+0
2012-03-05Remove unused codeElton Chung1-172/+0
2012-03-01Remove unused codeElton Chung3-60/+0
2012-03-01WaE: unused function 'liangBarskyClipT'Tor Lillqvist1-75/+0
2012-02-25Remove unused code in basegfx, comphelperElton Chung9-403/+0
2012-02-21WaE: duplicateBranchThomas Arnhold1-22/+2
2012-02-20Remove unused codeElton Chung6-511/+0
2012-02-19Remove unused codeElton Chung2-63/+0
2012-02-16Removed unused code.Björgvin Ragnarsson1-146/+0
2012-02-15Fix fdo#45779 - accessing empty polygon.Thorsten Behrens1-55/+58
Guard access to first polygon point.
2012-02-08use boost::noncopyableCaolán McNamara1-5/+0
2012-02-08Recover some methods needed by windows directxKorrawit Pruegsanusak2-0/+12
This partially reverts b3c3e116ff0eb9b550b73d3901395c042e31d192
2012-02-06Change the zoom factor to 2^(1/6), hopefully it fits all :-)Jan Holesovsky1-3/+3
2012-02-01unusedcode.easy: Removed unused codeAlexander Bergmann16-232/+0
2012-01-28unusedcode.easy: Removed unused code (basegfx::B2DHomPoint)Alexander Bergmann1-260/+0
2012-01-28Actually apply substance of previous unused code removalAlexander Bergmann2-115/+0
2012-01-27unusedcode.easy: Removed unused code (basegfx::B3DPolygon, ↵Alexander Bergmann2-68/+0
basegfx::B3DPolyPolygon)
2012-01-25optimized zoom to use more common intervalsTim Hardeck1-0/+150
Round zoom values beginning with 50 to a multiple of 5, with 100 to one of 10, with 500 to one of 50 and with 1000 to one of 100. The step 100 is enforced to have one fixed point.
2012-01-25Removing unused code (basegfx).Alexander Bergmann3-280/+0
2012-01-21Improve checking for emptinessThomas Arnhold4-9/+9
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann1-1/+2
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-20Code clean up.Stephan Bergmann1-3/+2
2012-01-19remove unused methodsThomas Arnhold2-116/+0
2012-01-18decompose() should return the original rotation angle and scales.Thorsten Behrens1-0/+8
decompose() would return incorrect rotation angle and scales when the angle was exactly 180 degrees, due to FPU rounding error. This commit fixes it. This problem would manifest itself when inserting an image into Calc/Draw, cropping it, and flipping it vertically or rotating it at exactly 180 degrees. Before the fix the image would simply disappear.
2012-01-18Fix error in handling 'z' for svg:d string parsingThorsten Behrens1-0/+10
Previously 'z' did not update the current point to the start point of the subpath, as required by http://www.w3.org/TR/SVG/paths.html#PathDataClosePathCommand. Fixed now, and adapted all the unit tests.
2012-01-17callcatcher: remove recently unused codeCaolán McNamara2-36/+0
2012-01-10callcatcher: update listCaolán McNamara2-70/+0
2012-01-08callcatcher: Remove unused codeAugust Sodora4-404/+0
2012-01-06Fix "Same expression on both sides of '&&'" (reported by cppcheck)Julien Nabet1-2/+2
2011-12-22unusedcode: remove various unused classesMatúš Kukan3-810/+0
2011-12-19Remove DebugPlotterAugust Sodora1-416/+0
2011-12-13Fix abort from stl debug iterators' invalid access.Thorsten Behrens2-4/+8
Triggered by fdo#43725, incrementing an invalid iterator bombs - though this seems a corner case, depends on whether one considers "+= 0" as incrementing or not.
2011-12-13More efficient insertion of B3DPolygonsThorsten Behrens2-34/+56
* some cleanup - removed ugly-as-hell exposure of only parts of the internal data struct on B2DPolygon (and reworked the only client of that code) * added stl-style begin/end to B3DPolyPolygon as well, mirroring B2DPolyPolygon, plus adapting the insert() func to make use of that (avoiding loads of temporaries)
2011-12-01Remove uses of charAtAugust Sodora1-2/+2
2011-11-07Remove two more unused headers from basegfxJoseph Powers2-1082/+0
2011-11-05Why build empty objects.Joseph Powers3-120/+0
The source files don't generate any code and just declare an inline class; thus, the compiled object is empty and we don't need to link it in.
2011-11-05precompiled_basegfx.hxx is empty, so don't include it.Joseph Powers63-150/+0
2011-11-02Move BitmapDevice to use B2IBox instead of B2IRange.Thorsten Behrens1-0/+9
Semantically, B2IBox represents a pixel rect much better than B2IRange - replaced all occurences in and around the software renderer, and client code.
2011-09-30add mode-lines to .m files and last round of merged files, etc.Caolán McNamara1-0/+3
2011-09-21OSL_TRACE: Remove trailing newlinesThomas Arnhold1-2/+2
Done with perl regex: s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs; - removed trailing whitespaces and (multiple) newlines
2011-09-06callcatcher: various unused methodsCaolán McNamara1-58/+0
2011-07-26callcatcher: remove unused methodsThomas Arnhold1-5/+0
2011-07-26callcatcher: remove unused methodsThomas Arnhold3-103/+0
2011-07-21resyncing to masterBjoern Michaelsen5-121/+270
2011-07-14callcatcher: remove unused basegfx::B3DHomPoint::implHomogenizeThomas Arnhold2-48/+0