summaryrefslogtreecommitdiffstats
path: root/canvas
Commit message (Collapse)AuthorAgeFilesLines
* A UNO Any can't contain an AnyStephan Bergmann2015-04-081-1/+1
| | | | | | | | ...and css::uno::makeAny<css::uno::Any>() was never meant to be used. Introduce css::uno::toAny for the (template-code) cases that shall return an Any for both Any and non-Any inputs. Change-Id: Ifa977d73f1da71b2fedde7e8140b19497c4a0257
* loplugin:staticmethodsNoel Grandin2015-04-022-2/+2
| | | | Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-282-2/+2
| | | | Change-Id: Ic903d2429672159691fef58d0d7a15433c884250
* const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann2015-03-261-2/+2
| | | | Change-Id: Ic87452261d5104e86d22c1b37ea07b05864ca991
* More Windows define whack-a-moleStephan Bergmann2015-03-231-1/+2
| | | | Change-Id: I09bf1cfe22a65b8dbbcc7139cd1055f0e829210d
* move cairo helpers to vcl and make per-plugCaolán McNamara2015-03-2330-1475/+61
| | | | | | | Change-Id: I4de4d5c3a191784598e93a8cf70e45a3f59ae857 Reviewed-on: https://gerrit.libreoffice.org/14907 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* move ucs4toindexCaolán McNamara2015-03-193-41/+42
| | | | | | | | Change-Id: I8ae441a68ba74422c607a8830325c3afa954ad92 Reviewed-on: https://gerrit.libreoffice.org/14908 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* reorganize resizing surfaces logicCaolán McNamara2015-03-198-46/+14
| | | | | | | | | the only case where we don't just create a new surface is the X11 case Change-Id: I98a3c8f227e208ac9db969ed7711e293fb237c2e Reviewed-on: https://gerrit.libreoffice.org/14902 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:constantfunction: canvasNoel Grandin2015-03-1919-232/+0
| | | | Change-Id: I2fb2c4ec0e9467d7ced05b0e815e0d5bd2ba74c3
* move the cairo resize hack into vclCaolán McNamara2015-03-191-6/+6
| | | | | | | | Change-Id: I41868da3901d9c3fff69c11da467952176e58f09 Reviewed-on: https://gerrit.libreoffice.org/14897 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* revert work in progressCaolán McNamara2015-03-183-123/+14
| | | | Change-Id: I1387b0ed7b2d8bb9df801c03cf59efc9c0e1cfd3
* more thinkingCaolán McNamara2015-03-182-0/+5
| | | | Change-Id: Ie349bd35b1fc92b77cc15f51eb886a1c9c92cbe1
* thinkingCaolán McNamara2015-03-182-8/+112
| | | | Change-Id: Ib1a086bed7f70e244db2a0bd32819560c6949d51
* move the cairo resize hack into vclCaolán McNamara2015-03-181-6/+6
| | | | Change-Id: Ifd1817a28f4fb7ddcc85447fd3388fd0efd86476
* we don't need any xlib things here, but we do need freetype supportCaolán McNamara2015-03-181-3/+2
| | | | Change-Id: I4b3055b7a3582e8dd64599ad33b767302b101dad
* move IsCairoWorking to vclplug level and renameCaolán McNamara2015-03-186-35/+5
| | | | Change-Id: Id31de932afa61df6933d61ddba971f5d7060f0c1
* OpenOffice.org->LibreOfficeCaolán McNamara2015-03-183-3/+3
| | | | Change-Id: I0ba431b9227b3717b25f99c3ad6da552073bb712
* tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann2015-03-133-3/+9
| | | | | | | | ...for a 32-bit build, similar to what ee11e221d2108212619e1bbe7f029e7d9afdba32 "tdf#43157: Fix format string violations in OSL_TRACE etc." did for a 64-bit build Change-Id: I05dd79ede3e66cb9ab7a33792319eb34b34c82dd
* tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann2015-03-133-22/+26
| | | | | | | ...in preparation of enabling the __attribute__((format(...))) in sal_detail_logFormat (include/sal/detail/log.h) Change-Id: I8a859199fa11ca0f9f4f4b4b23a8ebddec955a86
* presumably this Commit->ImplCommit is the right build fixCaolán McNamara2015-03-112-3/+3
| | | | Change-Id: Ica4ccac97c077dd3046e42650889ba538814bf9b
* Clean up previous commitStephan Bergmann2015-03-112-14/+4
| | | | Change-Id: Icd4703c1541fa82bbe76f44369434a12cb397a19
* canvas: use constructor syntax in canvas.componentChris Sherlock2015-03-112-26/+6
| | | | | Change-Id: I983307f7eeb5702c51ca2398e69c9c560c6e2435 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* V668 no sense in testing the result of new against nullCaolán McNamara2015-03-111-2/+1
| | | | Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
* V801: Decreased performanceCaolán McNamara2015-03-094-10/+6
| | | | Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
* Simplify o3tl::LazyUpdateStephan Bergmann2015-03-051-5/+5
| | | | Change-Id: I7569a20877411a5ceb4a7475d82cb634eb6cb114
* gbuild: set _WIN32_WINNT globally instead of WINVERMichael Stahl2015-03-051-4/+0
| | | | | | | | | | ... and remove the definitions in makefiles, except in fpicker, which defines a different value for the Vista file picker. The WINVER value is derived automatically from _WIN32_WINNT by SDK header sdkddkver.h. Change-Id: I73358a9bf5d070f71821654cae2a29335a754a21
* Remove references to unused GLUStephan Bergmann2015-03-021-1/+0
| | | | | | (after removing the one remaining use of gluErrorString in a SAL_WARN call) Change-Id: Ib94e346d73e508e69c07deafdc690e3ae0e23d4e
* TyposJulien Nabet2015-02-182-4/+4
| | | | Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
* tdf#39440 - cppcheck cleanlinessRadu Ioan2015-02-171-2/+2
| | | | | | | | | Fixed some cppcheck defects Change-Id: I25fd6aba9d76df98d20b9a1bb4c9d3c1bf6f84bb Reviewed-on: https://gerrit.libreoffice.org/14487 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:deletedspecialStephan Bergmann2015-02-071-2/+1
| | | | Change-Id: Ibfed67bd911579caa19ca2203f60a86a4e6d637c
* followup code removal after changing virtual methods to non-virtualNoel Grandin2015-01-261-1/+1
| | | | | | | | | | This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
* Some more loplugin:cstylecast: canvasStephan Bergmann2015-01-202-2/+2
| | | | Change-Id: I3654875c560ba4c2d88b023e3b2104c6f43bb4a0
* svx, canvas, desktop: gb_OBJCXXFLAGS are not needed at allDouglas Mencken2015-01-131-12/+0
| | | | | | | Change-Id: Iea164e00262822d571f2c49665165795706a57a4 Reviewed-on: https://gerrit.libreoffice.org/13645 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl2015-01-091-4/+1
| | | | Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
* boost::unordered_map->std::unordered_mapCaolán McNamara2015-01-021-2/+2
| | | | | | you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
* only checked for new VirtualDeviceCaolán McNamara2014-12-111-2/+2
| | | | Change-Id: I64d7a3c6c0894e231cb0644922675dcce0db89fa
* stray debugging codeCaolán McNamara2014-12-111-1/+0
| | | | Change-Id: I953389e236739c01226365c33ab777fc3972b69d
* Resolves: fdo#87242 reuse vcl clip for cairo during animationsCaolán McNamara2014-12-112-3/+25
| | | | Change-Id: I0a26d4c4092226732620c3852b0402ee45d4fa1d
* Related: fdo#87242 merge duplicate clip setup codeCaolán McNamara2014-12-113-147/+106
| | | | | | | favoring the vclcanvas one for the places where they diverge Change-Id: I18e3d4e7659ebd4cb90c86718c1b1035671b4be3
* Related: fdo#87242 init VirtualDevice with size of surfaceCaolán McNamara2014-12-113-3/+8
| | | | | | | | | | | | | | | otherwise vcl's clipping doesn't work quite right when the render text with vcl apis fallback is used. Manually forced in my case, but it should happen in practice with vertical text, so if there is a bug about vertical text not appearing in slideshows then this is part of the fix for that. Windows and Mac remain unchanged as initialized with 1, 1. If the same problem affects those platforms then they'll need to be adjusted to remember their height/widths from the ctor and those values plugged in here instead Change-Id: I2f82f0db0cf446d7db21f0a7ee4f8c15c7ebdb42
* reduce scope of local variablesMichael Weghorn2014-12-114-8/+4
| | | | | | | | | This addresses some cppcheck warnings. Change-Id: I1122494e295af756ef3cc32717fe204505aeb9e3 Reviewed-on: https://gerrit.libreoffice.org/13335 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* canvas: DIRECTX_VERSION macro is obsoleteMichael Stahl2014-12-105-11/+0
| | | | | | It was only checked by our own code, and only DirectX 9 is supported. Change-Id: I03035f87969301624df011cb4d76c6a9532f3c99
* canvas: remove Windows SDK #ifdefs - all supported MSVC/SDK have DirectXMichael Stahl2014-12-104-36/+2
| | | | Change-Id: I5106593ad5472992e3607665849fb35802b6e266
* Kill unused directx < 9 ifdeferyRiccardo Magliocchetti2014-12-101-16/+1
| | | | | | | Change-Id: I2cd5dd5b4f723e26802930003c68433917af782d Reviewed-on: https://gerrit.libreoffice.org/13371 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* mpSurface->getCairo() == mpCairoCaolán McNamara2014-12-073-10/+8
| | | | | | | so make that clearer, and we only need to pass a Cairo context not a surface here Change-Id: If385dbd4e8a546fa18c2f93650428fe0ed0c76fc
* cairo_restore without matching cairo_saveCaolán McNamara2014-12-071-2/+0
| | | | Change-Id: I74496f40a532f9202e8729b8a81ef20ee86a5133
* Slightly less verbose adaptation to boost-1.56.0Thorsten Behrens2014-12-052-4/+3
| | | | | | This fixes up 45dfbdca6a9afba1a6aef21623ec025ded635a4d Change-Id: I754fec5c94d51cbae69ad1155f57b0bb53788ba5
* sal: clean up public headers with include-what-you-useMichael Stahl2014-11-171-0/+1
| | | | | | | | | Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
* Bump cairo version to 1.2.0Riccardo Magliocchetti2014-11-121-7/+0
| | | | | | | | | Requirement already fullfilled by RHEL 5 Change-Id: I2304ecac744d1b46b4329ab6d1a0b75739d5c4ea Reviewed-on: https://gerrit.libreoffice.org/12250 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-121-1/+1
| | | | | | | Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>