displaylib.dox 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. /*! \page displaylib GRASS Display Library
  2. by GRASS Development Team (http://grass.osgeo.org)
  3. This library provides a wide assortment of higher level graphics
  4. commands which in turn use the graphics raster library primitives. It
  5. is highly recommended that this section be used to understand how some
  6. of 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 the prefix <b>D_</b>. To avoid name
  16. conflicts, programmers should not create variables or routines in
  17. their own modules which use this prefix.
  18. \section ListOfFns 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. TODO: Order the list
  24. - D_update_conversions()
  25. - D_fit_d_to_u()
  26. - D_fit_u_to_d()
  27. - D_show_conversions()
  28. - D_do_conversions()
  29. - D_is_lat_lon()
  30. - D_get_d_to_a_xconv()
  31. - D_get_d_to_a_yconv()
  32. - D_get_d_to_u_xconv()
  33. - D_get_d_to_u_yconv()
  34. - D_get_a_to_u_xconv()
  35. - D_get_a_to_u_yconv()
  36. - D_get_a_to_d_xconv()
  37. - D_get_a_to_d_yconv()
  38. - D_get_u_to_d_xconv()
  39. - D_get_u_to_d_yconv()
  40. - D_get_u_to_a_xconv()
  41. - D_get_u_to_a_yconv()
  42. - D_get_ns_resolution()
  43. - D_get_ew_resolution()
  44. - D_get_u_west()
  45. - D_get_u_east()
  46. - D_get_u_north()
  47. - D_get_u_south()
  48. - D_get_a_west()
  49. - D_get_a_east()
  50. - D_get_a_north()
  51. - D_get_a_south()
  52. - D_get_d_west()
  53. - D_get_d_east()
  54. - D_get_d_north()
  55. - D_get_d_south()
  56. - D_set_region()
  57. - D_set_src()
  58. - D_get_src()
  59. - D_set_grid()
  60. - D_get_grid()
  61. - D_set_dst()
  62. - D_get_dst()
  63. - D_get_u()
  64. - D_get_a()
  65. - D_get_d()
  66. - D_d_to_a_row()
  67. - D_d_to_a_col()
  68. - D_d_to_u_row()
  69. - D_d_to_u_col()
  70. - D_a_to_u_row()
  71. - D_a_to_u_col()
  72. - D_a_to_d_row()
  73. - D_a_to_d_col()
  74. - D_u_to_d_row()
  75. - D_u_to_d_col()
  76. - D_u_to_a_row()
  77. - D_u_to_a_col()
  78. - D_set_clip()
  79. - D_clip_to_map()
  80. - D_set_clip_mode()
  81. - D_set_reduction()
  82. - D_line_width()
  83. - D_get_text_box()
  84. - D_pos_abs()
  85. - D_pos_rel()
  86. - D_move_abs()
  87. - D_move_rel()
  88. - D_cont_abs()
  89. - D_cont_rel()
  90. - D_line_abs()
  91. - D_line_rel()
  92. - D_polydots_abs()
  93. - D_polydots_rel()
  94. - D_polyline_abs()
  95. - D_polyline_rel()
  96. - D_polygon_abs()
  97. - D_polygon_rel()
  98. - D_box_abs()
  99. - D_box_rel()
  100. - D_begin()
  101. - D_end()
  102. - D_close()
  103. - D_stroke()
  104. - D_fill()
  105. - D_dots()
  106. - D_plot_icon()
  107. - D_draw_raster()
  108. - D_draw_d_raster()
  109. - D_draw_f_raster()
  110. - D_draw_c_raster()
  111. - D_draw_cell()
  112. - D_cell_draw_begin()
  113. - D_draw_raster_RGB()
  114. - D_cell_draw_end()
  115. - D_set_overlay_mode()
  116. - D_color()
  117. - D_c_color()
  118. - D_d_color()
  119. - D_f_color()
  120. - D_color_of_type()
  121. - D_setup()
  122. - D_setup_unity()
  123. - D_setup2()
  124. - D_symbol()
  125. - D_symbol2()
  126. - D_translate_color()
  127. - D_parse_color()
  128. - D_use_color()
  129. - D_color_number_to_RGB()
  130. - D_RGB_color()
  131. - D_erase()
  132. - D_open_driver()
  133. - D_close_driver()
  134. - D_get_window()
  135. - D__erase()
  136. - D_text_size()
  137. - D_text_rotation()
  138. - D_text()
  139. - D_font()
  140. - D_encoding()
  141. - D_font_list()
  142. - D_font_info()
  143. \section Authors Authors
  144. - Original author CERL
  145. - Major rewrite by Glynn Clements (2008)
  146. */