00001 #ifndef SCBTYPE_H_ 00002 #define SCBTYPE_H_ 00003 00004 /* 00005 * File Name : scbtype.h 00006 * 00007 * Description: Scribble library type definition 00008 */ 00009 00010 /* 00011 * This file is part of liberscribble. 00012 * 00013 * liberscribble is free software: you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License as published by 00015 * the Free Software Foundation, either version 2 of the License, or 00016 * (at your option) any later version. 00017 * 00018 * liberscribble is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00025 */ 00026 00027 /** 00028 * Copyright (C) 2008 iRex Technologies B.V. 00029 * All rights reserved. 00030 */ 00031 00032 00033 //---------------------------------------------------------------------------- 00034 // Include Files 00035 //---------------------------------------------------------------------------- 00036 00037 #ifdef __cplusplus 00038 extern "C" 00039 { 00040 #endif 00041 00042 00043 //---------------------------------------------------------------------------- 00044 // Definitions 00045 //---------------------------------------------------------------------------- 00046 00047 00048 //---------------------------------------------------------------------------- 00049 // Forward Declarations 00050 //---------------------------------------------------------------------------- 00051 00052 00053 //---------------------------------------------------------------------------- 00054 // Type Declarations 00055 //---------------------------------------------------------------------------- 00056 00057 typedef enum _ScbLineStyle 00058 { 00059 ERSCRIBBLE_LINE_SOLID, 00060 ERSCRIBBLE_LINE_INVALID, 00061 } ScbLineStyle; 00062 00063 typedef enum _ScbBrushShape 00064 { 00065 ERSCRIBBLE_BRUSH_RECTANGLE, 00066 ERSCRIBBLE_BRUSH_CIRCLE 00067 } ScbBrushShape; 00068 00069 typedef struct _ScbRect 00070 { 00071 int left; 00072 int top; 00073 int right; 00074 int bottom; 00075 } ScbRect; 00076 00077 typedef ScbRect * ScbRectPtr; 00078 00079 00080 //---------------------------------------------------------------------------- 00081 // Global Constants 00082 //---------------------------------------------------------------------------- 00083 00084 00085 //============================================================================ 00086 // Public Functions 00087 //============================================================================ 00088 00089 00090 #ifdef __cplusplus 00091 } 00092 #endif 00093 00094 #endif