JunkBox_Lib 1.10.1
Loading...
Searching...
No Matches
shape_file.h
Go to the documentation of this file.
1#ifndef __JBL_SHAPE_FILE_H_
2#define __JBL_SHAPE_FILE_H_
3
10#include "gio.h"
11#include "graph.h"
12
13//#include "jpeg_tool.h"
14
15#define SHAPE_TYPE_NULL_SHAPE 0
16#define SHAPE_TYPE_POINT 1
17#define SHAPE_TYPE_POLY_LINE 3
18#define SHAPE_TYPE_POLYGON 5
19#define SHAPE_TYPE_MULTI_POINT 8
20#define SHAPE_TYPE_POINTZ 11
21#define SHAPE_TYPE_MULTI_PATCH 31
22
23
24typedef struct {
26 int offset;
27 int size;
28 int type;
29 int maxnum;
31
32
34
36BSGraph* read_shape_main_file(ShapeIndex* idx, BSGraph* mp, vector og, vector dd, FILE* fp);
37
38void draw_shape_polygon(ShapeIndex* idx, BSGraph* mp, vector og, vector dd, int cc, FILE* fp);
39
40
41#endif
42
43
グラフィック用ファイル入出力関数ヘッダ
2D & 3D グラフィックライブラリ ヘッダ
BSGraph * read_shape_main_file(ShapeIndex *idx, BSGraph *mp, vector og, vector dd, FILE *fp)
Definition shape_file.c:62
ShapeIndex * read_shape_index_file(FILE *fp)
Definition shape_file.c:11
void draw_shape_polygon(ShapeIndex *idx, BSGraph *mp, vector og, vector dd, int cc, FILE *fp)
Definition shape_file.c:138