Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
SbPainterPS.cc File Reference
#include <HEPVis/SbPainterPS.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdarg.h>
#include <time.h>
#include <locale.h>

Go to the source code of this file.

Macros

#define STRDUP(str)
 
#define STRDEL(str)
 
#define METAFILE_DEFAULT   "out.ps"
 
#define METAFILE_SCALE   1.
 
#define MAX_STR   2048
 

Macro Definition Documentation

◆ MAX_STR

#define MAX_STR   2048

◆ METAFILE_DEFAULT

#define METAFILE_DEFAULT   "out.ps"

Definition at line 47 of file SbPainterPS.cc.

Referenced by SbPainterPS::openFileForWriting().

◆ METAFILE_SCALE

#define METAFILE_SCALE   1.

Definition at line 48 of file SbPainterPS.cc.

Referenced by SbPainterPS::putPageScaleInStream().

◆ STRDEL

#define STRDEL ( str)
Value:
{if((str)!=NULL) {::free(str);str=NULL;}}

Definition at line 37 of file SbPainterPS.cc.

◆ STRDUP

#define STRDUP ( str)
Value:
((str) != NULL ? (::strcpy((char*)::malloc((unsigned)::strlen(str) + 1), str)) : (char*)NULL)

Definition at line 36 of file SbPainterPS.cc.