summaryrefslogtreecommitdiffstats
path: root/cppcanvas
Commit message (Collapse)AuthorAgeFilesLines
* Bin comments that claim to say why some header is includedTor Lillqvist2013-10-221-1/+1
| | | | | | They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
* fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza2013-10-181-1/+0
| | | | | | | Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb Reviewed-on: https://gerrit.libreoffice.org/6311 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* n#812793: Reverting the workaround.Muthu Subramanian2013-10-101-5/+0
|
* XCanvas does no longer imply XBitmapCanvasThorsten Behrens2013-10-072-6/+2
| | | | | | | | | | | Remove the implication that XCanvas IS-A XBitmapCanvas, i.e. one can access underlying pixels. That's a preparation for display-list based canvas implementations, and was a rather silly assumption in the first place. Also fixes up all client sites. Change-Id: I7a3d6f68ef46fe94b23cce7759cc0b8b6ca4dae9
* convert CPPCANVAS module from String to OUStringNoel Grandin2013-09-175-14/+13
| | | | Change-Id: I12a219a50cc3a9b07c9852cc0d417f71797b9e15
* Revert some random work-in-progress that is most probably bitrottenFridrich Štrba2013-08-303-6/+19
| | | | | | | | | | Revert "EMF+: aBaseTransform is a hardcoded identity matrix, don't bother with it" This reverts commit 2b700a710e44d2d09f45793f5f2448268e66d4fe. Revert "Pass also the bounding box in device units to the EMF+ part" This reverts commit f387c5da5a824df6cf2874155c13445a86804475.
* build on higher debug levelsCaolán McNamara2013-08-241-1/+1
| | | | Change-Id: I7f4d85f3e26ab8b19dae05c6907840b97a8af1d6
* use static LanguageTag::convertTo...() for standalone conversionsEike Rathke2013-07-131-1/+1
| | | | | | | | If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
* Fix memory leak in EMFPPen.Mark Wielaard2013-07-111-0/+12
| | | | | | | | | | Delete dashPattern, compoundArray, customStartCap and customEndCap arrays if they were created in the destructor. Change-Id: I5f3821b1ab0ac31a9cd4bc402c04090585953573 Reviewed-on: https://gerrit.libreoffice.org/4821 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* merge duplicated codeCaolán McNamara2013-07-101-86/+3
| | | | Change-Id: Ib13f17a0fe3173f4cd0ae7139f56badb39dcb6cb
* remove last XubString uses in cppcanvasCaolán McNamara2013-07-101-21/+20
| | | | Change-Id: I2ebc11a972f9a806889e13e7f69e20cd91d2ae6e
* Turn Radek's notes into README files.Radek Doulik2013-07-081-0/+4
| | | | Change-Id: I904142622ac37b394ddedf62bb7d9c099fc9cab4
* fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan2013-07-031-1/+0
| | | | | | | | | | - replaced RTL_CONTEXT_ with SAL_INFO - replace OSL_* with SAL_* Change-Id: I26761cf1d4c1cfe21dec7d8ede6df6f177bf2c3e Reviewed-on: https://gerrit.libreoffice.org/4620 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
* Missing includeStephan Bergmann2013-06-151-0/+2
| | | | Change-Id: I38d802831c8eea4406d8837b9162f5f76a8495fd
* warning C4305: 'argument' : truncation from 'double' to 'float'Stephan Bergmann2013-06-121-2/+2
| | | | Change-Id: Ieee74fd7e7cec65304dd5de9c1368f5449b66407
* Resolves: #i121237# Rework/Cleanup of Region code...Armin Le Grand2013-06-121-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | due to missing complete support for B2DPolygon class (cherry picked from commit cab10eeb7878edf224a004fd7640bd4adf8d3c51) Conflicts: cppcanvas/source/mtfrenderer/implrenderer.cxx svx/source/sdr/overlay/overlaymanagerbuffered.cxx svx/source/svdraw/svdpntv.cxx vcl/aqua/source/gdi/salgdi.cxx vcl/inc/region.h vcl/inc/unx/gtk/gtkgdi.hxx vcl/inc/vcl/regband.hxx vcl/inc/vcl/region.hxx vcl/os2/source/gdi/salgdi.cxx vcl/source/gdi/bmpacc3.cxx vcl/source/gdi/outdev2.cxx vcl/source/gdi/outmap.cxx vcl/source/gdi/regband.cxx vcl/source/gdi/region.cxx vcl/source/window/window.cxx vcl/unx/generic/gdi/pspgraphics.cxx vcl/unx/headless/svpgdi.cxx vcl/unx/headless/svppspgraphics.cxx vcl/win/source/gdi/salgdi.cxx Change-Id: Iee9a66ff431c3cecb7603e445147b67715de0f7d Remove unused variable to prevent compiler warning (cherry picked from commit 0ac65ccf079e3e22ac23cbe7ae546504c863c31f) Change-Id: Icbcaa9d576a7e560d96debc7360bdbe9090b3fd3 Wrong comparison with bool corrected (cherry picked from commit 612cefdcf6176b6bb847ce899d89af40ef313a90) Change-Id: I1cf5de6734b588f78d8e870ba7b7860634b461ce
* EMF+: aBaseTransform is a hardcoded identity matrix, don't bother with itFridrich Štrba2013-06-123-19/+0
| | | | Change-Id: Ifa4f42c4f17a70c7238347a13897ef6742eb4679
* Pass also the bounding box in device units to the EMF+ partFridrich Štrba2013-06-122-0/+6
| | | | Change-Id: I71d3029d4b3aafdc44d82b0bd9db9a54f9b8b81f
* canvas unit test - tolerate canvas non-creation: really no X server...Michael Meeks2013-06-111-1/+2
| | | | Change-Id: Id8be7bc4ad454e7e246e412803e4d672a921c08e
* add cppcanvas unit test makefile I forgot.Michael Meeks2013-06-111-0/+58
| | | | Change-Id: Ic56a61d6c71870620ad2cda7899da8d0252dfc11
* create a cairo canvas unit test, if only I could use the XCanvas API.Michael Meeks2013-06-112-0/+99
| | | | Change-Id: I3b0fdbe92db751e59ecb3f3b59f27e160b3ca226
* Use a local variable for the pointsFridrich Štrba2013-06-111-2/+6
| | | | Change-Id: Ibd274ecd7eaeadaaef9f2a17a0d721355a561431
* Refactor a bit the code while reading itFridrich Štrba2013-06-111-30/+2
| | | | Change-Id: I58693bb4ffe0f59365069a87fc30081ddf226eaa
* Fix typo and make the debug output a bit more readableFridrich Štrba2013-06-111-4/+4
| | | | Change-Id: I45cb5303bfcc1f3df8455ac454f3e1b3fc5a11e0
* Resolves: #i120604# unified and secured gradient tooling for primitivesArmin Le Grand2013-06-112-16/+16
| | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 05785d283e718aab182a5ea848de72e4a4b2efe3) Conflicts: basegfx/inc/basegfx/tools/gradienttools.hxx basegfx/source/tools/gradienttools.cxx cppcanvas/source/mtfrenderer/implrenderer.cxx drawinglayer/inc/drawinglayer/primitive2d/fillgradientprimitive2d.hxx drawinglayer/inc/drawinglayer/texture/texture.hxx drawinglayer/source/primitive2d/fillgradientprimitive2d.cxx drawinglayer/source/processor2d/vclhelpergradient.cxx Change-Id: I21f94e7b4eede094171a83a009ae19213e77f22c Unname unused argument to prevent warnings. (cherry picked from commit f7d4af835cf308bc9ece6fd84cbd14ba5be0adcd) Change-Id: I44381f1e417c39dfbd1d4051079bbd09f0c61848
* cppcanvas: try to make MSVC tinderbox happyMichael Stahl2013-06-071-4/+4
| | | | Change-Id: If4fd5a788d3907a986e27f5f53d5995c7035f685
* fdo#65502 - EmfFillPie fix.Michael Meeks2013-06-071-8/+9
| | | | Change-Id: I395ef5f5175b9a2d758f4023605b8e2d4dce859f
* Transform the clipping polygon before using itFridrich Štrba2013-06-071-0/+1
| | | | Change-Id: I71a00f7d4b80ef41b637889e51a414fac6883ba1
* log point types as numbers and not as ascii chars with the value of the numberFridrich Štrba2013-06-071-1/+1
| | | | Change-Id: Ia64c2b3a53f150afd3c194598dc3bf7d6c5d3b17
* Related: #i120994# Avoid same error for META_TEXTFILLCOLOR_ACTION...Armin Le Grand2013-06-041-0/+14
| | | | | | | | and META_TEXTLINECOLOR_ACTION (cherry picked from commit 839e9f69c68fd32a17fc90d31a68f0b2f0c2fff1) Change-Id: I259ffb9d4710aae2334fd27c1ee0bbab0679df76
* Fix merge glitch (?)Tor Lillqvist2013-06-041-2/+2
| | | | Change-Id: I4cc5d49f8df63c46e50f2bfd64de7bd257ff9d76
* Resolves: #i120994# Corrected Line/FillColor OnOff state handlingArmin Le Grand2013-06-041-0/+14
| | | | | | (cherry picked from commit 2d1c3f406b3390587bd800d05a07e8349b4582f5) Change-Id: I3ec3e83354c60c53263b8f823d6a0037dfc9130b
* fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan2013-05-208-60/+50
| | | | | | | | | | - replaced RTL_CONTEXT_ with SAL_INFO - replace OSL_* with SAL_* Change-Id: I0054bc90fdcaa2fef7e1d98a0528277be4fc341e Reviewed-on: https://gerrit.libreoffice.org/3917 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Janitorial: indent code correctlyChris Sherlock2013-05-121-11/+11
| | | | | | | Change-Id: I9fcbeb5f60df1a977347076dac82d4b5f7aba2c1 Reviewed-on: https://gerrit.libreoffice.org/3867 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
* fix buildDavid Tardon2013-05-121-1/+1
| | | | Change-Id: Iae000243265335e3f0bc6bd8979c2131243c48f9
* EMF+ fixesChris Sherlock2013-05-121-9/+26
| | | | | | | | | | | | | | | | | | | | | A number of fixes have been made to commit 256e42646bedbeb9cba900f962f36ba4b1a1cda3: * Missing redirect in SAL_WARN - only gets picked up when DBG_LEVEL > 1 * Some errant newlines in SAL_INFO * Some missing braces * Missing semi-colon fixed (!) * Changed int to sal_Int32 (causing ambiguity error) * Add dumpWords to the SAL_WARN that ensures that size is not greater than length * Show values when proessing EMF+ comment record (only enabled when DBG_LEVEL > 2) * Missing std::hex in SAL_INFO Change-Id: I059ba24964dd428a56a31d100109cfec938a8a49 Reviewed-on: https://gerrit.libreoffice.org/3861 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Fix: change to std::dec after having used std::hexChris Sherlock2013-05-101-31/+31
| | | | | | | | | | The basefield flag of a stream is persistent, which I didn't realise before. This fixes commit 256e42646bedbeb9cba900f962f36ba4b1a1cda3 Change-Id: Ic0076c63ae6236ae75dcd79d108add27391b2125 Reviewed-on: https://gerrit.libreoffice.org/3842 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Don't leak all of the EMF+ graphic objects.Thorsten Behrens2013-05-083-6/+8
| | | | Change-Id: I7951a9d25da5feec997dd0643f8579f5bcd0ee0f
* Fix adaption to SAL_INFOStephan Bergmann2013-05-061-3/+1
| | | | Change-Id: I12e32c0323e21946b795ca7f2af392930f55eed6
* Convert EMFP_DEBUG to SAL_INFO, etc.Chris Sherlock2013-05-061-203/+206
| | | | | | | | | | | | * Change to SAL_INFO instead of EMFP_DEBUG in emfplus.cxx * Use #ifdef OSL_DEBUG > 1 to conditionally compile in debugging routines * Remove some commented/conditionally compiled out code * Change logging area for SAL_WARN from cppcanvas to cppcanvas.emf Change-Id: I6db0021807634070cfa2fee0f07e32d235b3d2f3 Reviewed-on: https://gerrit.libreoffice.org/3782 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* Convert from EMFP_DEBUG to SAL_INFOChris Sherlock2013-05-021-12/+6
| | | | | | | | | | | * Change to SAL_INFO instead of EMFP_DEBUG in implrenderer.cxx * Add new log area cppcanvas.emf * Update comment in log.hxx to reference the new location of log-areas.dox Change-Id: I5d710725339f58a111a2f3494c3a72f685624322 Reviewed-on: https://gerrit.libreoffice.org/3726 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* Clang cleanup, unaligned if statementNoel Grandin2013-04-291-7/+3
| | | | | | | | | | The extra semi-colons were confusing clang. Just remove the macro, it's not adding any real value. Change-Id: I7f7c312d2c0167a17e31624e197ae75b77fa0c2f Reviewed-on: https://gerrit.libreoffice.org/3677 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* fdo#60638: Workaround should be in FillRects rather than FillPolygon.Muthu Subramanian2013-04-261-5/+7
|
* n#812793: (Workaround) Transparent background import in EMF+.Muthu Subramanian2013-04-251-2/+6
| | | | EMF+ seems to have alpha of 0xff for transparent background!
* Don't point to inc directories that don't exist any longerTor Lillqvist2013-04-241-1/+0
| | | | Change-Id: Ia160f0ee3e9480c60056d38bf11a6b139b53424f
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-2/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-2317-1309/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* remove needless forward rtl::OUString declarationsLuboš Luňák2013-04-077-28/+0
| | | | Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0710-39/+39
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* new module i18nlangtagEike Rathke2013-04-052-2/+2
| | | | | | | | | | | Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015