delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/26/08:38:24

From: eglebbk AT phys DOT uva DOT nl (Evert Glebbeek)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Please Help:Allegro/BMP's
Date: Mon, 26 Jun 2000 10:08:26 GMT
Organization: Physics student, University of Amsterdam
Lines: 25
Distribution: world
Message-ID: <395729c9.2362749@news.wins.uva.nl>
References: <vgjdlssd2vr6kdj7cjt7qgrkassq0ansku AT 4ax DOT com>
NNTP-Posting-Host: stol-117-203.uva.studentennet.nl
X-Trace: info.wins.uva.nl 962014055 2877 145.98.117.203 (26 Jun 2000 10:07:35 GMT)
X-Complaints-To: usenet AT science DOT uva DOT nl
NNTP-Posting-Date: 26 Jun 2000 10:07:35 GMT
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Newsgroup: comp.os.msdos.djgpp
 From: Radical NetSurfer <radsmail AT juno DOT com>
 On Sun, 25 Jun 2000 23:37:22 -0400

>I have a project which wants to place several
>different images into a GLOBALLY decalred
>BITMAP *bitmap variable,
>but each images has its own unigue height/width/etc.
yech. ;-)
>
>How can I possibly use a common, globally declared
>Bitmap to do this?  
>I suppose creating an intermediate Bitmap locally in
>a function, THEN somehow copying it to the globally
>declared one...
>the problem is: How the heck do you ADJUST the
>height / width and other attributes to MATCH the
>NEW image?
Well, I'm not sure from your post if you tried this and it failed, but
my suggestion would be to do releas_bitmap(bitmap) and
create_bitmap(bitmap, new_width, new_height).

hope this helps.

Evert Glebbeek

- Raw text -


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