delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/24/13:39:50

From: gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro----Finding dimensions of .pcx's
Date: 24 Feb 1997 16:06:02 GMT
Organization: Oxford University
Lines: 10
Distribution: world
Message-ID: <5ese9a$a1u@news.ox.ac.uk>
References: <kmQgUUALQYEzEwS2 AT jenkinsdavid DOT demon DOT co DOT uk>
NNTP-Posting-Host: mc31.merton.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

David Jenkins (me AT jenkinsdavid DOT demon DOT co DOT uk) wrote:
: When I load a .pcx into a buffer,how can I find the width and height of
: this picture???

If it's in a bitmap, and you have a BITMAP *pcx, the width and height
are pcx->w and pcx->h.

-- 
George Foot <gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk>
Merton College, Oxford.

- Raw text -


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