Tscope5
Functions | Variables
primitives_internal.c File Reference

Definitions of internal primitives drawing functions. More...

Go to the source code of this file.

Functions

void ts5_check_primitives (char *calling_function)
 Do some checks at the start of each primitives function. More...
 
void ts5_install_primitives (char *calling_function)
 Install the primitives drawing subsystem. More...
 
void ts5_uninstall_primitives ()
 Uninstall the primitives drawing subsystem. More...
 

Variables

int _ts5_is_primitives_installed = 0
 Is the primitives subsystem installed? More...
 

Detailed Description

Definitions of internal primitives drawing functions.

Definition in file primitives_internal.c.

Function Documentation

void ts5_check_primitives ( char *  calling_function)

Do some checks at the start of each primitives function.

Parameters
calling_functionName the function that calls for this check or installation.

Checks whether the primitives subsystem is installed. If not, the primitives subsystem is installed.

Checks whether the drawing target is set. If not, the program is aborted.

Definition at line 34 of file primitives_internal.c.

void ts5_install_primitives ( char *  calling_function)

Install the primitives drawing subsystem.

Parameters
calling_functionName the function that calls for this check or installation.

This function is called automatically if necessary.

Definition at line 56 of file primitives_internal.c.

void ts5_uninstall_primitives ( )

Uninstall the primitives drawing subsystem.

This function is called automatically at the end of the program.

Definition at line 83 of file primitives_internal.c.

Variable Documentation

int _ts5_is_primitives_installed = 0

Is the primitives subsystem installed?

Definition at line 20 of file primitives_internal.c.