RE: [AD] sub bitmap patch |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> 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.
Fair enough. I'll add it to my ever growing collection of personal
Allegro patches then :)
However, the code does do something if the origin point does not lie
within the parent region, but does the wrong thing. So I guess the
behavior is actually undefined :)
--
Vincent Penquerc'h
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |