GRASS 8 Programmer's Manual 8.6.0dev(2026)-4bb960b182
Loading...
Searching...
No Matches
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.
 

Detailed Description

Display Library - Plot icon.

SPDX-FileCopyrightText: 2001-2008, 2012 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

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 41 of file icon.c.

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