Commit Graph

19 Commits

Author SHA1 Message Date
fde9961034 keep acc.set within clip bounds
Change-Id: I6af2eda03148dd400afa2f375b98e396ab0d5f3c
2014-08-26 09:39:42 +01:00
6182437f83 return false if the clip region would div by zero
Change-Id: Ia0928306b3608df9c48a19b517edac54ba43bd57
2014-08-25 21:06:21 +01:00
739adde53b detect conditions where loop cannot logically end
Change-Id: I7e2ec1e09614510e6798ba8d5b9990c189a8dbb9
2014-08-25 21:06:20 +01:00
790f7532a2 cid#1169841 Big parameter passed by value
Change-Id: I4329eaaa29d5689471092c167104711e4f8c115c
2014-07-11 09:34:40 +02:00
e756452c40 Add base value to set alpha channel for 32 bit colourspaces.
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-06-25 13:04:30 +01:00
8792ec7b21 Remove visual noise from include
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-03-01 09:51:32 -06:00
ac6e8ac7e4 typo fixes in comments
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06 23:22:30 +01:00
22c0cdc014 coverity#705602 Big parameter passed by value
Change-Id: I4f96325d6387bf7e8859d09f1d5b41c605e8227d
2014-01-28 14:30:43 +00:00
ae83e28547 Be explicit when using bool as integral value
Change-Id: I996608c4e5c533e6579aa2304ad57f066a1cb216
2014-01-10 17:11:46 +01:00
66338e11a4 Fix error in comment
Change-Id: I636da8b596e984ecadd13e5fe6a5b9a843ba3a81
2013-12-09 14:39:51 +02:00
ba68545362 fdo#65108 inter-module includes <> include/basebmp
Change-Id: Ia27520b795caf483bffd02c481d944f257eda47e
2013-11-09 18:48:54 -06:00
1130a359cb fixincludeguards.sh: include - the rest
Change-Id: If1ee11da444a7f96f2d8668b277540da0bb4dbe9
2013-10-23 23:22:31 +02:00
3a6a1d6583 Revert "fix polygon rendering with clip area of one line only"
Sorry, but this breaks the basebmp unit test.

This reverts commit 064da28833203545eb5554982008c7af346b2488.
2013-10-15 17:33:48 +03:00
064da28833 fix polygon rendering with clip area of one line only
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-10-15 14:27:53 +00:00
616197d807 left shift of negative values (Clang -fsanitize=undefined)
Change-Id: I1747959bd51f066b017cbf5d161ebe37f3df02e6
2013-08-29 13:31:22 +02:00
d8dbf1b5db Turn basebmp::Format into a proper enum
Change-Id: I4067c5039c7b5c74a1c144721dd7260de54dd2bf
2013-07-12 14:41:35 +02:00
b00a99e4af THIRTYTWO_BIT_TC_MASK is the same as THIRTYTWO_BIT_TC_MASK_BGRA
Change-Id: I917c4136614664a1816769300707f170312c885d
2013-07-12 14:41:35 +02:00
31b35ed6bb Detect copyArea trying to operate on overlapping memory.
Equality test also needs to check if disjunct BitmapDevice instances
might not actually share the same memory buffer.

Change-Id: I09a93cb092a0039353be211ed053e991e7fe66f0
2013-06-04 20:38:09 +02:00
b9337e22ce execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details

Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00