April 19, 2024

Dynamic Windows Function [dw_draw_text]

Syntax

void dw_draw_text(HWND handle, HPIXMAP pixmap, int x, int y, char *text)

Parameters

HWND handle: Handle to the window.
HPIXMAP pixmap: Handle to the pixmap. (choose only one of these)
int x: X coordinate.
int y: Y coordinate.
char *text: Text to be displayed.

Description

Draw text on a window (preferably a render window).