blob: 45a73d6164f95ae2d811fdea2a274de383c55c41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/*! @file emb-polyline.h */
#ifndef EMB_POLYLINE_H
#define EMB_POLYLINE_H
#include "emb-color.h"
#include "emb-point.h"
#include "api-start.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct EmbPolylineObject_
{
EmbPointList* pointList;
/* Properties */
int lineType;
EmbColor color;
} EmbPolylineObject;
extern EMB_PUBLIC EmbPolylineObject* EMB_CALL embPolylineObject_create(EmbPointList* pointList, EmbColor color, int lineType);
extern EMB_PUBLIC void EMB_CALL embPolylineObject_free(EmbPolylineObject* pointer);
typedef struct EmbPolylineObjectList_
{
EmbPolylineObject* polylineObj;
struct EmbPolylineObjectList_* next;
} EmbPolylineObjectList;
extern EMB_PUBLIC EmbPolylineObjectList* EMB_CALL embPolylineObjectList_create(EmbPolylineObject* data);
extern EMB_PUBLIC EmbPolylineObjectList* EMB_CALL embPolylineObjectList_add(EmbPolylineObjectList* pointer, EmbPolylineObject* data);
extern EMB_PUBLIC int EMB_CALL embPolylineObjectList_count(EmbPolylineObjectList* pointer);
extern EMB_PUBLIC int EMB_CALL embPolylineObjectList_empty(EmbPolylineObjectList* pointer);
extern EMB_PUBLIC void EMB_CALL embPolylineObjectList_free(EmbPolylineObjectList* pointer);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#include "api-stop.h"
#endif /* EMB_POLYLINE_H */
/* kate: bom off; indent-mode cstyle; indent-width 4; replace-trailing-space-save on; */
|