Re: [AD] sub bitmap patch |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Thu, Nov 08, 2001 at 12:55:04PM +0100, Eric Botcazou wrote:
>> Try creating a sub bitmap with negative offsets (eg overlapping with the
>> top left corner of the parent bitmap) and you'll see what the bug is.
form the create_sub_bitmap description in allegro.txt:
screen, the x position must be a multiple of four. The sub-bitmap
width and height can extend beyond the right and bottom edges of
the parent (they will be clipped), but the origin point must lie
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
within the parent region.
^^^^^^^^^^^^^^^^^^^^^^^^^
While removing this restriction is quite useful, I don't think this counts as
a bug, and hence must wait till after 4.0.
--
Martijn Versteegh