Home
Products
Community
Manuals
Contact
Login or Signup

BlitzMax Docs -> 2D - Category -> Graphics - Pixmaps -> WritePixel

WritePixel( pixmap:TPixmap,x,y,argb )

Returns:

Nothing.

Description:

Write a pixel to a pixmap

The 32 bit argb value contains the following components:

bits 24-31pixel alpha
bits 16-23pixel red
bits 8-15pixel green
bits 0-7pixel blue



Comments

ImaginaryHuman(Posted 1+ years ago)
Note that you have to pass the color in ARGB format, even if you are trying to plot a pixel in an RGBA-format pixmap.


BlitzMax Manual Forum

Blitz3D Equivalent Command