PIGALE 1.3.9 Documentation (original) (raw)

SourceForge Logo

P.I.G.A.L.E.
1.3.9
Public Implementation of a Graph Algorithm
Library and Editor
H. de Fraysseix P. Ossona de Mendez


Test.cpp File Reference


Detailed Description

used to add custom functions

This file allow a user to write his own functions: test1, test2, test3. These functions takes as argument:
GraphContainer &GC a reference on the current GraphContainer
int &drawing which can specify a drawing function defines in pigalePaint.cpp
The return value tells Pigale what to do after the completion of the function:
-1:error 0:(No-Redraw,No-Info) 1:(Redraw,No-Info) 2:(Redraw,Info) 20:(Update drawing,Info)
3:(Drawing) 4:(3d) 5:symetrie 6-7-8:Springs Embedders

The initMenuTest() allows the user to set the names of his functions in the main menu.

Functions


Function Documentation

double abs ( double x ) [inline]

Generated on Thu Jan 31 16:51:29 2008 for Pigale by doxygen 1.5.4