summaryrefslogtreecommitdiffstats
path: root/drawinglayer
Commit message (Collapse)AuthorAgeFilesLines
* svx, drawinglayer: handle tools Color <-> BackgroundColorPrimitive2D roundtripMiklos Vajna2015-10-071-1/+3
| | | | | Change-Id: Ia8c080ef50e1ddbfce17b5c5d357a240edea46f2 (cherry picked from commit b1a9aba3bc33524dcf0dc1c4afc5c1aeeb5ba4d1)
* drawinglayer: add transparency support to BackgroundColorPrimitive2DMiklos Vajna2015-10-071-2/+4
| | | | | | | | | | | | Impress has tools Color that is wrapped in this primitive, then later drawinglayer::processor2d::VclPixelProcessor2D::processBasePrimitive2D() converts it back to tools Color. Problem is that the primitive uses basegfx BColor, so the alpha channel is lost. Add member and API to survive this roundtrip. Change-Id: I940e60f6e352022306abac3223636d19dd859355 (cherry picked from commit 9824134ab3c19aa0a00943c65a0e09c36ef23899)
* Revert "disable caching of virtual devices when OpenGL is enabled"Tomaž Vajngerl2015-09-181-7/+1
| | | | | | | | | | | Not needed anymore.. This reverts commit 812e85a12c7e2c046113a72da9437982926bfb37. Change-Id: I2b25180a3ddaf5b838197a82eeec2de1c202a7d7 Reviewed-on: https://gerrit.libreoffice.org/18648 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
* disable caching of virtual devices when OpenGL is enabledTomaž Vajngerl2015-09-181-1/+7
| | | | | | | | Change-Id: I15c5cca8c31d81026111a3fa3f050f53057d76b7 (cherry picked from commit 6eff03b7d8b77b797f57f2344163ff67a99631f9) Reviewed-on: https://gerrit.libreoffice.org/18308 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
* Fix tdf#87509 - default sdr attribute is special object.Thorsten Behrens2015-05-2413-0/+52
| | | | | | | | | The drawinglayer attributes signal defaultness by object identity, not value equalness. That should fix a number of subtle cache and redraw problems. Change-Id: I049ffda228a48db71cef108571805c6e41e4b149 (cherry picked from commit 3a01df64d921a65268b00a32aa7256d8f61067be)
* convert ANTIALIASING constants to scoped enumNoel Grandin2015-05-201-13/+13
| | | | Change-Id: I175b8ea4e8bc01c3cdd3dd90506eba01b35e0085
* convert DRAWMODE constants to scoped enumNoel Grandin2015-05-203-49/+49
| | | | Change-Id: I36cbe8057d09226f8b302963bdd94dc5600b686f
* convert TEXT_DRAW constants to scoped enumNoel Grandin2015-05-201-1/+1
| | | | Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
* window ftbfs: MetaActionType::TRANSPARENT->MetaActionType::TransparentCaolán McNamara2015-05-151-1/+1
| | | | | | ideally camel case the rest of these for consistency Change-Id: I7f66b8051ea58963ea28d128f73900aefe5d2846
* convert META_*_ACTION constants to scoped enumNoel Grandin2015-05-152-73/+73
| | | | Change-Id: I8ecfbfecd765a35fafcbcc5452b0d04a89be2459
* convert BMP_MIRROR constants to scoped enumNoel Grandin2015-05-061-3/+3
| | | | | | | and fix bug in svx/source/xoutdev/_xoutbmp.cxx,XOutBitmap::MirrorGraphic where it was not correctly translating between different flags types. Change-Id: I78b4965544da2aa54b67ec18307fa54c8ffc3aee
* convert BMP_SCALE constant to scoped enumNoel Grandin2015-05-061-1/+1
| | | | Change-Id: Ibc9f88d2588c028cd71aa86c26d970a73025ef22
* typo: strech -> stretchAndras Timar2015-05-051-1/+1
| | | | | | | Change-Id: I0de1cfaa0df460c7bc8e49752b31056f95c30053 Reviewed-on: https://gerrit.libreoffice.org/15628 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* Get rid of the initial :: for the vcl namespaceTor Lillqvist2015-04-302-5/+5
| | | | | | | | | | | We used it all over the place without leading :: already anyway, even in many files in include. So let's be consistent. In the majority of cases, prefer the easier-on-the-eyes choice, not the "safe" one. In those files in include where *all* existing uses of ::vcl:: indeed used the :: prefix, there let's keep it for consistency. Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
* default initialization of object of const type w/o user-provided default ctorStephan Bergmann2015-04-281-1/+1
| | | | Change-Id: I99266457d43f9279af32d75d2842480291b6e91d
* Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks2015-04-288-72/+73
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve several thousand lines of conflicts. Conflicts: accessibility/source/extended/accessiblelistbox.cxx accessibility/source/standard/vclxaccessiblecombobox.cxx accessibility/source/standard/vclxaccessibledropdowncombobox.cxx accessibility/source/standard/vclxaccessibledropdownlistbox.cxx accessibility/source/standard/vclxaccessiblelistbox.cxx accessibility/source/standard/vclxaccessibletextfield.cxx basctl/source/basicide/basidesh.cxx cui/source/inc/chardlg.hxx cui/source/tabpages/tpbitmap.cxx dbaccess/source/ui/dlg/UserAdmin.cxx dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx extensions/source/propctrlr/propertyeditor.hxx extensions/source/scanner/sanedlg.cxx filter/source/pdf/impdialog.cxx include/sfx2/mgetempl.hxx include/sfx2/sidebar/SidebarToolBox.hxx include/sfx2/viewsh.hxx include/svtools/brwbox.hxx include/svtools/filectrl.hxx include/svtools/scrwin.hxx include/svx/dlgctrl.hxx include/svx/sidebar/Popup.hxx include/svx/sidebar/PopupContainer.hxx include/svx/sidebar/PopupControl.hxx include/svx/sidebar/SidebarDialControl.hxx include/svx/sidebar/ValueSetWithTextControl.hxx sc/source/ui/condformat/condformatdlgentry.cxx sc/source/ui/navipi/navipi.cxx sc/source/ui/sidebar/CellBorderStyleControl.hxx sd/source/ui/animations/CustomAnimationDialog.cxx sd/source/ui/inc/DrawViewShell.hxx sd/source/ui/inc/Ruler.hxx sd/source/ui/inc/SlideSorter.hxx sd/source/ui/inc/ViewTabBar.hxx sd/source/ui/inc/Window.hxx sd/source/ui/inc/morphdlg.hxx sd/source/ui/inc/sdpreslt.hxx sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx sd/source/ui/sidebar/LayoutMenu.hxx sd/source/ui/sidebar/MasterPagesSelector.hxx sd/source/ui/sidebar/NavigatorWrapper.hxx sd/source/ui/sidebar/PanelBase.hxx sd/source/ui/sidebar/RecentMasterPagesSelector.cxx sd/source/ui/sidebar/RecentMasterPagesSelector.hxx sd/source/ui/slideshow/showwindow.hxx sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drviewsa.cxx sfx2/source/appl/fileobj.hxx sfx2/source/appl/opengrf.cxx sfx2/source/control/thumbnailviewacc.hxx sfx2/source/dialog/securitypage.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/doc/docinsert.cxx sfx2/source/doc/guisaveas.cxx sfx2/source/inc/alienwarn.hxx sfx2/source/sidebar/Deck.cxx sfx2/source/sidebar/Deck.hxx sfx2/source/sidebar/DeckTitleBar.cxx sfx2/source/sidebar/DeckTitleBar.hxx sfx2/source/sidebar/MenuButton.cxx sfx2/source/sidebar/MenuButton.hxx sfx2/source/sidebar/Panel.cxx sfx2/source/sidebar/Panel.hxx sfx2/source/sidebar/PanelTitleBar.hxx sfx2/source/sidebar/SidebarDockingWindow.hxx sfx2/source/sidebar/SidebarToolBox.cxx sfx2/source/sidebar/TabBar.hxx sfx2/source/sidebar/TabItem.cxx sfx2/source/sidebar/TabItem.hxx sfx2/source/sidebar/TitleBar.hxx sfx2/source/toolbox/imgmgr.cxx starmath/inc/edit.hxx starmath/inc/smmod.hxx starmath/qa/cppunit/test_starmath.cxx starmath/source/edit.cxx starmath/source/smmod.cxx svtools/source/brwbox/brwbox1.cxx svtools/source/brwbox/datwin.hxx svtools/source/contnr/fileview.cxx svtools/source/contnr/simptabl.cxx svtools/source/control/filectrl.cxx svtools/source/control/valueimp.hxx svx/inc/GalleryControl.hxx svx/source/dialog/dlgctrl.cxx svx/source/dialog/swframeexample.cxx svx/source/fmcomp/fmgridif.cxx svx/source/gallery2/GalleryControl.cxx svx/source/sidebar/EmptyPanel.hxx svx/source/sidebar/area/AreaPropertyPanel.hxx svx/source/sidebar/area/AreaTransparencyGradientControl.hxx svx/source/sidebar/graphic/GraphicPropertyPanel.hxx svx/source/sidebar/insert/InsertPropertyPanel.cxx svx/source/sidebar/insert/InsertPropertyPanel.hxx svx/source/sidebar/line/LinePropertyPanel.hxx svx/source/sidebar/line/LineWidthControl.cxx svx/source/sidebar/line/LineWidthControl.hxx svx/source/sidebar/line/LineWidthValueSet.hxx svx/source/sidebar/paragraph/ParaPropertyPanel.hxx svx/source/sidebar/possize/SidebarDialControl.cxx svx/source/sidebar/text/TextCharacterSpacingPopup.hxx svx/source/sidebar/text/TextPropertyPanel.hxx svx/source/sidebar/tools/PopupContainer.cxx svx/source/sidebar/tools/PopupControl.cxx svx/source/sidebar/tools/ValueSetWithTextControl.cxx svx/source/svdraw/svdfmtf.hxx svx/source/svdraw/svdibrow.cxx svx/source/tbxctrls/colrctrl.cxx svx/source/tbxctrls/tbcontrl.cxx sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/index/cnttab.cxx sw/source/uibase/inc/drpcps.hxx sw/source/uibase/sidebar/PageColumnControl.hxx sw/source/uibase/sidebar/PageMarginControl.hxx sw/source/uibase/sidebar/PageOrientationControl.hxx sw/source/uibase/sidebar/PagePropertyPanel.hxx sw/source/uibase/sidebar/PageSizeControl.hxx sw/source/uibase/uiview/view2.cxx sw/source/uibase/utlui/navipi.cxx vcl/inc/svdata.hxx vcl/source/control/combobox.cxx vcl/source/control/lstbox.cxx vcl/source/window/dockwin.cxx vcl/source/window/winproc.cxx Change-Id: I056cf3026ff17d65cca0b6e6588bda4a88fa8d95
| * drawinglayer, editeng, forms, fpicker: convert new to ::Create.Michael Meeks2015-04-162-2/+2
| | | | | | | | Change-Id: I5144ac74a09a3ac5679abca89e7d87386f2484fd
| * Automated conversion of VclPtr construction to use Instance template.Michael Meeks2015-04-104-6/+6
| | | | | | | | Change-Id: I8be9141b9653e73ebd23a5a3d810f240c376f97e
| * cure a lot of unfortunate ScopedVclPtrs.Michael Meeks2015-04-102-3/+3
| | | | | | | | Change-Id: I2149511f958ba75e81dc41b10b01eb9d19610037
| * start wrapping OutputDevice in VclPtrNoel Grandin2015-04-108-70/+71
| | | | | | | | Change-Id: If3ecbb0599b50d50ce6b3997ca7892200c332ffe
* | More loplugin:simplifyboolStephan Bergmann2015-04-271-1/+1
| | | | | | | | Change-Id: I7343f857dcf506b4f1d06e248fc02b783f33d42f
* | loplugin:simplifyboolStephan Bergmann2015-04-242-2/+2
| | | | | | | | Change-Id: I2efe6e7dcba4f193bc0d1f3fa7313d618af1b65c
* | Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann2015-04-231-1/+1
|/ | | | | | ...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
* loplugin:staticmethodsNoel Grandin2015-04-021-1/+1
| | | | Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
* Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann2015-03-311-1/+1
| | | | Change-Id: I9465739d641310e7e3014b8b1a452ae05882df17
* convert CUTFLAG_ constants to enum classNoel Grandin2015-03-271-1/+1
| | | | Change-Id: I98dc5488954a4d46f7e0158790a4c3dabebfc1b3
* const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann2015-03-261-1/+1
| | | | Change-Id: I54b59f527e1e31e1949c1a0a52b0d8c603484cce
* drawinglayer::processor2d::HitTestProcessor2D: ignore pixel size of ...Miklos Vajna2015-03-161-3/+6
| | | | | | | | ... candidate when tiled rendering. Tiled rendering works entirely in twips, so pixel sizes are not relevant. One step closer to working image resizing in the tiled rendering case. Change-Id: I1d5e33071a383b333e0fdb9d30ea09fcea23a8fc
* Timer/Idle: adapted inherited funktionsTobias Madl2015-03-062-4/+4
| | | | Change-Id: I7714a4638b03d020820b276028c0819ef054fa26
* V813: Decreased performanceCaolán McNamara2015-03-042-60/+60
| | | | Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
* TyposJulien Nabet2015-03-031-1/+1
| | | | Change-Id: I0aef0c185457687aa0e40a4a1e8024d9e691093f
* Improve loplugin:passstuffbyrefStephan Bergmann2015-03-031-2/+2
| | | | Change-Id: I88ab4c51ff59312127681d3087d22b9c79192b94
* Typo: deleteing->deletingJulien Nabet2015-02-211-1/+1
| | | | Change-Id: I2bdde7524a97039c94a8da5ac5d2eba38c91d71a
* boost->stdCaolán McNamara2015-02-172-4/+4
| | | | Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
* Updated all precompiled headers.Ashod Nakashian2015-02-051-0/+3
| | | | | | | | Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Visible function type RTTI for Clang -fsanitize=functionStephan Bergmann2015-01-261-0/+1
| | | | | | | | | | ...by adding some further SAL_DLLPUBLIC_RTTI type annotations (cf. b4f6b26b5a1a78fecfa95ec2eb7ac8b80495d8aa "SAL_DLLPUBLIC_RTTI for proper RTTI visibility for LLVM") and by making sure relevant function types do not use incomplete types in their parameter and return types (which would make the RTTI hidden). Change-Id: Id7aadcbc0704b9759968ae36266fc9ce11a2e340
* override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl2015-01-091-1/+1
| | | | Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
* drawinglayer: fix Android buildMiklos Vajna2015-01-071-2/+2
| | | | Change-Id: Ie214c91f59780db9baa40cea01b6ddef3019febf
* fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin2015-01-072-6/+6
| | | | Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
* boost::math::nextafter->std::nextafterCaolán McNamara2015-01-061-2/+1
| | | | Change-Id: I868b3fcf367e61c40e77e64bcc153b2a2feefa0b
* Resolves: fdo#87189 don't draw negative canvas sizesCaolán McNamara2014-12-101-1/+1
| | | | Change-Id: Ia52bc54084883817ffdd8ade06c3079865d52f70
* Revert "WaE: unused functions"Tor Lillqvist2014-11-211-3/+0
| | | | | | This needs to be reverted, too. This reverts commit 734f30484221e091669cfdb45c144084a1377998.
* Revert "fdo#81643: Regression in rendering of borders"Kohei Yoshida2014-11-211-5/+5
| | | | | | This reverts commit c35fae3f6b15221701cadfca3132803695607660. One man's feature (with minor issure) is another man's regressions...
* WaE: unused functionsTor Lillqvist2014-11-211-0/+3
| | | | Change-Id: I7c91c90341c9aec75c096d400602877f61f04171
* fdo#81643: Regression in rendering of bordersZolnai Tamás2014-11-211-5/+5
| | | | | | | | | | | Regerssion from: 6a3fb868b2b8af21f7b6140424b6f8377599a786 The new tryDrawBorderLinePrimitive2DDirect() draws rectangles, but borders are assumed to be trapezoids. So simple comment this out and use the original drawing method. Change-Id: I755d5f0b3621bfc4c999ee994a375d4e5ebbcdf0
* sal: clean up public headers with include-what-you-useMichael Stahl2014-11-171-0/+2
| | | | | | | | | 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
* drawinglayer: these are expected to be UTF-8Miklos Vajna2014-11-151-2/+2
| | | | Change-Id: Ic2054af851bb9d195be4d550f36b1d7349f90204
* vcl: move the Impl class of MapMode ...uhm... out of the public header?Michael Stahl2014-11-141-0/+1
| | | | | | | | | | | | | | And remove the tools/fract.hxx include. grep -l -r fract.hxx workdir/Dep/*Object* |wc -l before: 4569 after: 1851 Shrinks some libraries, example from --enable-dbgutil Fedora gcc 4.8.3: libvcllo.so by 473k (0.35%) libswlo.so by ~1Mb (sadly that is just 0.2%) Change-Id: I09bd025d551a5d2c5528b938a68c6aa5f8f114a0
* Revert "use the new OUString::fromUtf8 method"Stephan Bergmann2014-11-061-2/+2
| | | | | | | | This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
* use the new OUString::fromUtf8 methodNoel Grandin2014-11-061-2/+2
| | | | Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77