GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72645
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
icon.c File Reference

Display Library - Plot icon. More...

#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/display.h>
#include <grass/glocale.h>
Include dependency graph for icon.c:

Go to the source code of this file.

Functions

void D_plot_icon (double xc, double yc, int type, double angle, double scale)
 Plot icon. More...
 

Detailed Description

Display Library - Plot icon.

(C) 2001-2008, 2012 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
USA-CERL

Definition in file icon.c.

Function Documentation

void D_plot_icon ( double  xc,
double  yc,
int  type,
double  angle,
double  scale 
)

Plot icon.

Supported types:

  • G_ICON_CROSS
  • G_ICON_BOX
  • G_ICON_ARROW
Parameters
xc,ycicon coordinates
typeicon type
anglerotation angle [rad]
scalescale factor

Definition at line 43 of file icon.c.

References _, G_debug(), G_ICON_ARROW, G_ICON_BOX, G_ICON_CROSS, and G_warning().