Homepage > Man Pages > Category > Subroutines
Homepage > Man Pages > Name > Other

_putpixel

man page of _putpixel

_putpixel: Faster specific version of putpixel(). Allegro game programming library.

NAME

_putpixel, _putpixel15, _putpixel16, _putpixel24, _putpixel32 - Faster specific version of putpixel(). Allegro game programming library.

SYNOPSIS

#include <allegro.h> void _putpixel(BITMAP *bmp, int x, int y, int color); void _putpixel15(BITMAP *bmp, int x, int y, int color); void _putpixel16(BITMAP *bmp, int x, int y, int color); void _putpixel24(BITMAP *bmp, int x, int y, int color); void _putpixel32(BITMAP *bmp, int x, int y, int color);
DESCRIPTION
Like the regular putpixel(), but much faster because they are implemented as an inline assembler functions for specific color depths. These won't work in mode-X graphics modes, don't perform any clipping (they will crash if you try to draw outside the bitmap!), and ignore the drawing mode.
SEE ALSO
putpixel(3alleg), makecol(3alleg) _PUTPIXEL(3)
 
 
 

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 20.34ms.

und-verkauft.de | uhren.name | generiere.de