www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/24/17:36:55

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro----Finding dimensions of .pcx's
Date: Mon, 24 Feb 1997 20:10:37 +0000
Organization: None
Distribution: world
Message-ID: <KR2RDCA9WfEzEwly@talula.demon.co.uk>
References: <kmQgUUALQYEzEwS2 AT jenkinsdavid DOT demon DOT co DOT uk>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 11
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

David Jenkins writes:
>When I load a .pcx into a buffer,how can I find the width and height of
>this picture???

Given that you have a BITMAP *bmp which was returned by load_pcx(), the
width is bmp->w and the height is bmp->h.

/*
 *  Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
 *  Beauty is a French phonetic corruption of a short cloth neck ornament.
 */

- Raw text -


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