gLib/gdebug.c File Reference

グラフィック環境でのデバック用ライブラリ More...

#include "gdebug.h"
Include dependency graph for gdebug.c:

Go to the source code of this file.

Functions

void disp_img (WSGraph vp, char *mesg)
void write_img (char *fn, WSGraph vp, char *mesg)

Detailed Description

Author:
Fumi.Iseki (C)

Definition in file gdebug.c.


Function Documentation

void disp_img ( WSGraph  vp,
char *  mesg 
)

Definition at line 14 of file gdebug.c.

References DebugMode, disp_image(), displayClose(), MONOC, and OFF.

00015 {
00016     openX  xd;
00017 
00018     if (DebugMode==OFF) return;
00019 
00020     fprintf(stderr, "%s", mesg);
00021     fflush(stderr);
00022     xd = disp_image(vp, 0, 0, MONOC);
00023     getchar();
00024     displayClose(xd);
00025 }

Here is the call graph for this function:

void write_img ( char *  fn,
WSGraph  vp,
char *  mesg 
)

Definition at line 31 of file gdebug.c.

References DebugMode, OFF, and write_wsg_file().

00032 {
00033     if (DebugMode==OFF) return;
00034 
00035     fprintf(stderr, "%s", mesg);
00036     fflush(stderr);
00037     write_wsg_file(fn, vp);
00038 }

Here is the call graph for this function:


Generated on 15 Nov 2023 for JunkBox_Lib by  doxygen 1.6.1