summaryrefslogtreecommitdiff
path: root/include/basebmp
AgeCommit message (Collapse)Author
2015-10-07basebmp: these headers are not used from other modulesMiklos Vajna
Change-Id: I88c5c341b88a6ea62730e5d3dd1962365c531f70 (cherry picked from commit 8e27c68847c6461c7bc0bdbff44412d6bfb0b1e8)
2015-05-06use o3tl::project2ndDavid Tardon
Change-Id: I636453e8cab09ec5021acd2bb1f2937f1402dccc
2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-27loplugin:staticfunctionNoel Grandin
Change-Id: I982ba552579019e4902ae59fddf14a6b34ba5954
2015-02-25rename BGRU to BGRXCaolán McNamara
Change-Id: I0f28b986542b4d30c0a2cb75e15fb258af98e9cd
2015-02-25rename BGRX32 etc to BGRA32Caolán McNamara
Change-Id: I60e1951fe56e4b00ee0caa142eb0e19dcb6d12b7
2015-02-25give basebmp a cairo compatible 24 bit surfaceCaolán McNamara
where each unit is actually 32bit with unused upper 8bit. Change-Id: I5c406cebe406d2db6fda73d744dfd22a99b80ba3
2015-02-24make ScanlineStride an argument to createBitmapDeviceCaolán McNamara
so we could create bitmap devices that have the same stride that cairo expects, provide getBitmapDeviceStrideForWidth to get a default value Change-Id: I7ecc6f54a734b3f6bed59c699ac3b482c4ad7c47
2015-02-05convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara
and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-01-09boost::scoped_ptr->std::unique_ptrCaolán McNamara
Change-Id: I844532d08123ed0c91ccec73cc806277fd821089
2014-11-19coverity#1226488 Big parameter passed by valueCaolán McNamara
Change-Id: I55ee5dcd7ed18fe907fc06aba345d96a90fb2324
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-30Fixed typos. No automatic tools (sed, and so on).Andrea Gelmini
Change-Id: Ia43976d84eede6f699381bc4f3daf89b95e4cb4f Reviewed-on: https://gerrit.libreoffice.org/12150 Reviewed-by: Bryan Quigley <gquigs@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-10-14basebmp: accelerated method to create a clipping device.Michael Meeks
This was some staggering proportion of tiled rendering documents with complex clipping; it seems 'clear' is not what memset is for 1bit clip masks. Change-Id: I9142ffb7d7016603feb7782d6f03b9992b9494e3
2014-08-26keep acc.set within clip boundsCaolán McNamara
Change-Id: I6af2eda03148dd400afa2f375b98e396ab0d5f3c
2014-08-25return false if the clip region would div by zeroCaolán McNamara
Change-Id: Ia0928306b3608df9c48a19b517edac54ba43bd57
2014-08-25detect conditions where loop cannot logically endCaolán McNamara
Change-Id: I7e2ec1e09614510e6798ba8d5b9990c189a8dbb9
2014-07-11cid#1169841 Big parameter passed by valueNoel Grandin
Change-Id: I4329eaaa29d5689471092c167104711e4f8c115c
2014-06-25Add base value to set alpha channel for 32 bit colourspaces.Andrzej Hunt
Currently the alpha channel is completely ignored by basebmp. However this results in completely "transparent" output, meaning the client has to manually overwrite the alpha channel -- instead we now set it automatically when writing colourdata. Unfortunately this doesn't quite work -- it seems that drawing a non-opaque bitmap/image on top of the existing bitmap can erase the alpha channel information (i.e. these areas will once again be transparent -- for example document borders seem to have a transition effect overlayed onto them): presumably there is some method that bypasses our RGBMaskSetter (probably some form of direct manipulation of raw values?). manipulation in basebmp Change-Id: Ia4be6a748cc30191a4422121f9ec347d9198b225
2014-03-01Remove visual noise from includeAlexander Wilms
Conflicts: include/framework/preventduplicateinteraction.hxx include/sfx2/sfxbasecontroller.hxx include/sfx2/sfxbasemodel.hxx include/toolkit/awt/vclxtabpagemodel.hxx include/vcl/field.hxx include/vcl/settings.hxx Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2 Reviewed-on: https://gerrit.libreoffice.org/8272 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-06typo fixes in commentsAndras Timar
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-01-28coverity#705602 Big parameter passed by valueCaolán McNamara
Change-Id: I4f96325d6387bf7e8859d09f1d5b41c605e8227d
2014-01-10Be explicit when using bool as integral valueStephan Bergmann
Change-Id: I996608c4e5c533e6579aa2304ad57f066a1cb216
2013-12-09Fix error in commentTor Lillqvist
Change-Id: I636da8b596e984ecadd13e5fe6a5b9a843ba3a81
2013-11-09fdo#65108 inter-module includes <> include/basebmpNorbert Thiebaud
Change-Id: Ia27520b795caf483bffd02c481d944f257eda47e
2013-10-23fixincludeguards.sh: include - the restThomas Arnhold
Change-Id: If1ee11da444a7f96f2d8668b277540da0bb4dbe9
2013-10-15Revert "fix polygon rendering with clip area of one line only"Tor Lillqvist
Sorry, but this breaks the basebmp unit test. This reverts commit 064da28833203545eb5554982008c7af346b2488.
2013-10-15fix polygon rendering with clip area of one line onlytsahi glik
Change-Id: I7f1b2c45109ed8011b76013ccb488cdfd12c7868 Reviewed-on: https://gerrit.libreoffice.org/5709 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2013-08-29left shift of negative values (Clang -fsanitize=undefined)Stephan Bergmann
Change-Id: I1747959bd51f066b017cbf5d161ebe37f3df02e6
2013-07-12Turn basebmp::Format into a proper enumStephan Bergmann
Change-Id: I4067c5039c7b5c74a1c144721dd7260de54dd2bf
2013-07-12THIRTYTWO_BIT_TC_MASK is the same as THIRTYTWO_BIT_TC_MASK_BGRAStephan Bergmann
Change-Id: I917c4136614664a1816769300707f170312c885d
2013-06-04Detect copyArea trying to operate on overlapping memory.Tsahi Glik
Equality test also needs to check if disjunct BitmapDevice instances might not actually share the same memory buffer. Change-Id: I09a93cb092a0039353be211ed053e991e7fe66f0
2013-04-23execute move of global headersBjoern Michaelsen
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a