GRASS Programmer's Manual  6.4.2(2012)
stroke.c File Reference
#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/symbol.h>
Include dependency graph for stroke.c:

Go to the source code of this file.

Defines

#define PI   M_PI

Functions

void add_coor (SYMBCHAIN *chain, int x, int y)
int stroke_chain (SYMBPART *part, int ch, double s, double rotation)
void S_stroke (SYMBOL *Symb, int size, double rotation, int tolerance)

Define Documentation

#define PI   M_PI

Definition at line 22 of file stroke.c.

Referenced by stroke_chain().


Function Documentation

void add_coor ( SYMBCHAIN *  chain,
int  x,
int  y 
)

Definition at line 24 of file stroke.c.

References G_debug().

Referenced by stroke_chain().

void S_stroke ( SYMBOL *  Symb,
int  size,
double  rotation,
int  tolerance 
)

Definition at line 147 of file stroke.c.

References G_debug(), gui_modules::psmap_dialogs::s, and stroke_chain().

int stroke_chain ( SYMBPART *  part,
int  ch,
double  s,
double  rotation 
)

Definition at line 42 of file stroke.c.

References add_coor(), first, G_debug(), G_rotate_around_point_int(), PI, and r.

Referenced by S_stroke().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines