xref: /haiku/headers/private/interface/ShapePrivate.h (revision 22440f4105cafc95cc1d49f9bc65bb395c527d86)
1 /*
2  * Copyright 2003-2010 Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Axel Dörfler, axeld@pinc-software.de
7  *		Adrian Oanca, adioanca@cotty.iren.ro
8  */
9 #ifndef SHAPE_PRIVATE_H
10 #define SHAPE_PRIVATE_H
11 
12 
13 #define OP_LINETO			0x10000000
14 #define OP_BEZIERTO			0x20000000
15 #define OP_CLOSE			0x40000000
16 #define OP_MOVETO			0x80000000
17 #define OP_LARGE_ARC_TO_CW	0x01000000
18 #define OP_LARGE_ARC_TO_CCW	0x02000000
19 #define OP_SMALL_ARC_TO_CW	0x04000000
20 #define OP_SMALL_ARC_TO_CCW	0x08000000
21 
22 
23 struct shape_data {
24 	uint32*	opList;
25 	int32	opCount;
26 	int32	opSize;
27 	BPoint*	ptList;
28 	int32	ptCount;
29 	int32	ptSize;
30 };
31 
32 
33 #endif	// SHAPE_PRIVATE_H
34