BlinkenArea - GitList
Repositories
Blog
Wiki
dxfngc
Code
Commits
Branches
Tags
Search
Tree:
be85cfc
Branches
Tags
master
dxfngc
src
traverse.h
initial version, DXFs can be read, some G-code can be produced
Stefan Schuermans
commited
be85cfc
at 2013-01-20 20:53:53
traverse.h
Blame
History
Raw
/* drawing (DXF) to G-code (NGC) converter * Copyright 2013 Stefan Schuermans <stefan@schuermans.info> * Copyleft: CC-BY-SA http://creativecommons.org/licenses/by-sa/3.0/ */ #ifndef TRAVERSE_H #define TRAVERSE_H #include <dime/entities/Entity.h> #include <dime/State.h> #include "drawing.h" /// context structure for traverse entities callback struct traverse_ctx { Drawing *mpDrawing; ///< the drawing to add the entities to }; /** * @brief process an entity during DXF traversal * @param[in] state current state of libdime * @param[in] entity pointer to entity * @param[in] vp_ctx context pointer, must point to traverse_ctx structure * @return if to continue enumeration */ bool traverse_entity(const class dimeState * const state, dimeEntity *entity, void *vp_ctx); #endif // #ifndef TRAVERSE_H