March 28, 2024

Dynamic Windows Function [dw_draw_line]

Syntax

void dw_draw_line(HWND handle, HPIXMAP pixmap, int x1, int y1, int x2, int y2)

Parameters

HWND handle: Handle to the window.
HPIXMAP pixmap: Handle to the pixmap. (choose only one of these)
int x1: First X coordinate.
int y1: First Y coordinate.
int x2: Second X coordinate.
int y2: Second Y coordinate.

Description

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