GRASS 8 Programmer's Manual  8.5.0dev(2025)-c070206eb1
g_vect_style Struct Reference

Struct for vector feature displaying attributes. More...

#include <ogsf.h>

Collaboration diagram for g_vect_style:

Data Fields

int color
 Line color. More...
 
int symbol
 Point symbol/line type. More...
 
float size
 Symbol size. More...
 
int width
 Line width. More...
 
struct g_vect_stylenext
 Point to next gvstyle struct if single point has multiple styles. More...
 

Detailed Description

Struct for vector feature displaying attributes.

Definition at line 307 of file ogsf.h.

Field Documentation

◆ color

int g_vect_style::color

Line color.

Definition at line 309 of file ogsf.h.

Referenced by gp_set_defaults(), gpd_obj(), GS_draw_X(), and gv_set_defaults().

◆ next

struct g_vect_style* g_vect_style::next

Point to next gvstyle struct if single point has multiple styles.

In such case, the feature with next style should be shifted.

Definition at line 337 of file ogsf.h.

Referenced by gv_set_defaults().

◆ size

float g_vect_style::size

Symbol size.

Unset for lines.

Definition at line 318 of file ogsf.h.

Referenced by gp_set_defaults(), gpd_obj(), and GS_draw_X().

◆ symbol

int g_vect_style::symbol

Point symbol/line type.

Definition at line 312 of file ogsf.h.

Referenced by gp_set_defaults(), and gpd_obj().

◆ width

int g_vect_style::width

Line width.

Also used for lines forming symbols i.e. X.

Definition at line 325 of file ogsf.h.

Referenced by gp_set_defaults(), and gv_set_defaults().


The documentation for this struct was generated from the following file: