00001 /***************************************************************************** 00002 ** Copyright (C) 1998-2001 Ljubomir Milanovic & Horst Wagner 00003 ** This file is part of the g2 library 00004 ** 00005 ** This library is free software; you can redistribute it and/or 00006 ** modify it under the terms of the GNU Lesser General Public 00007 ** License as published by the Free Software Foundation; either 00008 ** version 2.1 of the License, or (at your option) any later version. 00009 ** 00010 ** This library is distributed in the hope that it will be useful, 00011 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 ** Lesser General Public License for more details. 00014 ** 00015 ** You should have received a copy of the GNU Lesser General Public 00016 ** License along with this library; if not, write to the Free Software 00017 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 ******************************************************************************/ 00019 #ifndef _g2_GD_TOKEN_FUN_H 00020 #define _g2_GD_TOKEN_FUN_H 00021 00022 00023 #include "g2_virtual_device.h" 00024 #include "g2_gd_P.h" 00025 00026 const g2_funix_fun g2_gd_funix[] = 00027 {{g2_Delete,g2_gd_Delete}, 00028 {g2_Ink, g2_gd_Ink}, 00029 {g2_Pen,g2_gd_Pen}, 00030 {g2_SetBackground,g2_gd_SetBackground}, 00031 {g2_ClearPalette,g2_gd_ClearPalette}, 00032 {g2_SetLineWidth,g2_gd_SetLineWidth}, 00033 /* {g2_SetDash,g2_gd_SetDash}, */ 00034 {g2_SetFontSize,g2_gd_SetFontSize}, 00035 {g2_Clear,g2_gd_Clear}, 00036 {g2_Flush,g2_gd_Flush}, 00037 {g2_Plot,g2_gd_Plot}, 00038 {g2_Line,g2_gd_Line}, 00039 /* {g2_PolyLine,g2_gd_PolyLine}, */ 00040 {g2_Rectangle,g2_gd_Rectangle}, 00041 {g2_FilledRectangle,g2_gd_FilledRectangle}, 00042 /* {g2_Polygon,g2_gd_Polygon}, */ 00043 {g2_FilledPolygon,g2_gd_FilledPolygon}, 00044 /* {g2_Circle,g2_gd_Circle}, */ 00045 /* {g2_FilledCircle,g2_gd_FilledCircle}, */ 00046 /* {g2_Ellipse,g2_gd_Ellipse}, */ 00047 /* {g2_FilledEllipse,g2_gd_FilledEllipse}, */ 00048 /* {g2_Arc,g2_gd_Arc}, */ 00049 {g2_FilledArc,g2_gd_FilledArc}, 00050 {g2_String,g2_gd_DrawString}, 00051 {g2_FUNIX_NULL, NULL}}; 00052 00053 00054 #endif /* _g2_GD_TOKEN_FUN_H */