summaryrefslogtreecommitdiff
path: root/canvas
AgeCommit message (Collapse)Author
2012-11-09bnc#681110: Fix squashed glyphs with Cairo canvas.Jan Holesovsky
I suppose it is the same misconception as in fdo#55931 - I am convinced that the font metrics should not be used here. Looks to me as if in the past, the font width computation was broken somewhere deep inside OOo, and everyone instead of fixing the root cause was just working that around by using the FontMetric; and then one day the root cause was fixed, and all the workarounds broke ;-) - but that is just a theory. Change-Id: I741bf8f4eaea4f7d8bc698dc9a8124109dfb8c20 Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2012-11-09Resolves: fdo#47432 Improve the "faux bold" in cairo canvasFlex Liu
The "faux bold" make the bold font in Asian ugly & unacceptable, Adjust & improve the "faux bold" to make the bold font better. Change-Id: I2e02156ffc30629476b80134ffb0b50e793f7ead Signed-off-by: Jan Holesovsky <kendy@suse.cz>
2012-07-04fix fdo#51547: revert "Some cppcheck cleaning"Michael Meeks
This reverts commit 2f804c94cdaaa9ac047f229509c774dbea1dbcaa.
2012-06-22use generic names rather than specific algorithm names when scalingLuboš Luňák
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. Conflicts: svtools/source/graphic/grfmgr2.cxx Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231
2012-06-18fdo#30519 paint scrolled area from the right surfaceDavid Tardon
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 Signed-off-by: David Tardon <dtardon@redhat.com>
2012-06-18OSL_TRACE -> SAL_INFODavid Tardon
Change-Id: Icc6f47cc76dfa6716fc44f6c1b5f1b11ba1443c6 Signed-off-by: David Tardon <dtardon@redhat.com>
2012-06-17Get rid of GRADIENT_* defines, they conflict with Windows GDI types.Jan Holesovsky
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931 Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-06-05Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.Jan Holesovsky
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 Thiebaud
Change-Id: I73abfa24f5bb7f25afddef820bb4725bf7cee359
2012-05-28Some cppcheck cleaningJulien Nabet
Change-Id: Id5be3a25fc66d2f7fcec8325491a23d6908021fc
2012-05-16remove unneeded include of boost/bind.hppCaolán McNamara
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-09Related: fdo#48961 don't crash on silly pixmap sizesCaolán McNamara
Change-Id: I43dbe846160d19b203ad6bed06e807d4fbf7ce56
2012-05-03Remove unused method canvas::tools::clipBlitJordi Mallach
2012-05-01rework callcatcher makefile to build subsequentcheck testsCaolán McNamara
Change-Id: Idda0262e62e42817b8c0502a38ee16913495233c
2012-04-30Some removing in cairocanvasJulien Nabet
Change-Id: Idd08fd733670f4410349a45de882710b19a31f67
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
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 Behrens
2012-04-26Add trolling commentsTor Lillqvist
2012-04-26WaE: msvc2008 unused formal parameterCaolán McNamara
2012-04-23bomb out compilation of cairo canvas for mac or windowsMichael Meeks
This is to avoid unintended regressions based on configure options.
2012-04-15Nah, don't obscure the right type with void*Tor Lillqvist
2012-04-15Copy and adapt current state of Norbert's CoreText work for iOSTor Lillqvist
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 Arnhold
2012-04-12add .5 to control points coordinates after transformationRadek Doulik
- otherwise we might end up with wrong coordinates - fixes fdo#38580
2012-04-10Remove unused constructor for ParametricPolyPolygonGábor Stefanik
2012-04-09Remove canvas::tools::calcRectToRectTransformJulien Nabet
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl
2012-04-08gbuild: "use" vs. "add":Michael Stahl
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 Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
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 Dezsi
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 McNamara
2012-03-28removed duplicate includes in avmedia / basic / canvas / chart2 / comphelperTakeshi Abe
2012-03-26removed duplicate includes in basic / canvas / chart2 / comphelperTakeshi Abe
2012-03-17compile these with exceptions againLuboš Luňák
a13a88bd2c673d059b60e339dcf3b8fabf991f18 changes them to build without exceptions by mistake, causing a boost problem
2012-03-16Add missing component file for canvas.Thorsten Behrens
2012-03-16Cleanup formatting in cairocanvasThorsten Behrens
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 Behrens
Did I mention I hate boilerplate copied all over the place? ;)
2012-03-16Use transparency for gradients fdo#45219Thorsten Behrens
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 Behrens
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 Behrens
2012-03-16Remove nasty xor hack for non-Mac vclcanvasThorsten Behrens
This nowadays really is a pessimization.
2012-03-16Another partial fix for fdo#45219Thorsten Behrens
Make sure transparent polygons really only cover the polygonal area, not the whole bounding box for sprites.
2012-03-16Consistent use of alpha in cairocanvasThorsten Behrens
Use GetIndex() instead of GetBlue() (does the same, but more self-documenting); use opaque when no alpha channel consistently.
2012-03-14fdo#47246: canvas: split out static library directxcanvasMichael Stahl
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan
2012-02-25Remove unused codeElton Chung
2012-02-22Fix fdo#45219 wrong transparency for animated objects.Thorsten Behrens
With the attachement from said bug, and cairocanvas, sprites are displayed multiple times above each other (which, for semi- transparent sprites, lead to incorrect overall transparency)