GRASS 8 Programmer's Manual 8.6.0dev(2026)-56a9afeb9f
Loading...
Searching...
No Matches
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.
 
int symbol
 Point symbol/line type.
 
float size
 Symbol size.
 
int width
 Line width.
 
struct g_vect_stylenext
 Point to next gvstyle struct if single point has multiple styles.
 

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 gpd_obj(), and GS_draw_X().

◆ 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.

◆ size

float g_vect_style::size

Symbol size.

Unset for lines.

Definition at line 318 of file ogsf.h.

Referenced by 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 gpd_obj(), and GS_draw_X().

◆ 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.


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