Age | Commit message (Collapse) | Author |
|
* mostly fallout from ui conversion
* some completely unused defines from src files
* lots of unused HID ids
Change-Id: I976561205798db3d06ee139de6223f638e58f47a
Reviewed-on: https://gerrit.libreoffice.org/9142
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: I01e380cf87c6c18ebfc15b1f2a1055d100074991
|
|
Change-Id: I9bb6a5d123c35d3de2d2fa7b8a427c92f599afd7
|
|
Change-Id: I0eba1f88f607ba1faf40d8507bb184bdc88085be
|
|
Change-Id: Id429ad5ebb9bd1501292756db45d9fac76f26222
|
|
Change-Id: I55b9cec694623a3736a78b11b5fdde7d0edaf199
|
|
Change-Id: I8f845323ccc6446fe74ef7c1f8d55c49ed070f53
|
|
Change-Id: I7b80da16399a7f8f6c6b1b4f78d1e2a4ddc6f4b5
|
|
Change-Id: I7bfd15318b80623f225a954bafd56d1d5b3ae3e1
|
|
Change-Id: I13eecb1d4f79ec022228a95f9ce18ed667e4ef3f
|
|
Change-Id: I4086978f2292538c458802a7fb56c0d3826f2def
|
|
Turns out, we don't try to initialize a graphics context, much less
*acquire* one. e.g. Window instances can have many frames (subwindows),
of which one some are really being used at any time so we try to
"steal" one of the graphics contexts from the frame to use ourself,
later on that frame will steal it from someone else, etc.
Change-Id: I66d5dbb7015301bc2d2be51627061c91e1f2ee5d
|
|
Change-Id: Id2325822730d3d9167706c8c4118eaa3ca727195
|
|
Change-Id: I7ba23f0b03438cc8a71581cc503aedf46aad45f8
Reviewed-on: https://gerrit.libreoffice.org/9130
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
I misread the original code and in OutputDevice::InitFont().
Antialiasing should NOT be done for Printer fonts, and SHOULD be done
by VirtualDevice and Window fonts. Unfortunately, I made Printer fonts
do anti-aliasing and VirtualDevice and Window fonts did not...
Change-Id: Ic38451da4ffdfa2e7a5412355f659bde03eae08f
|
|
The resulting dropping of the basebmp code reduces app size by 0.7 MB.
Change-Id: Id263873ed5c4bb2435d929a1319fedeedb6daa14
|
|
these longs are really intended as x86 longs, i.e. 32bit
Change-Id: I19b68556b0ed57cbcb59338f1d0b4174878fd993
|
|
Change-Id: I1691c4fa5dee3d9cbabc939682a39c4c7befdd4c
|
|
Change-Id: Iad6109a353181759fa64e48a82a003f785d0e58c
|
|
Change-Id: I542282cd4757c3d841f8e2b48847ab5d5ba1574e
|
|
Change-Id: Ic13a4ac4ca3b4ed23c0db9bc6894024f7b2d959a
|
|
Change-Id: I1c3721a4d44c882c749903c15f05666a74c725a5
|
|
Change-Id: I2dcde25b98004be4f0f45ad3d7e258daee3ca42b
|
|
Change-Id: Id1bfa4c6db202597107de3047326fe1bd17f2387
|
|
Mainly moved map functions into their own block, however I have also
done a bit more reorganization. Quite a bit to go, it seems...
Change-Id: I041d91c9b96066f5f1e11bd82968c2712988e5f4
|
|
Change-Id: Ib10024fe92ae364d31082177724be718d426fe26
|
|
Rename lcl_* functions in nativecontrols.cxx, also renamed
outdevnative.cxx to nativecontrols.cxx
Change-Id: Ie9a362f09cb5044e486086e7d890ae433f7dddc6
|
|
Reorganized OutputDevice line functions - several of these functions
should be private. I have renamed the following functions:
* ImplInitLineColor -> InitLineColor (made this private)
* ImplPaintLineGeometryWithEvtlExpand -> PaintLineGeometryWithEvtlExpand
(made this private)
* ImplTryDrawPolyLineDirect -> TryDrawPolyLineDirectNoAA (made this
private)
I also made a small code change to make bTryAA more clear, and also
change (bTryAA && TryDrawPolyLineDirect(rPoly.getB2DPolygon()) to a
nestied if statement.
Change-Id: I90e8083d69b715912bf0ad1d400bc355f3501981
|
|
Change-Id: Idcb2b3c1ad1830bb781b5a9a0527dd2a08ef2b18
|
|
Grouped hatch functions in outdev.hxx. Renamed ImplDrawHatch to DrawHatch
(allow C++ overloading to work out which to use), and renamed
ImplCalcHatchValues to CalcHatchValues and ImplDrawHatchLine to
DrawHatchLIne.
Change-Id: I7be62ec1754864424f6c158ab70178606ccbf1b1
|
|
... also slightly changed the overload documentation for DrawBitmapEx
and DrawBitmap functions.
Furthermore, DrawImage() should never be called from a Printer
instance, so warn and abort.
Change-Id: I0de65a5d7bd8249fcd14d844faf74477d490cef5
|
|
Rearranged gradient functions in outdev.hxx to group them together,
also renamed ImplGetGradientSteps to GetGradientSteps and
ImplGetGradientStepCount to GetGradientStepCount.
Change-Id: I98ea0d177531e50b9bdc097df15cfb93d26474e7
|
|
I have moved the blending functions from blend.cxx to bitmap.cxx, I
also renamed the function ImplBlendWithAlpha to BlendBitmapWithAlpha
and ImplBlend to BlendBitmap.
I also grouped the functions in outdev.hxx - BlendBitmap and
BlendBitmapWithAlpha are both private functions, not public.
Change-Id: Idfaf8826341172bb0288473c643afa51a03b0580
|
|
Change-Id: I21c9d27edad8fe3ea223149b276d46dfb989ec89
|
|
also remove some commented out code
Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
|
|
Change-Id: Ic24715d86b3f822babd236ac73c041f3a5c1d92b
|
|
Change-Id: I32a4874bb4be9741b509c5781cd90c17a3e97ab5
|
|
Change-Id: I10f2fd5715d4781b68cb70c3a8df9ce37dc1e821
|
|
Change-Id: I3adea9cd08c86f676e6af525e5a7caf430c96d8d
|
|
In #i60945# it was discovered that Unix's leading external font spacing
causes problems with the display of documents. Therefore, the reference
device implemented a workaround, which was to set the spacing to zero.
However, the reference device is a VirtualDevice, so it should really be
handled there, not in OutputDevice. I have added a new protected function
to OutputDevice, GetFontExtLead() that handles this.
Change-Id: I1b84ee7d9f7ae96841b441b52705e67c8115ae5c
|
|
Change-Id: I467c9ad530b376fd2a23110e4ff157ad03d23d57
|
|
Change-Id: I3531f200c00f27fd2109041b58969ccccb7465ff
|
|
Change-Id: I0a82c500b06531ecce35984d7dc588bb9f7dbd04
|
|
OutputDevice has a public function ImplDrawAlpha, but that just draws
a bitmap with an alpha layer. It's really a public function, though
not yet used outside of OutputDevice. However, the name should really
be the same as SalGraphic's function which is DrawAlphaBitmap.
Change-Id: If2716c1a1a194079d6514a1d30d8b05f9fda664c
|
|
It appears from previous commit log entries that GCC 3.3 and below had
problems handling instantiated objects as parameters. Therefore, we
don't need this aNullPt, so removing it.
Change-Id: I8f88067628078e5b57ed76b8b7dfdb76baa3b2ea
|
|
There is a fair amount of code duplication going on here. If no valid
Size is passed to the function then we should pass on Size(), then in
the function we call we should check to see if there is a valid size.
In fact, this is something we should probably check for anyway, so if
anything this makes the code slightly more robust.
Change-Id: If7b55e5505ada6739375c69b123cf1e34a0fa66d
|
|
The way that we apply the alpha mask in DrawTransformedBitmapEx should
be handled in the same way, regardless of the platform. As it turns out,
the OS X/iOS way is quite correct and, as a bonus, the code is far more
clear. There is no need to do things differently, so let's use the OS X
approach.
Change-Id: Ib0ac72ddc549367462e84639b74e4bb148128cd5
|
|
Window handles erasure of backgrounds for controls. Probably this
needs to be moved to a more specific class in the future, but for
now it should go into Windows.
I also removed an unnecessary temporary variable, and removed the
need to case the pointer to this from OutputDevice to Window. In
other words, this code has been vastly simplified :-)
Change-Id: I44b91cf68f29424ffbc1679b66fbeaeb024880e9
|
|
Change-Id: Ieb1c41481a79ab8713663caee3d5373640ff0ec8
Reviewed-on: https://gerrit.libreoffice.org/9102
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
|
|
Printer handles setting font orientation differently to how a Window
or VirtualDevice handles it.
Change-Id: I2903b971651fe56f8d262d3467e76baef617455c
|