Geant4 11.1.1
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)   ((str) != NULL ? (::strcpy((char*)::malloc((unsigned)::strlen(str) + 1), str)) : (char*)NULL)
 
#define STRDEL(str)   {if((str)!=NULL) {::free(str);str=NULL;}}
 
#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.

◆ METAFILE_SCALE

#define METAFILE_SCALE   1.

Definition at line 48 of file SbPainterPS.cc.

◆ STRDEL

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

Definition at line 37 of file SbPainterPS.cc.

◆ STRDUP

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

Definition at line 36 of file SbPainterPS.cc.