-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.h
More file actions
26 lines (26 loc) · 969 Bytes
/
Copy pathoptions.h
File metadata and controls
26 lines (26 loc) · 969 Bytes
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
#ifndef OPTIONS_H
#define OPTIONS_H
//-------------------------------------------------------------------------------------------------
#include <stdlib.h>
#include "dxflib/dl_dxf.h"
//-------------------------------------------------------------------------------------------------
struct COptions
{
char *csv_file_name = NULL;
char *dxf_file_name = NULL;
char *custom_label = NULL;
unsigned char csv_options = 0;
int round_digits = 3;
size_t skip_first_lines = 0;
DL_Codes::version dxf_version;
double labels_height = 0.5;
double labels_width_scale = 0.9;
bool split_by_code = false;
bool split_labels = false;
char labels_font[10] = "Arial";
};
//-------------------------------------------------------------------------------------------------
extern COptions options;
int cmd_options(int argc, char *argv[]);
//-------------------------------------------------------------------------------------------------
#endif