(root)/
libredwg-0.13/
test/
unit-testing/
tvdeviceproperties.c
       1  // debugging
       2  #define DWG_TYPE DWG_TYPE_TVDEVICEPROPERTIES
       3  #include "common.c"
       4  
       5  void
       6  api_process (dwg_object *obj)
       7  {
       8    int error;
       9    BITCODE_BL flags;
      10    BITCODE_BS max_regen_threads;
      11    BITCODE_BL use_lut_palette;
      12    BITCODE_BLL alt_hlt;
      13    BITCODE_BLL alt_hltcolor;
      14    BITCODE_BLL geom_shader_usage;
      15    BITCODE_BL blending_mode;
      16    BITCODE_BD antialiasing_level;
      17    BITCODE_BD bd2;
      18  
      19    Dwg_Version_Type dwg_version = obj->parent->header.version;
      20  #ifdef DEBUG_CLASSES
      21    dwg_obj_tvdeviceproperties *_obj = dwg_object_to_TVDEVICEPROPERTIES (obj);
      22  
      23    CHK_ENTITY_TYPE (_obj, TVDEVICEPROPERTIES, flags, BL);
      24    CHK_ENTITY_TYPE (_obj, TVDEVICEPROPERTIES, max_regen_threads, BS);
      25    CHK_ENTITY_TYPE (_obj, TVDEVICEPROPERTIES, use_lut_palette, BL);
      26    CHK_ENTITY_TYPE (_obj, TVDEVICEPROPERTIES, alt_hlt, BLL);
      27    CHK_ENTITY_TYPE (_obj, TVDEVICEPROPERTIES, alt_hltcolor, BLL);
      28    CHK_ENTITY_TYPE (_obj, TVDEVICEPROPERTIES, geom_shader_usage, BLL);
      29    CHK_ENTITY_TYPE (_obj, TVDEVICEPROPERTIES, blending_mode, BL);
      30    CHK_ENTITY_TYPE (_obj, TVDEVICEPROPERTIES, antialiasing_level, BD);
      31    CHK_ENTITY_TYPE (_obj, TVDEVICEPROPERTIES, bd2, BD);
      32  #endif
      33  }