Draws a rectangle on an image component within a dialog.
dlg_draw_rect(handle, x1, y1, x2, y2, thickness[, border, fill])
hnd = dlg_new("My dialog"); dlg_add_image(hnd); dlg_comp_size(hnd, 500, 500); dlg_draw_rect(hnd, 20, 20, 200, 200, 5); dlg_draw_line(hnd, 20, 20, 200, 200, 5); dlg_draw_arrow(hnd, 20, 480, 480, 20, 5, 30, 30); dlg_draw_circle(hnd, 370, 370, 100, 5); dlg_show(hnd);