#
171057c0 |
|
29-Feb-2020 |
Augustin Cavalier <waddlesplash@gmail.com> |
clipping.h: Rewrite copyright header to use the "new" style. Also trim trailing spaces. Change-Id: I598dfa2c69f584eaa004211339c73a26dd93af93 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2296 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
9576c4b7 |
|
19-Jun-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BRegion scaling: fix semantics to avoid holes/overlaps Thanks to Stippi for pointing this out.
|
#
669ac9d6 |
|
19-Jun-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BRegion: add ScaleBy method. * Is there a reason to not have it?
|
#
af3ac4e8 |
|
19-Mar-2006 |
Stephan Aßmus <superstippi@gmx.de> |
replaced usage of floor() and ceil() to convert from BRect to clipping_rect with simple C casts. I think this is more adequate, since clipping_rects are used for pixel indices. This change fixes some graphics problems too, it appears that cursor coords are fractional on Haiku, even with a normal mouse. In Playground, this resulted in the hit points being rendered wrongly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16840 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a410e190 |
|
03-Dec-2005 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Added rect_contains() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15298 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e13bd0e1 |
|
25-Aug-2004 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Reverted to the original comment, as I had worked on an older version of this file. Took the chance to add the license header. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8639 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0cc99299 |
|
24-Aug-2004 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Changed some parameters to be passed through const reference [A change suggested by Christian Packmann]. This gives a nice speed boost. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8628 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
61c93e14 |
|
09-Jul-2004 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Researched and removed a TODO item git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8358 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
edc6e254 |
|
01-Jul-2004 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fixed the outstanding BRegion bug. It turned out that rects_intersect() returned true in some cases when called with an invalid clipping_rect. Added an ASSERT() call to BRegion::_AddRect(), which would've saved my day. Added some comments git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8246 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d8a7172a |
|
24-Oct-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
simplified rects_intersect(). Now it's very similar to BRect::Intersects() git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5138 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8d1a0ee7 |
|
05-Sep-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fixed a bug in BRegion copy constructor. If one constructed a BRegion with BRegion region(region), the region would have been put into an unitialized state. Took the chance to cleanup a bit the code, using some methods of clipping.h. Changed the way offset_rect works, and changed its name too. Added a note to Region.cpp git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4512 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e6404469 |
|
22-Aug-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
added offsect_rect, fixed a spelling error git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4362 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2a0863af |
|
21-Jul-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Some more clipping_rects methods, based on BRects methods. Currently unused, but could be used in the Game Kit and, why not, also in the app server itself. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4053 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d4400ac1 |
|
03-Jul-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
A line can be too a valid rect. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3816 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0147056b |
|
26-Jun-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Added a partial implementation of BRegion git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3669 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9576c4b742f3f5fb4f4ff33d8c95da06ba445f22 |
|
19-Jun-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BRegion scaling: fix semantics to avoid holes/overlaps Thanks to Stippi for pointing this out.
|
#
669ac9d6f57c4535f10c5e4eaf90cc3354d9dbc7 |
|
19-Jun-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BRegion: add ScaleBy method. * Is there a reason to not have it?
|
#
af3ac4e80fb51f526be76c69736f92cf044b7180 |
|
19-Mar-2006 |
Stephan Aßmus <superstippi@gmx.de> |
replaced usage of floor() and ceil() to convert from BRect to clipping_rect with simple C casts. I think this is more adequate, since clipping_rects are used for pixel indices. This change fixes some graphics problems too, it appears that cursor coords are fractional on Haiku, even with a normal mouse. In Playground, this resulted in the hit points being rendered wrongly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16840 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a410e190a49b6d78434ac3cee2df8f13800f1246 |
|
03-Dec-2005 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Added rect_contains() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15298 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e13bd0e1a86918d0ea0950d305f564be130557c7 |
|
25-Aug-2004 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Reverted to the original comment, as I had worked on an older version of this file. Took the chance to add the license header. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8639 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0cc992995e799e03fc3d21995fd95d2c25bb7a10 |
|
24-Aug-2004 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Changed some parameters to be passed through const reference [A change suggested by Christian Packmann]. This gives a nice speed boost. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8628 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
61c93e14bc27b9ff3a3d4b143e709f444585fb76 |
|
09-Jul-2004 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Researched and removed a TODO item git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8358 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
edc6e254f31e94ba0da5a7adb534bc0ad411c035 |
|
01-Jul-2004 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fixed the outstanding BRegion bug. It turned out that rects_intersect() returned true in some cases when called with an invalid clipping_rect. Added an ASSERT() call to BRegion::_AddRect(), which would've saved my day. Added some comments git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8246 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d8a7172a915ff42b74f03550ec231d8a43c98342 |
|
24-Oct-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
simplified rects_intersect(). Now it's very similar to BRect::Intersects() git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5138 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8d1a0ee7c18f67802ce89bb126da167ef6f46636 |
|
05-Sep-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fixed a bug in BRegion copy constructor. If one constructed a BRegion with BRegion region(region), the region would have been put into an unitialized state. Took the chance to cleanup a bit the code, using some methods of clipping.h. Changed the way offset_rect works, and changed its name too. Added a note to Region.cpp git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4512 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e6404469ad0f8e281892d864b72863c6ca88be65 |
|
22-Aug-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
added offsect_rect, fixed a spelling error git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4362 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2a0863af09f06b2693ecbb527c3cd8012b9f2b67 |
|
21-Jul-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Some more clipping_rects methods, based on BRects methods. Currently unused, but could be used in the Game Kit and, why not, also in the app server itself. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4053 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d4400ac1258a9c91584ea0827a9369a1163f4abd |
|
03-Jul-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
A line can be too a valid rect. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3816 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0147056b8150d18ca0251e11b79de19891068633 |
|
26-Jun-2003 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Added a partial implementation of BRegion git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3669 a95241bf-73f2-0310-859d-f6bbb57e9c96
|