summaryrefslogtreecommitdiff
path: root/canvas
AgeCommit message (Collapse)AuthorFilesLines
2012-11-09bnc#681110: Fix squashed glyphs with Cairo canvas.Jan Holesovsky1-23/+2
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
2012-11-09Resolves: fdo#47432 Improve the "faux bold" in cairo canvasFlex Liu1-2/+3
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-10-15fill whole polypolygon at once, so that fill rule is applied correctlyRadek Doulik1-7/+7
- fixes rest of n#759172 Change-Id: I6c2694bf8276337b7d1fa54a12867bfc2b658a23
2012-07-04fix fdo#51547: revert "Some cppcheck cleaning"Michael Meeks3-10/+10
This reverts commit 2f804c94cdaaa9ac047f229509c774dbea1dbcaa.
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. Conflicts: svtools/source/graphic/grfmgr2.cxx Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231
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 Signed-off-by: David Tardon <dtardon@redhat.com>
2012-06-18OSL_TRACE -> SAL_INFODavid Tardon1-5/+5
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 Holesovsky1-4/+0
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931 Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
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.
2012-03-16Consistent use of alpha in cairocanvasThorsten Behrens1-4/+4
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 Stahl4-30/+71
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann5-0/+15
...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úš Kukan6-6/+6
2012-02-25Remove unused codeElton Chung2-172/+0