summaryrefslogtreecommitdiff
path: root/canvas
AgeCommit message (Collapse)AuthorFilesLines
2012-07-04fix fdo#51547: revert "Some cppcheck cleaning"Michael Meeks3-10/+10
This reverts commit 2f804c94cdaaa9ac047f229509c774dbea1dbcaa.
2012-07-04removed unnecessary forward declarations of classTakeshi Abe14-40/+0
Change-Id: I0d6aad17c471b6edd584c668dc7ff054090c185c
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks8-32/+9
2012-06-27Remove unused header filesThomas Arnhold4-360/+0
These were only referenced by Package_inc.mk... Change-Id: Idc771477595b9d221f9f2003b293fdd1ba7e1588
2012-06-27Remove unused include filesThomas Arnhold2-124/+0
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-22remove bunch of obsolete looking .flt filesMichael Stahl1-3/+0
Change-Id: Ic3d45afca14d0bebfb6168b6cf6fc6c618754183
2012-06-22use generic names rather than specific algorithm names when scalingLuboš Luňák2-2/+2
The Lanczos scaling is of very good quality, but it's rather slow, which can be very noticeable with large images, so it's not a very good default for everything. And in general, it's not good to refer to a specific algorithm when all one usually wants is fast/default/best. Some of these changes are a bit of a guess between default/best, but the general logic is that best should be used only for images that won't be large or where the possible waiting does not matter. Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231
2012-06-19fix comment snafuMichael Meeks1-0/+1
2012-06-19re-base on ALv2 code.Michael Meeks100-2341/+1467
2012-06-18fdo#30519 paint scrolled area from the right surfaceDavid Tardon2-15/+53
This adds a way to test whether mpCompositeSurface contains the front buffer image, so it can be used as a source in painting operations. It means the mpCompositeSurface changed status from 'temporary' to 'persistent' (which it was anyway, from implementation POV :-) Change-Id: Iee4fc7a97cd60e47d0abb148e7337f0b50cabb40
2012-06-18OSL_TRACE -> SAL_INFODavid Tardon1-5/+5
Change-Id: Icc6f47cc76dfa6716fc44f6c1b5f1b11ba1443c6
2012-06-16removed unused forward declarations of classTakeshi Abe1-1/+0
Change-Id: I819d5b931c937ec52b14f60591546d1d86c38631
2012-06-12Get rid of GRADIENT_* defines, they conflict with Windows GDI types.Jan Holesovsky1-4/+0
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-06-05Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.Jan Holesovsky2-2/+2
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of BMP_SCALE_INTERPOLATE. Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-02targeted string re-workNorbert Thiebaud1-5/+5
Change-Id: I73abfa24f5bb7f25afddef820bb4725bf7cee359
2012-05-28Some cppcheck cleaningJulien Nabet3-10/+10
Change-Id: Id5be3a25fc66d2f7fcec8325491a23d6908021fc
2012-05-16remove unneeded include of boost/bind.hppCaolán McNamara2-3/+2
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-09Related: fdo#48961 don't crash on silly pixmap sizesCaolán McNamara1-1/+19
Change-Id: I43dbe846160d19b203ad6bed06e807d4fbf7ce56
2012-05-03Remove unused method canvas::tools::clipBlitJordi Mallach2-32/+0
2012-05-01rework callcatcher makefile to build subsequentcheck testsCaolán McNamara2-11/+0
Change-Id: Idda0262e62e42817b8c0502a38ee16913495233c
2012-04-30Some removing in cairocanvasJulien Nabet4-22/+0
Change-Id: Idd08fd733670f4410349a45de882710b19a31f67
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-26Updated canvas readme to contemporary state of things.Thorsten Behrens1-50/+20
2012-04-26Add trolling commentsTor Lillqvist1-1/+7
2012-04-26WaE: msvc2008 unused formal parameterCaolán McNamara1-1/+1
2012-04-23bomb out compilation of cairo canvas for mac or windowsMichael Meeks1-0/+4
This is to avoid unintended regressions based on configure options.
2012-04-15Nah, don't obscure the right type with void*Tor Lillqvist1-1/+1
2012-04-15Copy and adapt current state of Norbert's CoreText work for iOSTor Lillqvist1-1/+5
Compiles, but I obviously have no idea how it works yet. Yes, eventually we should factor out common parts from the iOS and MacOSX code.
2012-04-12unusedcode.easy: remove various methodsThomas Arnhold2-9/+0
2012-04-12add .5 to control points coordinates after transformationRadek Doulik1-2/+4
- otherwise we might end up with wrong coordinates - fixes fdo#38580
2012-04-10Remove unused constructor for ParametricPolyPolygonGábor Stefanik2-21/+0
2012-04-09Remove canvas::tools::calcRectToRectTransformJulien Nabet2-83/+1
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi1-2/+1
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl1-1/+1
2012-04-08gbuild: "use" vs. "add":Michael Stahl9-25/+25
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-3/+2
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-10/+10
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi18-18/+18
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-05UniString::CreateFromInt32 -> rtl::OUString::valueOfCaolán McNamara3-12/+12
2012-03-28removed duplicate includes in avmedia / basic / canvas / chart2 / comphelperTakeshi Abe2-3/+0
2012-03-26removed duplicate includes in basic / canvas / chart2 / comphelperTakeshi Abe1-1/+0
2012-03-17compile these with exceptions againLuboš Luňák1-1/+1
a13a88bd2c673d059b60e339dcf3b8fabf991f18 changes them to build without exceptions by mistake, causing a boost problem
2012-03-16Add missing component file for canvas.Thorsten Behrens1-0/+36
2012-03-16Cleanup formatting in cairocanvasThorsten Behrens19-589/+649
White-space changes - code was in parts unreadable after tab/spaces conversion. While at it, removed a few lines of commented-out code.
2012-03-16Add COMPHELPER_SERVICEDECL_EXPORTS* back in, after libmerge changesThorsten Behrens7-55/+10
Did I mention I hate boilerplate copied all over the place? ;)
2012-03-16Use transparency for gradients fdo#45219Thorsten Behrens2-41/+42
vclcanvas has 1bpp alpha - so cut-off transparency at 98% This looks for all practical cases close enough to full alpha.
2012-03-16Return proper transparency value even for ignore_color.Thorsten Behrens1-12/+12
Rather unexpectedly, calling setupOutDevState() with IGNORE_COLOR does not return a proper transparency, but null. Fixed now.
2012-03-16Make sure mask is rendered opaque in vclcanvas.Thorsten Behrens1-0/+1
2012-03-16Remove nasty xor hack for non-Mac vclcanvasThorsten Behrens1-52/+0
This nowadays really is a pessimization.
2012-03-16Another partial fix for fdo#45219Thorsten Behrens1-17/+11
Make sure transparent polygons really only cover the polygonal area, not the whole bounding box for sprites.