drawImageMono

fnvoid drawImageMono(const(ubyte)[] buf, int x, int y, int w, int h, int depth = 1, int lineSize = 0) nothrow @nogc

Draws raw monochrome image data to the screen.

Parameters

bufImage data buffer (grayscale format)
xX coordinate
yY coordinate
wWidth in pixels
hHeight in pixels
depthBytes per pixel (default 1)
lineSizeBytes per line (0 for w*depth)