Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

putpixel(3alleg4) [osx man page]

putpixel(3alleg4)						  Allegro manual						 putpixel(3alleg4)

putpixel - Writes a pixel into a bitmap. Allegro game programming library. SYNOPSIS
#include <allegro.h> void putpixel(BITMAP *bmp, int x, int y, int color); DESCRIPTION
Writes a pixel to the specified position in the bitmap, using the current drawing mode and the bitmap's clipping rectangle. Example: putpixel(screen, 10, 30, some_color); SEE ALSO
getpixel(3alleg4), _putpixel(3alleg4), drawing_mode(3alleg4), makecol(3alleg4), ex12bit(3alleg4), exalpha(3alleg4), exflame(3alleg4), exjoy(3alleg4), exstars(3alleg4), exswitch(3alleg4) Allegro version 4.4.2 putpixel(3alleg4)
Man Page

5 More Discussions You Might Find Interesting

1. Programming

Reading from the parallelport (a/d Converter)

Hi all For my Radio-astronomy project, I`d like to read from the parallel port. Signals are coming from a 8bit analog/digital converter over the parallelport. I`d like to read the signal (endless) and print them out on the screen. I mean in a diagramm, with 2 axis. (Time,sec. and Voltage, V... (1 Reply)
Discussion started by: fab102
1 Replies

2. Programming

xlib blues (XFree86 - Linux)

My goal is to open a window in the X-server and plot a series of pixels. However, I find many examples I have tried to draw to a window fail and the window remains blank. Therefore, I am here requesting information. I do not know c, and am a beginner. Currently, I am using a mix-match of code,... (1 Reply)
Discussion started by: Alux
1 Replies

3. Programming

'seg' assembly instruction in .s file

Is this x86? I encountered this instruction and can't seem to find any info on what it does anywhere. Any ideas? This is how it appears: seg es (4 Replies)
Discussion started by: stevenswj
4 Replies

4. Programming

SDL Image Filtering

Solved thanks for info!! (8 Replies)
Discussion started by: aLHaNz
8 Replies

5. Programming

Xlib - Rotation and interpolation of pixmap - Performance problems

I need to rotate a pixmap in XLib with some kind of interpolation to reduce the aliasing. I came up with the following code, which uses bilinear interpolation. It works fine: the rotated image looks perfect, but unfortunately it takes 5 or 6 seconds for each rotation. (in a 300x300, 16 colours... (5 Replies)
Discussion started by: mghis
5 Replies