#13584: BBitmap::ImportBits misses edge pixels
----------------------------------+----------------------------
Reporter: Pete | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Kits/Interface Kit | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------+----------------------------
Comment (by pulkomandy):
"has a patch" is a trac bug.
You do need a +1 on rectangle width and height if you want a pixel count.
This is a known "feature" of the BeAPI. See https://www.haiku-os.org
/legacy-docs/bebook/TheInterfaceKit_The_Coordinate_Space.html for details
about this.
--
Ticket URL: <https://dev.haiku-os.org/ticket/13584#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.