summaryrefslogtreecommitdiff
path: root/include/basegfx/tuple/Tuple2D.hxx
AgeCommit message (Collapse)AuthorFilesLines
2022-01-12make it easier to adjust the value of a basegfx Tuple2DCaolán McNamara1-0/+6
Change-Id: I849e945db651c5064b4ca0c1d15e9fa0066eeea8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128299 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-12-15Recheck include/[a-d]* with IWYUGabor Kelemen1-2/+0
See tdf#42949 for motivation Change-Id: I42475b8e75951d5dcae2fe6b0ad0bca64441e7f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126837 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-06-17basegfx: change template param to use int instead bool - Tuple2DTomaž Vajngerl1-8/+4
Change-Id: I82bf089ea95fc3b2b527aa55cc8c9f09aa684502 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117353 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-06-17basegfx: generalise tuples with template class Tuple2D and Tuple3DTomaž Vajngerl1-0/+157
B2DTuple2D, B2ITuple2D and B2I64Tuple share a lot in common so we can generalise it as a template class. The same goes for the 3D variants - B3DTuple and B3ITuple. This is the initial attempt, but doesn't yet generalise all that is possible. Add some tests for the tuple variants that test the behaviour of overloaded operators and other common methods. Change-Id: Iee5ed15d58ea88e65ee7854bd05a87ceab22023d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117104 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>