1 // TODO DEBUGGING
2 #define DWG_TYPE DWG_TYPE_RADIMLGOBJECTCONTEXTDATA
3 #include "common.c"
4
5 void
api_process(dwg_object * obj)6 api_process (dwg_object *obj)
7 {
8 int error, isnew;
9 ANNOTSCALEOBJECTCONTEXTDATA_fields;
10 Dwg_OCD_Dimension dimension;
11 BITCODE_3BD ovr_center;
12 BITCODE_3BD jog_point;
13
14 Dwg_Version_Type dwg_version = obj->parent->header.version;
15 #ifdef DEBUG_CLASSES
16 dwg_obj_radimlgobjectcontextdata *_obj = dwg_object_to_RADIMLGOBJECTCONTEXTDATA (obj);
17
18 CHK_ENTITY_TYPE (_obj, RADIMLGOBJECTCONTEXTDATA, class_version, BS);
19 CHK_ENTITY_TYPE (_obj, RADIMLGOBJECTCONTEXTDATA, is_default, B);
20 CHK_ENTITY_H (_obj, RADIMLGOBJECTCONTEXTDATA, scale);
21
22 CHK_SUBCLASS_2RD (_obj->dimension, OCD_Dimension, def_pt);
23 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, b293, B);
24 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, is_def_textloc, B);
25 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, text_rotation, BD);
26 CHK_SUBCLASS_H (_obj->dimension, OCD_Dimension, block);
27 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, dimtofl, B);
28 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, dimosxd, B);
29 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, dimatfit, B);
30 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, dimtix, B);
31 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, dimtmove, B);
32 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, override_code, RC);
33 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, has_arrow2, B);
34 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, flip_arrow2, B);
35 CHK_SUBCLASS_TYPE (_obj->dimension, OCD_Dimension, flip_arrow1, B);
36
37 CHK_ENTITY_3RD (_obj, RADIMLGOBJECTCONTEXTDATA, ovr_center);
38 CHK_ENTITY_3RD (_obj, RADIMLGOBJECTCONTEXTDATA, jog_point);
39 #endif
40 }
41