forked from bert/libdxf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
630 lines (402 loc) · 28.6 KB
/
TODO
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
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
Todo List
Global dxf_3dface_write (DxfFile *fp, Dxf3dface *face)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_3dline_write (DxfFile *fp, Dxf3dline *line)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_3dsolid_write (DxfFile *fp, Dxf3dsolid *solid)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_appid_write (DxfFile *fp, DxfAppid *appid)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_arc_write (DxfFile *fp, DxfArc *arc)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_attdef_write (DxfFile *fp, DxfAttdef *attdef)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_attrib_write (DxfFile *fp, DxfAttrib *attrib)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_block_read (DxfFile *fp, DxfBlock *block)
After reading information from the BLOCK entity up until the closing Group code 0, the pointer to the following ENDBLK entity needs to be stored in the current (last) DxfBlock struct member endblk.
Resolve this quick hack for preventing an empty block name string in a more elegant manner.
Global dxf_block_record_write (DxfFile *fp, DxfBlockRecord *block_record)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_block_write (DxfFile *fp, DxfBlock *block)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_block_write_table (DxfFile *fp, DxfBlock *blocks_list)
Add code here.
Global dxf_body_write (DxfFile *fp, DxfBody *body)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_circle_write (DxfFile *fp, DxfCircle *circle)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_dictionary_write (DxfFile *fp, DxfDictionary *dictionary)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_dictionaryvar_write (DxfFile *fp, DxfDictionaryVar *dictionaryvar)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_dimension_write (DxfFile *fp, DxfDimension *dimension)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_donut_write (DxfFile *fp, DxfDonut *donut)
Hook up this polyline to the list of polylines.
Hook up this vertex to the list of vertices.
Hook up this vertex to the list of vertices.
Hook up this seqend to the list of seqends.
Global dxf_ellipse_write (DxfFile *fp, DxfEllipse *ellipse)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_endblk_read (DxfFile *fp, DxfEndblk *endblk)
After reading information from the BLOCK entity up until the closing Group code 0, the pointer to the following ENDBLK entity needs to be stored in the current (last) DxfBlock struct member endblk.
Global dxf_endblk_write (DxfFile *fp, DxfEndblk *endblk)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_entities_read_table (char *filename, FILE *fp, int line_number, char *dxf_entities_list, int acad_version_number)
Add code here.
Global dxf_entities_write_table (char *dxf_entities_list, int acad_version_number)
Add code here.
Global dxf_group_write (DxfFile *fp, DxfGroup *group)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_hatch_boundary_path_edge_spline_copy_control_points (DxfHatchBoundaryPathEdgeSpline *spline)
code needs to be checked !
Global dxf_hatch_boundary_path_polyline_close_polyline (DxfHatchBoundaryPathPolyline *polyline)
How do we know what's the last id_code ? This should be taken from a global id_code counter.
How do we know what's the last id_code ? This should be taken from a global id_code counter.
add code here !
Global dxf_hatch_pattern_init (DxfHatchPattern *pattern)
correction in: pattern->length = 0.0;
Global dxf_hatch_write (DxfFile *fp, DxfHatch *hatch)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Add code to write hatch pattern definition line data.
Add code to write hatch pattern seed points.
Global dxf_header_read (DxfFile *fp, DxfHeader header)
FIXME: stores the autocad version as int
Global dxf_header_read_parser (DxfFile *fp, DxfHeader header, char *temp_string, int acad_version_number)
: add some kind of control to what we have already read and check if we read all header data.
FIXME: changed from AC1012 to AC1015
Global dxf_helix_read (DxfFile *fp, DxfHelix *helix)
Parse the helix spline.
Global dxf_helix_write (DxfFile *fp, DxfHelix *helix)
Add code for creating a helix shaped spline.
Add code for writing a helix shaped spline to a DxfFile.
Global dxf_idbuffer_read (DxfFile *fp, DxfIdbuffer *idbuffer)
Check for overrun of array index.
Global dxf_idbuffer_write (DxfFile *fp, DxfIdbuffer *idbuffer)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Check for overrun of array index.
Global dxf_image_write (DxfFile *fp, DxfImage *image)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_imagedef_reactor_write (DxfFile *fp, DxfImagedefReactor *imagedef_reactor)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_imagedef_read (DxfFile *fp, DxfImagedef *imagedef)
Check for overrun of array index.
Global dxf_imagedef_write (DxfFile *fp, DxfImagedef *imagedef)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Check for overrun of array index.
Global dxf_insert_read (DxfFile *fp, DxfInsert *insert)
After a set attributes_follow flag is detected, parsing of following entities should be implemented until the end of sequence marker (SEQEND) is encountered.
Global dxf_insert_write (DxfFile *fp, DxfInsert *insert)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
After a set attributes_follow flag is detected, the writing of following entities should be implemented and an end of sequence marker (SEQEND) written.
Global dxf_layer_index_read (DxfFile *fp, DxfLayerIndex *layer_index)
Check for overrun of array index.
Global dxf_layer_index_write (DxfFile *fp, DxfLayerIndex *layer_index)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Check for overrun of array index.
Global dxf_layer_write (DxfFile *fp, DxfLayer *layer)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_leader_write (DxfFile *fp, DxfLeader *leader)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Xdata belonging to the application ID "ACAD" may follow.
This describes any dimension overrides that have been applied to this entity.
Global dxf_line_write (DxfFile *fp, DxfLine *line)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_ltype_read (DxfFile *fp, DxfLType *ltype)
We are assuming that 49 is the first group code that is encountered for each element in the linetype definition.
This assumption breaks the "rule" of parsing the dxf file regardless the order in which group codes appear within an entity.
Global dxf_ltype_write (DxfFile *fp, DxfLType *ltype)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_lwpolyline_read (DxfFile *fp, DxfLWPolyline *lwpolyline)
The pointer administration needs to be checked for functionality.
Free memory to the last (unused) vertex in the linked list.
Global dxf_lwpolyline_write (DxfFile *fp, DxfLWPolyline *lwpolyline)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_mline_write (DxfFile *fp, DxfMline *mline)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Check for correct number of vertices (prevent overrun of array/index).
Check for correct number of elements (prevent overrun of array/index).
Check for correct number of parameters (prevent overrun of array/index).
Check for correct number of area fill parameters (prevent overrun of array/index).
Global dxf_mlinestyle_write (DxfFile *fp, DxfMlinestyle *mlinestyle)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Check for overrun of array index.
Global dxf_mtext_write (DxfFile *fp, DxfMtext *mtext)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_object_init (DxfObject *dxf_object)
Add code for initialising a DxfParam.
Global dxf_object_write_objects (DxfFile *fp, DxfObject *dxf_objects_list)
Add code here.
Global dxf_ole2frame_write (DxfFile *fp, DxfOle2Frame *ole2frame)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_oleframe_write (DxfFile *fp, DxfOleFrame *oleframe)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_point_write (DxfFile *fp, DxfPoint *point)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_polyline_write (DxfFile *fp, DxfPolyline *polyline)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_ray_write (DxfFile *fp, DxfRay *ray)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_read_close (DxfFile *file)
FIXME: how to free other sub structures
Global dxf_read_init (const char *filename)
FIXME: dxf header and blocks need initialized ? dxf_header_init (file->dxf_header); dxf_block_init (file->dxf_block);
Global dxf_region_write (DxfFile *fp, DxfRegion *region)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_section_read (DxfFile *fp)
Invoke a function for parsing the CLASSES section.
Invoke a function for parsing the TABLES section.
Experimental usage of block_read
Invoke a function for parsing the OBJECTS section.
Invoke a function for parsing the THUMBNAIL section.
Global dxf_seqend_write (DxfFile *fp, DxfSeqend *seqend)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_shape_write (DxfFile *fp, DxfShape *shape)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_solid_write (DxfFile *fp, DxfSolid *solid)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_spline_write (DxfFile *fp, DxfSpline *spline)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_style_write (DxfFile *fp, DxfStyle *style)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_tables_write (DxfFile *fp, DxfTables *tables)
Add code here
Global dxf_text_write (DxfFile *fp, DxfText *text)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_tolerance_write (DxfFile *fp, DxfTolerance *tolerance)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_trace_write (DxfFile *fp, DxfTrace *trace)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_ucs_write (DxfFile *fp, DxfUcs *ucs)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_vertex_write (DxfFile *fp, DxfVertex *vertex)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Put thickness in the correct order.
We use a 3dPolylineVertex for now, it could have been a 2dVertex as well, in that case use:
fprintf (fp->fp, "100\nAcDb2dVertex\n");
Global dxf_view_write (DxfFile *fp, DxfView *view)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_viewport::frozen_layers [DXF_MAX_LAYERS]
Implement the number of layers in a more efficient way.
A lot of memory is consumed by reserving for DXF_MAX_LAYERS instead of the actual existing number of layers.
Maybe this can be solved by dynamically allocating a reasonable number of layers during compile time, and (re-allocating) shrinking when the actual number of layers is known during run time.
Global dxf_viewport_init (DxfViewport *viewport)
Implement the number of layers in a more efficient way. A lot of memory is consumed by reserving for DXF_MAX_LAYERS instead of the actual existing number of layers. Maybe this can be solved by dynamically allocating a reasonable number of layers during compile time, and (re-allocating) shrinking when the actual number of layers is known during run time.
Global dxf_viewport_write (DxfFile *fp, DxfViewport *viewport)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_vport_write (DxfFile *fp, DxfVPort *vport)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
Global dxf_xline_write (DxfFile *fp, DxfXLine *xline)
for version R14.
Implementing the start of application-defined group "{application_name", with Group code 102.
For example: "{ACAD_REACTORS" indicates the start of the AutoCAD persistent reactors group.
application-defined codes: Group codes and values within the 102 groups are application defined (optional).
End of group, "}" (optional), with Group code 102.
File point.c
Add a link to somewhere else.
# EOF #