[fpc-pascal] working with bitmaps
senbei at terra.es
Fri Oct 17 20:26:29 CEST 2003
From: "Rudolf Harney" <rudolf.harney at web.de>
> Ivan Montes wrote:
> >Did you tried SDL (www.libsdl.org)?
> I tried, after You wrote to me and installed a fpc version from
> - but I got a windows error "sdl.dll" not found, when I tried the examples
that were in the archive ... so I didn't try any further.
> >I don't know if it's exactly what you want but it's cross platform and
> >supports alpha blending.
> what's alpha blending?
> >Parsing the ascii coords. to make the bitmap overlay should be pretty
> pretty easy is, what I need ;) I'm sitting here nearly all day now, trying
The SDL is installed with most Linux distributions, however in Windows you
need to download the library and put it somewhere on your path
(c:/windows/system32 for example). The compiled library can be downloaded
Alpha blending is when drawing and image on top of another it makes a
translucent effect. You can see the "under" image thru the "top" image. It's
like transparency on PhotoShop layers.
More information about the fpc-pascal