You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The few new/delete/free functions from the dwg_api are basically useless,
as they don't add/delete the entity to the DWG. We need to add a Dwg_Object
and the associated Dwg_Object_Entity and then the Dwg_Entity_CIRCLE.
Same for delete.
See encode.c for dwg_add_##ENTITY for the proper API, but these are untested (waiting for dwgwrite/dxf2dwg).
Use dwg_add_##ENTITY and dwg_free_object() instead.
Add these to the header, and document it.
The text was updated successfully, but these errors were encountered:
change the return value to the newly created object.
also add the counterpart dwg_free_object() to the public API.
src/free.h is now empty and could be removed. (later)
The next commit will remove the wrong dwg_ent_ENTITY_new/delete/free
functions from the API. See [GH #10]
these were only entity specific, and didnt add them to the DWG
an object consists of the generic Dwg_Object, a common-entity
Dwg_Object_Entity and the specific Dwg_Entity_ENTITY.
Use the dwg_add_ENTITY and dwg_free_object API instead.
Closes GH #10
The few new/delete/free functions from the dwg_api are basically useless,
as they don't add/delete the entity to the DWG. We need to add a Dwg_Object
and the associated Dwg_Object_Entity and then the Dwg_Entity_CIRCLE.
Same for delete.
See encode.c for dwg_add_##ENTITY for the proper API, but these are untested (waiting for dwgwrite/dxf2dwg).
Use dwg_add_##ENTITY and dwg_free_object() instead.
Add these to the header, and document it.
The text was updated successfully, but these errors were encountered: