www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/22/11:27:59

Date: Sat, 22 Mar 1997 10:12:00 -0600 (CST)
From: Andrew Deren <aderen AT eecs DOT uic DOT edu>
To: Thomas Harte <T DOT Harte AT btinternet DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Allegro bitmaps
In-Reply-To: <01bc36a8$c77e9aa0$522549c2@default>
Message-ID: <Pine.SUN.3.95.970322101056.13088A-100000@bert.eecs.uic.edu>
MIME-Version: 1.0

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
> <bitmap>.h & <bitmap>.w don't work. What is the correct way to read the
> dimensions of an Allegro bitmap?
> 
> 		-Thomas
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019