summaryrefslogtreecommitdiff
path: root/drawinglayer
AgeCommit message (Collapse)Author
2014-02-14fix crash on iostsahi glik
2014-01-30"stati" considered both pretentious and incorrect LatinMichael Stahl
As one knows, the Latin plural of the noun status is statūs. Change-Id: I6b19c57aa2aedcc1337736becc93d8802fe03f2e
2014-01-28sd/qa: Remove InteropGrabBag property from XML dumpsJacobo Aragunde Pérez
The InteropGrabBag property adds a lot of noise to this tests and it doesn't actually have any purpose, because we are building their own tests for InteropGrabBag-supported document attributes. We have removed this property by default but we left a flag to enable it when it's convenient for debugging. Change-Id: I97cc7ba171783222a57ab5a96e5755070b949505
2014-01-23Resolves: #i123950# unified and redefined CropPrimitive2D::get2DDecompositionArmin Le Grand
(cherry picked from commit 08d42c4da0a3f6dc105080102c1b1de4bce987a1) Change-Id: I2d5f52de8e9fa595012a953affbaba9d54f4f2a9
2014-01-22fdo#73886: Let's keep the "left" border outer and "right" inner.Kohei Yoshida
This reduces the complexity a bit. Change-Id: Ieefb57be86e5b66f319920fa61c88d0027c38164
2014-01-22fdo#73886: Check the right width in case the left width is zero.Kohei Yoshida
Change-Id: I6a0b1dd7382f1d3c7266ba56dbfdc557737380c2
2014-01-21bool improvementsStephan Bergmann
Change-Id: I703c854efd0e3456bfdc2e9ec527283a04bd31aa
2014-01-20fdo#73487: Center thick border lines around cell grid.Kohei Yoshida
This reduces the amount of gap at line joins. Plus it generally looks better this way. Change-Id: Ifd21cd0bc1f61f8a875b1bad9cfb33564c18b9ae
2014-01-20Handle double lines for screen rendering.Kohei Yoshida
Double lines are always drawn as 2 parallel hair lines that are 1 pixel apart, at any zoom level. Change-Id: I2796477d0ea45c9880aa8057bd1a10104df96673
2014-01-20Ensure that the pixel line is at least 1 pixel wide.Kohei Yoshida
Without this, some dashed lines may not get drawn at all at some zoom levels. Change-Id: I273c1548325d14f56618df8ca4166aac58a3ff3f
2014-01-20Do the same when the pixel thickness is zero.Kohei Yoshida
Change-Id: Icfbb295abb19cf58477f4f14f4a7294a540151c2
2014-01-20Substitute dashed line with a solid line at lower zoom levels.Kohei Yoshida
Change-Id: I0437409b6a5d6163fadf777df5c028950727e786
2014-01-20Better on-screen drawing of vertical dashed lines.Kohei Yoshida
Change-Id: I53d5f8b0278d1228cd941221a07cd360943c5ce6
2014-01-20Same solid line treatment for vertical lines during on-screen drawing.Kohei Yoshida
Change-Id: Idb352dc2afeb2ee7b48620c972c2a186209228ea
2014-01-20Better pixelization of dashed lines for screen rendering.Kohei Yoshida
Now the dashed lines are evenly placed on screen. For now, horizontal lines only. I'll work on vertical lines later. Change-Id: I474e9c8214e5f079ea2cfca12b35381d8fcf2ae1
2014-01-20Draw horizontal solid border lines directly in the pixel processor.Kohei Yoshida
This makes slightly skinnier solid lines which look better on screen. Change-Id: Ia7764be4a53d1dd6bb60ecb3ba5c8966403e4e6c
2014-01-18-Werror,-Wunused-variableStephan Bergmann
Change-Id: I39d15f863f4e1fd585b03bfc5f8854fb66af3b4c
2014-01-17Double line looks a bit too apart.Kohei Yoshida
Change-Id: I14676b6e8282a76d0be9dc0cc78e01837726e494
2014-01-17Distance value has been already scaled; no need to apply scaling twice.Kohei Yoshida
Change-Id: Id3ffc253dbd50fd23e924b4e1a349ab5c2c8518b
2014-01-17Apply dashing without consulting current map unit.Kohei Yoshida
Using scaling is sufficient. Change-Id: If976bec3940772432d814a77681170d7c99306d2
2014-01-17Use this pattern scale to scale things for better line pattern generation.Kohei Yoshida
This works much better across different output devices. Change-Id: Ie89e7284d9063f98fc5a31c505b64f8ce99a7ce1
2014-01-17Pass scaling to borderline primitive objects.Kohei Yoshida
This will be used when generating line patterns. Change-Id: I2fa0298bd3e34df1cb304d9be41e471835484d83
2014-01-17Draw double lined table border somewhat more pleasantly.Kohei Yoshida
Still a scaling issue remains when printed. Change-Id: I4aab8b976fefc6fd9fc5c08da8173de1326b9a4c
2014-01-17Always disable anti-aliasing when drawing table borders.Kohei Yoshida
Change-Id: Idede8220ac36c5bd4a88ceda33a99333f7b9fe90
2014-01-17Use hairlines judiciously to draw very thin patterned strokes correctly.Kohei Yoshida
This prevents some dashed or dotted lines from being skipped when printing or in print preview. Change-Id: I9d0a8ae743241d17d65935f4bf0d122e4313bff8
2014-01-17Fixed comment.Kohei Yoshida
Change-Id: I48d8ed8e218508f4f2d8f377fa9052ba02e61f37
2014-01-17fdo#72530: drawinglayer: fix PDF export of lossless pictureMichael Stahl
Don't pass empty Rectangle to PDFExtOutDevData::EndGroup(), it will result in early return from PDFWriterImpl::drawJPGBitmap() and no picture in the PDF. Passing in the same Rectangle for the 3rd and 4th parameter will avoid cropping in PDFExtOutDevData. (regression from 677df250becd5cde71c6310f647e78ac3763347e) Change-Id: Icf110fe3e635319419fcacc7bc684c792a34d6ad
2014-01-16fix rendering issues in iOS with aquatsahi glik
2014-01-16convert SvStream::operator<< overloads to more explicit methodsNoel Grandin
This is in preparation for more conversion of SvStream::operator<< calls to use more explicit method names. This converts the subclasses that have their own convenience overloads of operator<< to use normal methods. Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
2014-01-13longparas: xub_StrLen->sal_Int32Caolán McNamara
Change-Id: I171caa791e1d2a0baa4444a460a7f20ad5428571
2014-01-10Use boolStephan Bergmann
Change-Id: I2d06ae03650b318a1318d0e2b026352e22404fdd
2014-01-09Resolves: #i124002# use own logical size for graphics...Armin Le Grand
do not adapt PrefSize of these in rendering stack (cherry picked from commit b57f921795c7249d82ca739884c0116574426194) Conflicts: drawinglayer/source/attribute/sdrfillgraphicattribute.cxx Change-Id: I3eff4438a42209ad4c259dfdbed4869ae046bfc6
2013-12-23TyposJulien Nabet
Change-Id: I27ada8b5154968e521d9e67f21473aa85776e70e
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-08fdo#72260: guard against duplicate "name" attributeKorrawit Pruegsanusak
Change-Id: I1ee4b82e04318a50db8bb54bd5c7e00c79177d37 Reviewed-on: https://gerrit.libreoffice.org/6984 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-12-08XShapeDumper: empty name should not be dumpedKorrawit Pruegsanusak
Change-Id: Ic1ab8840c9e543cebf322de922b01739684789ad
2013-12-08add vim modelines for drawinglayer/source/dumper/*Korrawit Pruegsanusak
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::equalsIgnoreAsciiLNoel Grandin
Convert code like: aStr.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("XGRAD_SEQ_BEGIN")) to: aStr.equalsIgnoreAsciiCase("XGRAD_SEQ_BEGIN") which compiles down to the same code. Change-Id: Ia69289d853d292b2f27b68863cb6f6ecdbf1a71e
2013-11-21TypoStephan Bergmann
Change-Id: I4cbaf4b51a3e6a0029c81c8242ae03857a42ddc1
2013-11-21No need for default component_getImplementationEnvironment function any moreStephan Bergmann
Change-Id: I3c019fb810a9527f616f2df7f3082f5d5508c9e3
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString constructorNoel Grandin
Convert code like: OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OString aKeyName("NDX"); which compiles down to the same code Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
Change-Id: Ib723e19923578c07353bbd8cef98ae031a766045
2013-11-06Resolves: #i123500# redefined ColorModifiers and ColorModifierStack...Armin Le Grand
redefined GraphicAttr to be expressed as primitives if needed, enhanced render and export quality if graphic is modified using graphic attributes (cherry picked from commit 1e79e8da3f8042f7d7bd94b2c9f03cff7545b05c) Conflicts: basegfx/inc/basegfx/color/bcolor.hxx basegfx/inc/basegfx/color/bcolormodifier.hxx basegfx/source/color/bcolormodifier.cxx drawinglayer/inc/drawinglayer/primitive2d/graphicprimitivehelper2d.hxx drawinglayer/inc/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx drawinglayer/inc/drawinglayer/primitive3d/modifiedcolorprimitive3d.hxx drawinglayer/source/primitive2d/graphicprimitive2d.cxx drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx drawinglayer/source/primitive2d/modifiedcolorprimitive2d.cxx drawinglayer/source/primitive3d/modifiedcolorprimitive3d.cxx Change-Id: Ief2172efc9cc1b9838de48ec7f536c05573c7dc3
2013-11-05Resolves: i123564 corrected some aspects when working with bitmaps...Armin Le Grand
with low color depth or small size (cherry picked from commit ba54ce4fc788605fc96235f432b455311faee406) Conflicts: cui/source/tabpages/tpbitmap.cxx Change-Id: I10677414ab7d1904dbb29cd395a0c0334e0faa03
2013-10-20drop unnecessary tools/string includesCaolán McNamara
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-15update pchThomas Arnhold
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-08fdo#70090: Avoid race in copy vs. modification of aRetval SequenceStephan Bergmann
If, in the original code, aRetval[0] was computed before calling new MaskPrmitive2D (as apparently happens with Clang), no COW-copy of aRetval's internals was created (as the refcount was still 1), so MaskPrimitive2D's maChildren would share the Sequence internals with aRetval, so would end up having itself as its children after the assignment. Change-Id: I145ca429fdfae2ea555b8c754b407a81b989d45b
2013-10-07fdo#54938: Adapt supportsService implementations to cppu::supportsServiceMarcos Paulo de Souza
Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316 Reviewed-on: https://gerrit.libreoffice.org/6035 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-04fdo#39674 fix some spellingThomas Arnhold
Change-Id: I72e497fb97edf8782c69000576f42896594e1556