]> Pileus Git - grits/commitdiff
Document GisPluginElev
authorAndy Spencer <andy753421@gmail.com>
Mon, 8 Feb 2010 22:30:34 +0000 (22:30 +0000)
committerAndy Spencer <andy753421@gmail.com>
Mon, 8 Feb 2010 22:30:34 +0000 (22:30 +0000)
src/plugins/elev.c

index 83b2e7bbfe74517fa4fc8e084916fe09f18ee495..3a5c031685cba4904fc66c249549fb98e848a901 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+/**
+ * SECTION:elev
+ * @short_description: Elevation plugin
+ *
+ * #GisPluginElev provides access to ground elevation. It does this in two ways:
+ * First, it provides a height function used by the viewer when drawing the
+ * world. Second, it can load the elevation data into an image and draw a
+ * greyscale elevation overlay on the planets surface.
+ */
+
 #include <gtk/gtkgl.h>
 #include <glib/gstdio.h>
 #include <GL/gl.h>
@@ -261,6 +271,14 @@ static void _on_location_changed(GisViewer *viewer,
 /***********
  * Methods *
  ***********/
+/**
+ * gis_plugin_elev_new:
+ * @viewer: the #GisViewer to use for drawing
+ *
+ * Create a new instance of the elevation plugin.
+ *
+ * Returns: the new #GisPluginElev
+ */
 GisPluginElev *gis_plugin_elev_new(GisViewer *viewer)
 {
        g_debug("GisPluginElev: new");