Date: Sat, 22 Mar 1997 10:12:00 -0600 (CST) From: Andrew Deren To: Thomas Harte cc: djgpp AT delorie DOT com Subject: Re: Allegro bitmaps In-Reply-To: <01bc36a8$c77e9aa0$522549c2@default> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII You should be able to use bitmap->h and bitmap->w. At least they work for me. Ex. BITMAP *my_bitmap; ... width = my_bitmap->w; height = my_bitmap->h; On 22 Mar 1997, Thomas Harte wrote: > How do you find out the size of an Allegro bitmap? > I read the Allegro.txt, and it told me about the bitmap struct, but > .h & .w don't work. What is the correct way to read the > dimensions of an Allegro bitmap? > > -Thomas >