GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-6c790bf5c0
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

◆ D_plot_icon()

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.