www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/20/13:14:52

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1662
Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!news.belwue.de!fl-sun00.fbe.fh-weingarten.de!assi2.fbp.fh-weingarten.de
From: herzer AT fbp DOT fh-weingarten DOT de (Armin Herzer)
Newsgroups: comp.os.msdos.djgpp
Subject: Q: How to display a bitmap
Date: Sun, 20 Aug 1995 17:57 GMT
Organization: Fachhochschule Ravensburg-Weingarten FBP
Lines: 25
Distribution: world
Nntp-Posting-Host: assi2.fbp.fh-weingarten.de
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Hello all,
I am using DJGPP 1.12m4 and CBGRX 1.03. The application, which I am
working on at the moment, reads bitmaps from disk and displays them on a
1024x768 screen using 256 colors.
For this I use the following procedure:
for(x = 0; x < 100)
  for(y = 0; <  100)
  {
    GrPlot(x, y, byte());
  }
This works fine, but looks a bit 'unprofessional' because you can see
how the picture is build up on the screen?
Q: Is there a way to first read the bytes into memory and display
   the picture afterwards (preferrably with one of those
   GrBitBlt() functions)?
   
Thank you for helping,
Armin
--------------------------------------------------------------------
Armin Herzer
Fachhochschule Ravensburg-Weingarten
Postfach 1261
88241 Weingarten
Germany
e-mail: herzer AT fbp DOT fh-weingarten.

- Raw text -


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