Various objects can be drawn into a window, with several parameters affecting how they will appear. The relevant functions are described here.
public void G_clear_window(
Gwindow window )
public void G_clear_viewport(
Gwindow window,
Colour colour )
public void G_update_window( Gwindow window )
public void G_set_bitplanes(
Gwindow window,
Bitplane_types bitplanes )
public void G_draw_polygons(
Gwindow window,
polygons_struct *polygons )
public void G_draw_quadmesh(
Gwindow window,
quadmesh_struct *quadmesh )
public void G_draw_lines(
Gwindow window,
lines_struct *lines )
public void G_draw_text(
Gwindow window,
text_struct *text )
public void G_draw_marker(
Gwindow window,
marker_struct *marker )
public void G_draw_pixels(
Gwindow window,
pixels_struct *pixels )
public void G_read_pixels(
Gwindow window,
int x_min,
int x_max,
int y_min,
int y_max,
Colour pixels[] )
public Real G_get_text_length(
char str[],
Font_types text_font,
Real size )
public Real G_get_text_height(
Font_types text_font,
Real size )