Code

Node tool: special case node duplication for endnodes - select new endnode
[inkscape.git] / src / extension / dxf2svg / blocks.h
1 /* Read Blocks from file and convert to vectors of entities
2 Matt Squires
3 Google SOC 2005
4 */
6 #ifndef DXF_BLOCKS_H
7 #define DXF_BLOCKS_H
9 #include"read_dxf.h"
10 #include"entities.h"
11 #include<vector>
14 class block : public entity, public entities{// : public entities, {
15         public:
16                 block( std::vector< std::vector< dxfpair > > sections ); // Group all of the blocks as entities
17                 char* name(char* string);
18                 //void blocks_display();
19                 
20         
21         protected:
22                 char block_name[10000];
23                 double rotation;
24                 
25         private:
26                 void block_info(std::vector< dxfpair > info);
27 };
29 class blocks{
30         public:
31                 blocks(std::vector< std::vector< dxfpair > > sections);
32                 block ret_block(char block_name[10000]);
33                 
34         protected:
35                 std::vector< block > blocks_blocks;
36 };
38 #endif