drawschema.hh File Reference

#include "boxes.hh"
Include dependency graph for drawschema.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void drawSchema (Tree bd, const char *projname, const char *dev)
 The entry point to generate from a block diagram as a set of svg files stored in the directory "<projname>-svg/" or "<projname>-ps/" depending of <dev>.

Function Documentation

void drawSchema ( Tree  bd,
const char *  projname,
const char *  dev 
)

The entry point to generate from a block diagram as a set of svg files stored in the directory "<projname>-svg/" or "<projname>-ps/" depending of <dev>.

Definition at line 158 of file drawschema.cpp.

References boxComplexity(), cholddir(), gDevSuffix, gFoldThreshold, mkchdir(), pendingDrawing(), scheduleDrawing(), sFoldingFlag, and writeSchemaFile().

Referenced by main(), and printDocDgm().

00159 {
00160     gDevSuffix      = dev;
00161     sFoldingFlag    = boxComplexity(bd) > gFoldThreshold;
00162 
00163     mkchdir(projname);          // create a directory to store files
00164 
00165     scheduleDrawing(bd);        // schedule the initial drawing
00166 
00167     Tree t; while (pendingDrawing(t)) {
00168         writeSchemaFile(t);     // generate all the pending drawing
00169     }
00170 
00171     cholddir();                 // return to current directory
00172 }

Here is the call graph for this function:

Here is the caller graph for this function:

Generated on Thu Apr 29 00:00:04 2010 for FAUST compiler by  doxygen 1.6.3