grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

GRASS Display Library

by GRASS Development Team (https://grass.osgeo.org)

This library provides a wide assortment of higher level graphics commands which in turn use the graphics library primitives. It is highly recommended that this section be used to understand how some of the GRASS graphics commands operate. Such modules like d.vect, d.graph, and d.rast demonstrate how these routines work together.

The routines fall into four basic sets:

  1. frame creation and management;
  2. coordinate conversion routines;
  3. specialized efficient raster display routines, and;
  4. assorted miscellaneous routines like pop-up menus and line clipping.

Note: All routines and global variables in this library, documented or undocumented, start with D_ prefix. To avoid name conflicts, programmers should not create variables or routines in their own modules which use this prefix.

List of functions

The library functions are defined in display.h header:

#include <grass/display.h>

Authors

  • Original author CERL
  • Major rewrite by Glynn Clements (2008)
  • Minor updates by Martin Landa <landa.martin gmail.com> (2011)