Julien Nabet
0992e5111f
Some removing in cairocanvas
...
Change-Id: Idd08fd733670f4410349a45de882710b19a31f67
2012-04-30 19:50:19 +02:00
Caolán McNamara
2130b6aaa9
WaE: msvc2008 unused formal parameter
2012-04-26 09:36:21 +01:00
Michael Meeks
b0547b358b
bomb out compilation of cairo canvas for mac or windows
...
This is to avoid unintended regressions based on configure options.
2012-04-23 17:00:11 +01:00
Tor Lillqvist
5d369a2ca7
Nah, don't obscure the right type with void*
2012-04-15 11:56:48 +02:00
Tor Lillqvist
83ba7b4e8f
Copy and adapt current state of Norbert's CoreText work for iOS
...
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-15 11:56:47 +02:00
Thomas Arnhold
7a18848e14
unusedcode.easy: remove various methods
2012-04-12 12:35:48 +02:00
Radek Doulik
f0a5e147eb
add .5 to control points coordinates after transformation
...
- otherwise we might end up with wrong coordinates
- fixes fdo#38580
2012-04-12 10:07:35 +02:00
Gábor Stefanik
c73f01822c
Remove unused constructor for ParametricPolyPolygon
2012-04-10 14:15:34 +01:00
Julien Nabet
161fb1781b
Remove canvas::tools::calcRectToRectTransform
2012-04-09 13:45:35 +02:00
Szabolcs Dezsi
e4fb171d3a
Replaced a few equal calls with ==
2012-04-08 19:24:00 +02:00
Szabolcs Dezsi
743f22045c
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
...
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Szabolcs Dezsi
f770c5d6bc
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
...
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-06 12:48:32 +02:00
Caolán McNamara
5688b51bcb
UniString::CreateFromInt32 -> rtl::OUString::valueOf
2012-04-05 13:59:05 +01:00
Takeshi Abe
16244e7f24
removed duplicate includes in avmedia / basic / canvas / chart2 / comphelper
2012-03-28 00:30:29 +09:00
Takeshi Abe
6749dcc154
removed duplicate includes in basic / canvas / chart2 / comphelper
2012-03-26 22:39:42 +09:00
Thorsten Behrens
ccd8e23b4d
Add missing component file for canvas.
2012-03-16 19:23:02 +01:00
Thorsten Behrens
eb4f96c988
Cleanup formatting in cairocanvas
...
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-16 17:02:23 +01:00
Thorsten Behrens
80fe015a86
Add COMPHELPER_SERVICEDECL_EXPORTS* back in, after libmerge changes
...
Did I mention I hate boilerplate copied all over the place? ;)
2012-03-16 17:02:23 +01:00
Thorsten Behrens
3f5efa1e76
Use transparency for gradients fdo#45219
...
vclcanvas has 1bpp alpha - so cut-off transparency at 98%
This looks for all practical cases close enough to full alpha.
2012-03-16 17:02:22 +01:00
Thorsten Behrens
4b475f31eb
Return proper transparency value even for ignore_color.
...
Rather unexpectedly, calling setupOutDevState() with IGNORE_COLOR
does not return a proper transparency, but null. Fixed now.
2012-03-16 17:02:22 +01:00
Thorsten Behrens
024d661424
Make sure mask is rendered opaque in vclcanvas.
2012-03-16 17:02:21 +01:00
Thorsten Behrens
315d82d741
Remove nasty xor hack for non-Mac vclcanvas
...
This nowadays really is a pessimization.
2012-03-16 17:02:21 +01:00
Thorsten Behrens
50309b9574
Another partial fix for fdo#45219
...
Make sure transparent polygons really only cover the polygonal area,
not the whole bounding box for sprites.
2012-03-16 17:02:21 +01:00
Thorsten Behrens
83114b27fa
Consistent use of alpha in cairocanvas
...
Use GetIndex() instead of GetBlue() (does the same, but more
self-documenting); use opaque when no alpha channel consistently.
2012-03-16 17:02:20 +01:00
Stephan Bergmann
6e67c03dc0
Enable -Wnon-virtual-dtor for GCC 4.6
...
...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-14 13:32:02 +01:00
Elton Chung
ba8919e812
Remove unused code
2012-02-25 20:33:57 +00:00
Thorsten Behrens
2c7e061997
Fix fdo#45219 wrong transparency for animated objects.
...
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)
2012-02-22 11:14:06 +01:00
Elton Chung
23af031b09
Fix typos in comments
2012-02-18 09:35:43 +00:00
David Tardon
48453f3d5d
mark parameter as unused
2012-02-17 18:46:59 +01:00
David Tardon
b24c4e7461
remove unused variable
2012-02-17 18:46:59 +01:00
Elton Chung
dac6e46f29
Remove unused code
2012-02-13 16:21:42 +00:00
Carsten Niehaus
40cddfce8b
Removing one obsolte GNUC check for GCC < 4.0.1
...
See https://bugs.freedesktop.org/show_bug.cgi?id=45131
2012-02-10 10:56:13 +01:00
Thorsten Behrens
efbe3f6490
Remove obsolete quirk for text rotation.
...
With 800806ba850c7fd03e37acb011fa993e08cb8fc8 matrix decompose
returns the correct angle right away, no need to catch it here.
2012-02-07 15:41:55 +01:00
Norbert Thiebaud
69b6ca8ed5
Eliminate un-used DIRECTX5
2012-02-05 19:34:02 -06:00
David Tardon
4f6a5040db
the depth argument must be >= 0
2012-02-01 06:07:21 +01:00
David Tardon
259e0dfc29
transparency gradient effect fade in is wrong (fdo#45219)
2012-01-25 13:12:04 +01:00
David Tardon
f933735c1c
make slide transitions work
2012-01-24 12:36:36 +01:00
Caolán McNamara
6008c3f547
WaE: unused i
2012-01-13 09:06:01 +00:00
Thorsten Behrens
ea1ce3c630
Kill unused macro in canvas.
2012-01-09 18:59:51 +01:00
Thorsten Behrens
53ec7e3b2c
Avoid pointless const_cast, use getConstArray in all cases.
...
Another code-review follow-up fix from fdo#44533 - don't use
Sequence::getArray, that tends to create a new copy everytime you
call.
2012-01-09 18:38:09 +01:00
Thorsten Behrens
c85142eb63
Fix more incorrect iterator re-use.
...
Follow-up fix for 540963d879296ef81f883305057e63465b2ff586
std::algos use iterator arguments by value, and may change them.
2012-01-09 18:37:52 +01:00
julien2412
540963d879
Fix crash when play particular presentation with sound
...
This fixes fdo#44533.
2012-01-09 18:37:33 +01:00
Matúš Kukan
b769901d5a
unusedcode: remove various unused classes
2011-12-22 15:33:50 +01:00
Caolán McNamara
5c1dc778d6
remove some unused code
2011-12-22 10:46:58 +00:00
Jesse
6a8f6c4b13
Removed extra semicolons
2011-12-15 16:38:50 +00:00
Caolán McNamara
b6e200a2be
fix annoying debugging-mode crash
2011-12-06 10:33:05 +00:00
Lior Kaplan
e10fc18fb2
typo fix: explicitely -> explicitly
2011-12-01 23:41:42 +02:00
Takeshi Abe
7113c7152d
catch by constant reference
2011-11-30 11:27:42 +09:00
Norbert Thiebaud
24c0f87615
remove include of pch header in canvas
2011-11-27 12:57:22 -06:00
Jan Holesovsky
6b74943cc6
Using #if etc. inside OSL_TRACE is not a good idea, breaks Windows.
2011-11-22 21:57:46 +01:00