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