delorie.com/archives/browse.cgi | search |
From: | "Hargreaves, Shawn" <shawnh AT probe DOT co DOT uk> |
To: | "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com> |
Subject: | Re: Quick question re: Allegro BITMAPs |
Date: | Thu, 22 May 97 10:07:00 PDT |
Message-ID: | <33847D77@relay.probe.co.uk> |
Encoding: | 9 TEXT |
SpankE writes: > So to access a point just use something like this: > bmp->line[x_position][y_position]; Almost, but you got the x and y the wrong way round. What you really meant was bmp->line[y][x] :-) Shawn Hargreaves.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |