Mail Archives: djgpp/1998/03/28/17:25:37
Nate Eldredge <eldredge AT ap DOT net> writes:
>>>Could you define "bright pink" a little bit (no pun intended) better?
>
>Perhaps you ought to explain that it's (max blue, max red, 0 green)?
Do you think this wording is any better?
void draw_sprite(BITMAP *bmp, BITMAP *sprite, int x, int y);
Draws a copy of the sprite bitmap onto the destination bitmap at
the specified position. This is almost the same as blit(sprite,
bmp, 0, 0, x, y, sprite->w, sprite->h), but it uses a masked
drawing mode where transparent pixels are skipped, so the
background image will show through the masked parts of the
sprite. Transparent pixels are marked by a zero in 256 color
modes or bright pink for truecolor data (maximum red and blue,
zero green).
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa
- Raw text -