GRASS 8 Programmer's Manual 8.6.0dev(2026)-4bb960b182
Loading...
Searching...
No Matches
gsx.c File Reference

OGSF library - loading and manipulating surfaces. More...

#include <grass/ogsf.h>
Include dependency graph for gsx.c:

Go to the source code of this file.

Functions

int GS_check_cancel (void)
 Check for cancel.
 
void GS_set_cancel (int c)
 Set cancel.
 
void GS_set_cxl_func (void(*f)(void))
 Set cxl function.
 

Variables

void(* Cxl_func )(void)
 

Detailed Description

OGSF library - loading and manipulating surfaces.

GRASS OpenGL gsurf OGSF Library

SPDX-FileCopyrightText: 1999-2008 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

Author
Bill Brown USACERL (December 1993)
Doxygenized by Martin Landa <landa.martin gmail.com> (May 2008)

Definition in file gsx.c.

Function Documentation

◆ GS_check_cancel()

int GS_check_cancel ( void  )

Check for cancel.

Returns
code

Definition at line 26 of file gsx.c.

References Cxl_func.

Referenced by gpd_2dsite(), gpd_3dsite(), gsd_norm_arrows(), gsd_ortho_wall(), gsd_surf_const(), gsd_surf_map(), gsd_surf_map_old(), gvd_vect(), and gvld_isosurf().

◆ GS_set_cancel()

void GS_set_cancel ( int  c)

Set cancel.

Definition at line 36 of file gsx.c.

◆ GS_set_cxl_func()

void GS_set_cxl_func ( void(*)(void f)

Set cxl function.

Parameters
fpointer to function

Definition at line 48 of file gsx.c.

References Cxl_func.

Variable Documentation

◆ Cxl_func

void(* Cxl_func) (void) ( void  )

Definition at line 17 of file gsx.c.

Referenced by GS_check_cancel(), GS_libinit(), and GS_set_cxl_func().