displaylib.dox 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. /*! \page displaylib GRASS Display Library
  2. by GRASS Development Team (https://grass.osgeo.org)
  3. This library provides a wide assortment of higher level graphics
  4. commands which in turn use the graphics library primitives. It is
  5. highly recommended that this section be used to understand how some of
  6. the GRASS graphics commands operate. Such modules like
  7. <tt>d.vect</tt>, <tt>d.graph</tt>, and <tt>d.rast</tt> demonstrate how
  8. these routines work together.
  9. The routines fall into four basic sets:
  10. -# frame creation and management;
  11. -# coordinate conversion routines;
  12. -# specialized efficient raster display routines, and;
  13. -# assorted miscellaneous routines like pop-up menus and line clipping.
  14. Note: All routines and global variables in this library, documented or
  15. undocumented, start with <em>D_</em> prefix. To avoid name
  16. conflicts, programmers should not create variables or routines in
  17. their own modules which use this prefix.
  18. \section displayLibFns List of functions
  19. The library functions are defined in <tt>display.h</tt> header:
  20. \code
  21. #include <grass/display.h>
  22. \endcode
  23. - D_a_to_d_col()
  24. - D_a_to_d_row()
  25. - D_a_to_u_col()
  26. - D_a_to_u_row()
  27. - D_begin()
  28. - D_box_abs()
  29. - D_box_rel()
  30. - D_c_color()
  31. - D_cell_draw_begin()
  32. - D_cell_draw_end()
  33. - D_clip_to_map()
  34. - D_close()
  35. - D_close_driver()
  36. - D_color()
  37. - D_color_number_to_RGB()
  38. - D_color_of_type()
  39. - D_cont_abs()
  40. - D_cont_rel()
  41. - D_d_color()
  42. - D_do_conversions()
  43. - D_dots()
  44. - D_draw_cell()
  45. - D_draw_c_raster()
  46. - D_draw_d_raster()
  47. - D_draw_f_raster()
  48. - D_draw_raster()
  49. - D_draw_raster_RGB()
  50. - D_d_to_a_col()
  51. - D_d_to_a_row()
  52. - D_d_to_u_col()
  53. - D_d_to_u_row()
  54. - D_encoding()
  55. - D_end()
  56. - D_erase()
  57. - D__erase()
  58. - D_f_color()
  59. - D_fill()
  60. - D_fit_d_to_u()
  61. - D_fit_u_to_d()
  62. - D_font()
  63. - D_font_info()
  64. - D_font_list()
  65. - D_get_a()
  66. - D_get_a_east()
  67. - D_get_a_north()
  68. - D_get_a_south()
  69. - D_get_a_to_d_xconv()
  70. - D_get_a_to_d_yconv()
  71. - D_get_a_to_u_xconv()
  72. - D_get_a_to_u_yconv()
  73. - D_get_a_west()
  74. - D_get_d()
  75. - D_get_d_east()
  76. - D_get_d_north()
  77. - D_get_d_south()
  78. - D_get_dst()
  79. - D_get_d_to_a_xconv()
  80. - D_get_d_to_a_yconv()
  81. - D_get_d_to_u_xconv()
  82. - D_get_d_to_u_yconv()
  83. - D_get_d_west()
  84. - D_get_ew_resolution()
  85. - D_get_grid()
  86. - D_get_ns_resolution()
  87. - D_get_src()
  88. - D_get_text_box()
  89. - D_get_u()
  90. - D_get_u_east()
  91. - D_get_u_north()
  92. - D_get_u_south()
  93. - D_get_u_to_a_xconv()
  94. - D_get_u_to_a_yconv()
  95. - D_get_u_to_d_xconv()
  96. - D_get_u_to_d_yconv()
  97. - D_get_u_west()
  98. - D_get_window()
  99. - D_is_lat_lon()
  100. - D_line_abs()
  101. - D_line_rel()
  102. - D_line_width()
  103. - D_move_abs()
  104. - D_move_rel()
  105. - D_open_driver()
  106. - D_parse_color()
  107. - D_plot_icon()
  108. - D_polydots_abs()
  109. - D_polydots_rel()
  110. - D_polygon_abs()
  111. - D_polygon_rel()
  112. - D_polyline_abs()
  113. - D_polyline_rel()
  114. - D_pos_abs()
  115. - D_pos_rel()
  116. - D_RGB_color()
  117. - D_save_command()
  118. - D_set_clip()
  119. - D_set_clip_mode()
  120. - D_set_dst()
  121. - D_set_grid()
  122. - D_set_overlay_mode()
  123. - D_set_reduction()
  124. - D_set_region()
  125. - D_set_src()
  126. - D_setup()
  127. - D_setup2()
  128. - D_setup_unity()
  129. - D_show_conversions()
  130. - D_stroke()
  131. - D_symbol()
  132. - D_symbol2()
  133. - D_text()
  134. - D_text_rotation()
  135. - D_text_size()
  136. - D_translate_color()
  137. - D_update_conversions()
  138. - D_use_color()
  139. - D_u_to_a_col()
  140. - D_u_to_a_row()
  141. - D_u_to_d_col()
  142. - D_u_to_d_row()
  143. \section Authors Authors
  144. - Original author CERL
  145. - Major rewrite by Glynn Clements (2008)
  146. - Minor updates by Martin Landa <landa.martin gmail.com> (2011)
  147. */