g2_PS.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
#ifndef _G2_PS_H
00020
#define _G2_PS_H
00021
00022
#if defined(__cplusplus)
00023
extern "C"
00024 {
00025
#endif
00026
00032 enum g2_PS_paper {
00033
g2_A0,
00034
g2_A1,
00035
g2_A2,
00036
g2_A3,
00037
g2_A4,
00038
g2_A5,
00039
g2_A6,
00040
g2_A7,
00041
g2_A8,
00042
g2_A9,
00043
g2_B0,
00044
g2_B1,
00045
g2_B2,
00046
g2_B3,
00047
g2_B4,
00048
g2_B5,
00049
g2_B6,
00050
g2_B7,
00051
g2_B8,
00052
g2_B9,
00053
g2_B10,
00054
g2_Comm_10_Envelope,
00055
g2_C5_Envelope,
00056
g2_DL_Envelope,
00057
g2_Folio,
00058
g2_Executive,
00059
g2_Letter,
00060
g2_Legal,
00061
g2_Ledger,
00062
g2_Tabloid
00063 };
00064
00065
00071 enum g2_PS_orientation {
00072
g2_PS_land,
00073
g2_PS_port
00074 };
00075
00076
00077
00078
00079
enum g2_PS_format {
00080 g2_PS_PostScript,
00081 g2_PS_EPSF,
00082 g2_PS_EPSF_CLIP
00083 };
00084
00085
00086
#ifdef WIN32
00087
#ifdef G2DLL
00088
#ifdef MAKEDLL
00089
00090
#define G2L __declspec( dllexport)
00091
#else
00092
00093
#define G2L __declspec( dllimport)
00094
#endif
00095
#else
00096
00097
#define G2L
00098
#endif
00099
#else
00100
00101
#define G2L
00102
#endif
00103
00104
00105 G2L
int g2_open_PS(
const char *file_name,
00106
enum g2_PS_paper paper,
00107
enum g2_PS_orientation orientation);
00108
00109 G2L
int g2_open_EPSF(
const char *file_name);
00110
00111 G2L
int g2_open_EPSF_CLIP(
const char *file_name,
00112
long width,
long height);
00113
00114
#if defined(__cplusplus)
00115
}
00116
#endif
00117
00118
#endif
Generated on Tue Jun 14 23:33:58 2005 for g2 by
1.3.7