[GRASS-SVN] r34349 - grass/branches/develbranch_6/lib/raster
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 17 17:01:12 EST 2008
Author: neteler
Date: 2008-11-17 17:01:12 -0500 (Mon, 17 Nov 2008)
New Revision: 34349
Modified:
grass/branches/develbranch_6/lib/raster/rastergraphicslib.dox
Log:
doxygen updated for GRASS 6 (needs further cleanup)
Modified: grass/branches/develbranch_6/lib/raster/rastergraphicslib.dox
===================================================================
--- grass/branches/develbranch_6/lib/raster/rastergraphicslib.dox 2008-11-17 22:00:56 UTC (rev 34348)
+++ grass/branches/develbranch_6/lib/raster/rastergraphicslib.dox 2008-11-17 22:01:12 UTC (rev 34349)
@@ -45,11 +45,10 @@
Before any other graphics calls can be made, a successful connection to a
running and selected graphics driver must be made.
-\verbatim
-R_open_driver()
-R_close_driver()
-\endverbatim
+- R_open_driver()
+- R_close_driver()
+
\section col Colors
GRASS is highly dependent on color for distinguishing between different
@@ -66,11 +65,10 @@
may be used than color registers available on the user's chosen driver,
there are no other programming repercussions.
-\verbatim
-R_color_table_fixed()
-R_color_table_float()
-\endverbatim
+- R_color_table_fixed()
+- R_color_table_float()
+
Colors are set using integer values in the range of 0-255 to set the
<b>red, green</b>, and <b>blue</b> intensities. In float mode, these values
are used to directly modify the hardware color look-up tables and
@@ -78,72 +76,90 @@
these values modify secondary look-up tables in the devices driver module so
that the colors involved point to the closest available color on the device.
-\verbatim
-R_reset_color()
-R_reset_colors()
-R_color()
-R_standard_color()
-R_RGB_color()
-\endverbatim
+- R_reset_color()
+- R_reset_colors()
+
+- R_color()
+
+- R_standard_color()
+
+- R_RGB_color()
+
\section basic Basic Graphics
-\verbatim
-R_screen_bot()
-R_screen_top()
-R_screen_left()
-R_screen_rite()
-R_move_abs()
-R_move_rel()
-R_cont_abs()
-R_cont_rel()
-R_box_abs()
-R_box_rel()
-R_erase()
-R_flush()
-R_stabilize()
-\endverbatim
+- R_screen_bot()
+- R_screen_top()
+
+- R_screen_left()
+
+- R_screen_rite()
+
+- R_move_abs()
+
+- R_move_rel()
+
+- R_cont_abs()
+
+- R_cont_rel()
+
+- R_box_abs()
+
+- R_box_rel()
+
+- R_erase()
+
+- R_flush()
+
+- R_stabilize()
+
\section poly Poly Calls
In many cases strings of points are used to describe a complex line, a series of
dots, or a solid polygon. Absolute and relative calls are provided for each of
these operations.
-\verbatim
-R_polydots_abs()
-R_polydots_rel()
-R_polygon_abs()
-R_polygon_rel()
-R_polyline_abs()
-R_polyline_rel()
-\endverbatim
+- R_polydots_abs()
+- R_polydots_rel()
+
+- R_polygon_abs()
+
+- R_polygon_rel()
+
+- R_polyline_abs()
+
+- R_polyline_rel()
+
\section raster Raster Calls
GRASS requires efficient drawing of raster information to the display device.
These calls provide that capability.
-\verbatim
-R_raster()
-R_raster_char()
-R_set_RGB_color()
-R_RGB_raster()
-\endverbatim
+- R_raster()
+- R_raster_char()
+
+- R_set_RGB_color()
+
+- R_RGB_raster()
+
\section text Text
These calls provide access to built-in vector fonts which may be sized and
clipped to the programmer's specifications.
-\verbatim
-R_set_window()
-R_font()
-R_text_size()
-R_text()
-R_get_text_box()
-\endverbatim
+- R_set_window()
+- R_font()
+
+- R_text_size()
+
+- R_text()
+
+- R_get_text_box()
+
\section font GRASS font support
The current mechanism of GRASS font support is this (all files are in the
@@ -185,12 +201,12 @@
rubber-band box. Upon pressing one of three mouse buttons, the current mouse
location and the button pressed are returned.
-\verbatim
-R_get_location_with_pointer()
-R_get_location_with_line()
-R_get_location_with_box()
-\endverbatim
+- R_get_location_with_pointer()
+- R_get_location_with_line()
+
+- R_get_location_with_box()
+
\section load Loading the Raster Graphics Library
The library is loaded by specifying $ (RASTERLIB) in the Makefile.
More information about the grass-commit
mailing list