-
Notifications
You must be signed in to change notification settings - Fork 1
/
gmt_common.jl
599 lines (597 loc) · 15 KB
/
gmt_common.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
macro c(ret_type, func, arg_types, lib)
local args_in = Any[ symbol(string('a',x)) for x in 1:length(arg_types.args) ]
quote
$(esc(func))($(args_in...)) = ccall( ($(string(func)), $(Expr(:quote, lib)) ), $ret_type, $arg_types, $(args_in...) )
end
end
const EXTERN_MSC =
# begin enum ANONYMOUS_1
typealias ANONYMOUS_1 Uint32
const GMT_USAGE = 0
const GMT_SYNOPSIS = 1
const GMT_STR16 = 16
# end enum ANONYMOUS_1
# begin enum ANONYMOUS_2
typealias ANONYMOUS_2 Uint32
const GMT_CHAR = 0
const GMT_UCHAR = 1
const GMT_SHORT = 2
const GMT_USHORT = 3
const GMT_INT = 4
const GMT_UINT = 5
const GMT_LONG = 6
const GMT_ULONG = 7
const GMT_FLOAT = 8
const GMT_DOUBLE = 9
const GMT_TEXT = 10
const GMT_DATETIME = 11
const GMT_N_TYPES = 12
# end enum ANONYMOUS_2
const GMT_B_OPT = "-B<args>"
const GMT_I_OPT = "-I<xinc>[<unit>][=|+][/<yinc>[<unit>][=|+]]"
const GMT_J_OPT = "-J<args>"
const GMT_R2_OPT = "-R[<unit>]<xmin>/<xmax>/<ymin>/<ymax>[r]"
const GMT_R3_OPT = "-R[<unit>]<xmin>/<xmax>/<ymin>/<ymax>[/<zmin>/<zmax>][r]"
const GMT_U_OPT = "-U[<just>/<dx>/<dy>/][c|<label>]"
const GMT_V_OPT = "-V[<level>]"
const GMT_X_OPT = "-X[a|c|r]<xshift>[<unit>]"
const GMT_Y_OPT = "-Y[a|c|r]<yshift>[<unit>]"
const GMT_a_OPT = "-a<col>=<name>[,...]"
const GMT_b_OPT = "-b[i|o][<ncol>][t][w][+L|B]"
const GMT_c_OPT = "-c<ncopies>"
const GMT_f_OPT = "-f[i|o]<info>"
const GMT_g_OPT = "-g[a]x|y|d|X|Y|D|[<col>]z[-|+]<gap>[<unit>]"
const GMT_h_OPT = "-h[i|o][<nrecs>][+c][+d][+r<remark>][+t<title>]"
const GMT_i_OPT = "-i<cols>[l][s<scale>][o<offset>][,...]"
const GMT_n_OPT = "-n[b|c|l|n][+a][+b<BC>][+c][+t<threshold>]"
const GMT_o_OPT = "-o<cols>[,...]"
const GMT_p_OPT = "-p[x|y|z]<azim>/<elev>[/<zlevel>][+w<lon0>/<lat0>[/<z0>][+v<x0>/<y0>]"
const GMT_r_OPT = "-r"
const GMT_s_OPT = "-s[<cols>][a|r]"
const GMT_t_OPT = "-t<transp>"
const GMT_colon_OPT = "-:[i|o]"
const GMT_FFT_OPT = "[f|q|s|<nx>/<ny>][+a|d|l][+e|m|n][+t<width>][+w<suffix>][+z[p]]"
# begin enum ANONYMOUS_3
typealias ANONYMOUS_3 Uint32
const GMT_OPT_USAGE = 63
const GMT_OPT_SYNOPSIS = 94
const GMT_OPT_PARAMETER = 45
const GMT_OPT_INFILE = 60
const GMT_OPT_OUTFILE = 62
# end enum ANONYMOUS_3
type GMT_OPTION
option::Uint8
arg::Ptr{Uint8}
next::Ptr{GMT_OPTION}
previous::Ptr{GMT_OPTION}
end
# begin enum ANONYMOUS_4
typealias ANONYMOUS_4 Uint32
const GMT_IS_FILE = 0
const GMT_IS_STREAM = 1
const GMT_IS_FDESC = 2
const GMT_IS_DUPLICATE = 3
const GMT_IS_REFERENCE = 4
# end enum ANONYMOUS_4
# begin enum ANONYMOUS_5
typealias ANONYMOUS_5 Uint32
const GMT_VIA_NONE = 0
const GMT_VIA_VECTOR = 100
const GMT_VIA_MATRIX = 200
const GMT_VIA_OUTPUT = 2048
# end enum ANONYMOUS_5
# begin enum ANONYMOUS_6
typealias ANONYMOUS_6 Uint32
const GMT_IS_DATASET = 0
const GMT_IS_TEXTSET = 1
const GMT_IS_GRID = 2
const GMT_IS_CPT = 3
const GMT_IS_IMAGE = 4
const GMT_IS_VECTOR = 5
const GMT_IS_MATRIX = 6
const GMT_IS_COORD = 7
# end enum ANONYMOUS_6
# begin enum ANONYMOUS_7
typealias ANONYMOUS_7 Uint32
const GMT_COMMENT_IS_TEXT = 0
const GMT_COMMENT_IS_OPTION = 1
const GMT_COMMENT_IS_COMMAND = 2
const GMT_COMMENT_IS_REMARK = 4
const GMT_COMMENT_IS_TITLE = 8
const GMT_COMMENT_IS_NAME_X = 16
const GMT_COMMENT_IS_NAME_Y = 32
const GMT_COMMENT_IS_NAME_Z = 64
const GMT_COMMENT_IS_COLNAMES = 128
const GMT_COMMENT_IS_RESET = 256
# end enum ANONYMOUS_7
# begin enum ANONYMOUS_8
typealias ANONYMOUS_8 Cint
const GMT_NOTSET = -1
const GMT_NOERROR = 0
# end enum ANONYMOUS_8
# begin enum ANONYMOUS_9
typealias ANONYMOUS_9 Cint
const GMT_MODULE_EXIST = -3
const GMT_MODULE_PURPOSE = -2
const GMT_MODULE_OPT = -1
const GMT_MODULE_CMD = 0
# end enum ANONYMOUS_9
# begin enum ANONYMOUS_10
typealias ANONYMOUS_10 Uint32
const GMT_IN = 0
const GMT_OUT = 1
const GMT_ERR = 2
# end enum ANONYMOUS_10
# begin enum ANONYMOUS_11
typealias ANONYMOUS_11 Uint32
const GMT_X = 0
const GMT_Y = 1
const GMT_Z = 2
# end enum ANONYMOUS_11
# begin enum ANONYMOUS_12
typealias ANONYMOUS_12 Uint32
const GMT_ADD_FILES_IF_NONE = 1
const GMT_ADD_FILES_ALWAYS = 2
const GMT_ADD_STDIO_IF_NONE = 4
const GMT_ADD_STDIO_ALWAYS = 8
const GMT_ADD_EXISTING = 16
const GMT_ADD_DEFAULT = 6
# end enum ANONYMOUS_12
# begin enum ANONYMOUS_13
typealias ANONYMOUS_13 Uint32
const GMT_IO_DONE = 0
const GMT_IO_ASCII = 512
const GMT_IO_RESET = 32768
const GMT_IO_UNREG = 16384
# end enum ANONYMOUS_13
# begin enum ANONYMOUS_14
typealias ANONYMOUS_14 Uint32
const GMT_READ_DOUBLE = 0
const GMT_READ_NORMAL = 0
const GMT_READ_TEXT = 1
const GMT_READ_MIXED = 2
const GMT_FILE_BREAK = 4
# end enum ANONYMOUS_14
# begin enum ANONYMOUS_15
typealias ANONYMOUS_15 Uint32
const GMT_WRITE_DOUBLE = 0
const GMT_WRITE_TEXT = 1
const GMT_WRITE_SEGMENT_HEADER = 2
const GMT_WRITE_TABLE_HEADER = 3
const GMT_WRITE_TABLE_START = 4
const GMT_WRITE_NOLF = 16
# end enum ANONYMOUS_15
# begin enum ANONYMOUS_16
typealias ANONYMOUS_16 Uint32
const GMT_HEADER_OFF = 0
const GMT_HEADER_ON = 1
# end enum ANONYMOUS_16
# begin enum ANONYMOUS_17
typealias ANONYMOUS_17 Cint
const GMT_WRITE_OGR = -1
const GMT_WRITE_SET = 0
const GMT_WRITE_TABLE = 1
const GMT_WRITE_SEGMENT = 2
const GMT_WRITE_TABLE_SEGMENT = 3
# end enum ANONYMOUS_17
# begin enum ANONYMOUS_18
typealias ANONYMOUS_18 Uint32
const GMT_ALLOCATED_EXTERNALLY = 0
const GMT_ALLOCATED_BY_GMT = 1
# end enum ANONYMOUS_18
# begin enum ANONYMOUS_19
typealias ANONYMOUS_19 Uint32
const GMT_ALLOC_NORMAL = 0
const GMT_ALLOC_VERTICAL = 1
const GMT_ALLOC_HORIZONTAL = 2
# end enum ANONYMOUS_19
# begin enum ANONYMOUS_20
typealias ANONYMOUS_20 Uint32
const GMT_DUPLICATE_NONE = 0
const GMT_DUPLICATE_ALLOC = 1
const GMT_DUPLICATE_DATA = 2
# end enum ANONYMOUS_20
# begin enum ANONYMOUS_21
typealias ANONYMOUS_21 Uint32
const GMT_WRITE_NORMAL = 0
const GMT_WRITE_HEADER = 1
const GMT_WRITE_SKIP = 2
# end enum ANONYMOUS_21
# begin enum ANONYMOUS_22
typealias ANONYMOUS_22 Uint32
const GMT_FFT_FWD = 0
const GMT_FFT_INV = 1
const GMT_FFT_REAL = 0
const GMT_FFT_COMPLEX = 1
# end enum ANONYMOUS_22
# begin enum ANONYMOUS_23
typealias ANONYMOUS_23 Uint32
const GMT_TIME_NONE = 0
const GMT_TIME_CLOCK = 1
const GMT_TIME_ELAPSED = 2
const GMT_TIME_RESET = 4
# end enum ANONYMOUS_23
# begin enum ANONYMOUS_24
typealias ANONYMOUS_24 Uint32
const GMT_MSG_QUIET = 0
const GMT_MSG_NORMAL = 1
const GMT_MSG_COMPAT = 2
const GMT_MSG_VERBOSE = 3
const GMT_MSG_LONG_VERBOSE = 4
const GMT_MSG_DEBUG = 5
# end enum ANONYMOUS_24
# begin enum ANONYMOUS_25
typealias ANONYMOUS_25 Uint32
const GMT_GRID_NODE_REG = 0
const GMT_GRID_PIXEL_REG = 1
const GMT_GRID_DEFAULT_REG = 1024
# end enum ANONYMOUS_25
# begin enum ANONYMOUS_26
typealias ANONYMOUS_26 Uint32
const GMT_XLO = 0
const GMT_XHI = 1
const GMT_YLO = 2
const GMT_YHI = 3
const GMT_ZLO = 4
const GMT_ZHI = 5
# end enum ANONYMOUS_26
# begin enum ANONYMOUS_27
typealias ANONYMOUS_27 Uint32
const GMT_TBL = 0
const GMT_SEG = 1
const GMT_ROW = 2
const GMT_COL = 3
# end enum ANONYMOUS_27
# begin enum ANONYMOUS_28
typealias ANONYMOUS_28 Uint32
const GMT_GRID_IS_REAL = 0
const GMT_GRID_ALL = 0
const GMT_GRID_HEADER_ONLY = 1
const GMT_GRID_DATA_ONLY = 2
const GMT_GRID_IS_COMPLEX_REAL = 4
const GMT_GRID_IS_COMPLEX_IMAG = 8
const GMT_GRID_IS_COMPLEX_MASK = 12
const GMT_GRID_NO_HEADER = 16
const GMT_GRID_ROW_BY_ROW = 32
const GMT_GRID_ROW_BY_ROW_MANUAL = 64
# end enum ANONYMOUS_28
# begin enum ANONYMOUS_29
typealias ANONYMOUS_29 Uint32
const GMT_GRID_UNIT_LEN80 = 80
const GMT_GRID_TITLE_LEN80 = 80
const GMT_GRID_VARNAME_LEN80 = 80
const GMT_GRID_COMMAND_LEN320 = 320
const GMT_GRID_REMARK_LEN160 = 160
const GMT_GRID_NAME_LEN256 = 256
const GMT_GRID_HEADER_SIZE = 892
# end enum ANONYMOUS_29
bitstype int(WORD_SIZE/8)*sizeof(Cdouble)*4 Array_4_Cdouble
bitstype int(WORD_SIZE/8)*sizeof(Cdouble)*2 Array_2_Cdouble
bitstype int(WORD_SIZE/8)*sizeof(Uint8)*80 Array_80_Uint8
bitstype int(WORD_SIZE/8)*sizeof(Uint8)*320 Array_320_Uint8
bitstype int(WORD_SIZE/8)*sizeof(Uint8)*160 Array_160_Uint8
bitstype int(WORD_SIZE/8)*sizeof(Uint32)*4 Array_4_Uint32
bitstype int(WORD_SIZE/8)*sizeof(Uint8)*256 Array_256_Uint8
bitstype int(WORD_SIZE/8)*sizeof(Cint)*2 Array_2_Cint
bitstype int(WORD_SIZE/8)*sizeof(Cint)*3 Array_3_Cint
bitstype int(WORD_SIZE/8)*sizeof(Uint8)*4 Array_4_Uint8
bitstype int(WORD_SIZE/8)*sizeof(Uint32)*2 Array_2_Uint32
type GMT_GRID_HEADER
nx::Cint
ny::Cint
registration::Cint
wesn::Array_4_Cdouble
z_min::Cdouble
z_max::Cdouble
inc::Array_2_Cdouble
z_scale_factor::Cdouble
z_add_offset::Cdouble
x_units::Array_80_Uint8
y_units::Array_80_Uint8
z_units::Array_80_Uint8
title::Array_80_Uint8
command::Array_320_Uint8
remark::Array_160_Uint8
_type::Uint32
bits::Uint32
complex_mode::Uint32
mx::Uint32
my::Uint32
nm::Cint
size::Cint
n_alloc::Cint
arrangement::Uint32
n_bands::Uint32
pad::Array_4_Uint32
BC::Array_4_Uint32
grdtype::Uint32
name::Array_256_Uint8
varname::Array_80_Uint8
ProjRefPROJ4::Ptr{Uint8}
ProjRefWKT::Ptr{Uint8}
row_order::Cint
z_id::Cint
ncid::Cint
xy_dim::Array_2_Cint
t_index::Array_3_Cint
data_offset::Cint
stride::Uint32
nan_value::Cfloat
xy_off::Cdouble
r_inc::Array_2_Cdouble
flags::Array_4_Uint8
pocket::Ptr{Uint8}
bcr_threshold::Cdouble
bcr_interpolant::Uint32
bcr_n::Uint32
nxp::Uint32
nyp::Uint32
no_BC::Uint32
gn::Uint32
gs::Uint32
is_netcdf4::Uint32
z_chunksize::Array_2_Cint
z_shuffle::Uint32
z_deflate_level::Uint32
z_scale_autoadust::Uint32
z_offset_autoadust::Uint32
xy_adjust::Array_2_Uint32
xy_mode::Array_2_Uint32
xy_unit::Array_2_Uint32
xy_unit_to_meter::Array_2_Cdouble
end
type GMT_GRID
header::Ptr{GMT_GRID_HEADER}
data::Ptr{Cfloat}
id::Uint32
alloc_level::Uint32
alloc_mode::Uint32
extra::Ptr{None}
end
# begin enum ANONYMOUS_30
typealias ANONYMOUS_30 Uint32
const GMT_IS_POINT = 1
const GMT_IS_LINE = 2
const GMT_IS_POLY = 4
const GMT_IS_PLP = 7
const GMT_IS_SURFACE = 8
const GMT_IS_NONE = 16
# end enum ANONYMOUS_30
# begin enum ANONYMOUS_31
typealias ANONYMOUS_31 Uint32
const GMT_IS_PERIMETER = 0
const GMT_IS_HOLE = 1
# end enum ANONYMOUS_31
# begin enum ANONYMOUS_32
typealias ANONYMOUS_32 Uint32
const GMT_IO_DATA_RECORD = 0
const GMT_IO_TABLE_HEADER = 1
const GMT_IO_SEGMENT_HEADER = 2
const GMT_IO_ANY_HEADER = 3
const GMT_IO_MISMATCH = 4
const GMT_IO_EOF = 8
const GMT_IO_NAN = 16
const GMT_IO_NEW_SEGMENT = 18
const GMT_IO_GAP = 32
const GMT_IO_LINE_BREAK = 58
const GMT_IO_NEXT_FILE = 64
# end enum ANONYMOUS_32
bitstype int(WORD_SIZE/8)*sizeof(Ptr{Uint8})*4 Array_4_Ptr
type GMT_OGR
geometry::Uint32
n_aspatial::Uint32
region::Ptr{Uint8}
proj::Array_4_Ptr
_type::Ptr{Uint32}
name::Ptr{Ptr{Uint8}}
pol_mode::Uint32
tvalue::Ptr{Ptr{Uint8}}
dvalue::Ptr{Cdouble}
end
type GMT_OGR_SEG
pol_mode::Uint32
n_aspatial::Uint32
tvalue::Ptr{Ptr{Uint8}}
dvalue::Ptr{Cdouble}
end
bitstype int(WORD_SIZE/8)*sizeof(Ptr{Uint8})*2 Array_2_Ptr
type GMT_DATASEGMENT
n_rows::Cint
n_columns::Cint
min::Ptr{Cdouble}
max::Ptr{Cdouble}
coord::Ptr{Ptr{Cdouble}}
label::Ptr{Uint8}
header::Ptr{Uint8}
mode::Uint32
pol_mode::Uint32
id::Cint
n_alloc::Cint
range::Cint
pole::Cint
dist::Cdouble
lat_limit::Cdouble
ogr::Ptr{GMT_OGR_SEG}
next::Ptr{GMT_DATASEGMENT}
file::Array_2_Ptr
end
type GMT_DATATABLE
n_headers::Uint32
n_columns::Cint
n_segments::Cint
n_records::Cint
min::Ptr{Cdouble}
max::Ptr{Cdouble}
header::Ptr{Ptr{Uint8}}
segment::Ptr{Ptr{GMT_DATASEGMENT}}
id::Cint
n_alloc::Cint
mode::Uint32
ogr::Ptr{GMT_OGR}
file::Array_2_Ptr
end
type GMT_DATASET
n_tables::Cint
n_columns::Cint
n_segments::Cint
n_records::Cint
min::Ptr{Cdouble}
max::Ptr{Cdouble}
table::Ptr{Ptr{GMT_DATATABLE}}
id::Cint
n_alloc::Cint
geometry::Uint32
alloc_level::Uint32
io_mode::Uint32
alloc_mode::Uint32
file::Array_2_Ptr
end
type GMT_TEXTSEGMENT
n_rows::Cint
record::Ptr{Ptr{Uint8}}
label::Ptr{Uint8}
header::Ptr{Uint8}
id::Cint
mode::Uint32
n_alloc::Cint
file::Array_2_Ptr
tvalue::Ptr{Ptr{Uint8}}
end
type GMT_TEXTTABLE
n_headers::Uint32
n_segments::Cint
n_records::Cint
header::Ptr{Ptr{Uint8}}
segment::Ptr{Ptr{GMT_TEXTSEGMENT}}
id::Cint
n_alloc::Cint
mode::Uint32
file::Array_2_Ptr
end
type GMT_TEXTSET
n_tables::Cint
n_segments::Cint
n_records::Cint
table::Ptr{Ptr{GMT_TEXTTABLE}}
id::Cint
n_alloc::Cint
geometry::Uint32
alloc_level::Uint32
io_mode::Uint32
alloc_mode::Uint32
file::Array_2_Ptr
end
# begin enum ANONYMOUS_33
typealias ANONYMOUS_33 Uint32
const GMT_RGB = 0
const GMT_CMYK = 1
const GMT_HSV = 2
const GMT_COLORINT = 4
const GMT_NO_COLORNAMES = 8
# end enum ANONYMOUS_33
# begin enum ANONYMOUS_34
typealias ANONYMOUS_34 Uint32
const GMT_BGD = 0
const GMT_FGD = 1
const GMT_NAN = 2
# end enum ANONYMOUS_34
# begin enum ANONYMOUS_35
typealias ANONYMOUS_35 Uint32
const GMT_CPT_REQUIRED = 0
const GMT_CPT_OPTIONAL = 1
# end enum ANONYMOUS_35
# begin enum ANONYMOUS_36
typealias ANONYMOUS_36 Uint32
const GMT_CPT_NO_BNF = 1
const GMT_CPT_EXTEND_BNF = 2
# end enum ANONYMOUS_36
type GMT_LUT
z_low::Cdouble
z_high::Cdouble
i_dz::Cdouble
rgb_low::Array_4_Cdouble
rgb_high::Array_4_Cdouble
rgb_diff::Array_4_Cdouble
hsv_low::Array_4_Cdouble
hsv_high::Array_4_Cdouble
hsv_diff::Array_4_Cdouble
annot::Uint32
skip::Uint32
fill::Ptr{Void}
label::Ptr{Uint8}
end
type GMT_BFN_COLOR
rgb::Array_4_Cdouble
hsv::Array_4_Cdouble
skip::Uint32
fill::Ptr{Void}
end
bitstype int(WORD_SIZE/8)*sizeof(GMT_BFN_COLOR)*3 Array_3_GMT_BFN_COLOR
type GMT_PALETTE
n_headers::Uint32
n_colors::Uint32
cpt_flags::Uint32
range::Ptr{GMT_LUT}
patch::Array_3_GMT_BFN_COLOR
header::Ptr{Ptr{Uint8}}
id::Cint
alloc_mode::Uint32
alloc_level::Uint32
model::Uint32
is_gray::Uint32
is_bw::Uint32
is_continuous::Uint32
has_pattern::Uint32
skip::Uint32
categorical::Uint32
z_adjust::Array_2_Uint32
z_mode::Array_2_Uint32
z_unit::Array_2_Uint32
z_unit_to_meter::Array_2_Cdouble
end
type GMT_IMAGE
_type::Uint32
ColorMap::Ptr{Cint}
header::Ptr{GMT_GRID_HEADER}
data::Ptr{Cuchar}
id::Cint
alloc_level::Uint32
alloc_mode::Uint32
ColorInterp::Ptr{Uint8}
end
type GMT_VECTOR
n_columns::Cint
n_rows::Cint
registration::Uint32
_type::Ptr{Uint32}
data::Ptr{Void}
range::Array_2_Cdouble
command::Array_320_Uint8
remark::Array_160_Uint8
id::Cint
alloc_level::Uint32
alloc_mode::Uint32
end
# begin enum ANONYMOUS_37
typealias ANONYMOUS_37 Uint32
const GMT_IS_ROW_FORMAT = 0
const GMT_IS_COL_FORMAT = 1
# end enum ANONYMOUS_37
bitstype int(WORD_SIZE/8)*sizeof(Cdouble)*6 Array_6_Cdouble
type GMT_MATRIX
n_rows::Cint
n_columns::Cint
n_layers::Cint
shape::Uint32
registration::Uint32
dim::Cint
size::Cint
_type::Uint32
range::Array_6_Cdouble
data::Ptr{Void}
command::Array_320_Uint8
remark::Array_160_Uint8
id::Cint
alloc_level::Uint32
alloc_mode::Uint32
end