Re: [AD] clipping, sub bitmaps |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2009-08-16, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> On 16 Aug 2009, at 21:36 , Peter Wang wrote:
> > With sub-bitmaps it would be easy to allow you to change the
> > sub-bitmap's offset and size. On the other hand, if you create a
> > sub-sub-bitmap then change the parent bitmap's offset, you might
> > expect
> > the sub-sub-bitmap to be shifted as well, and that *would* complicate
> > things. The same argument applies to top-level bitmaps and sub-
> > bitmaps.
>
> Do bitmaps keep a list of their subbitmaps? If they do, that would
> just require calling the translation (a relative one, of course, the
> top level one is absolute) on all sub bitmaps of the parent bitmap.
No, they don't.
Peter
- References:
- [AD] clipping, sub bitmaps
- Re: [AD] clipping, sub bitmaps
- Re: [AD] clipping, sub bitmaps
- Re: [AD] clipping, sub bitmaps
- Re: [AD] clipping, sub bitmaps
- Re: [AD] clipping, sub bitmaps
- Re: [AD] clipping, sub bitmaps
- Re: [AD] clipping, sub bitmaps
- Re: [AD] clipping, sub bitmaps
- Re: [AD] clipping, sub bitmaps