|
FAUST compiler
0.9.9.6b8
|
00001 /************************************************************************ 00002 ************************************************************************ 00003 FAUST compiler 00004 Copyright (C) 2003-2004 GRAME, Centre National de Creation Musicale 00005 --------------------------------------------------------------------- 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00019 ************************************************************************ 00020 ************************************************************************/ 00021 00022 00023 00024 // SVGDev.h 00025 00026 #if !defined SVGDEV_H 00027 #define SVGDEV_H 00028 00029 #include "device.h" 00030 00031 class SVGDev : public device 00032 { 00033 public: 00034 SVGDev(const char*,double,double); 00035 ~SVGDev(); 00036 void rect(double x,double y,double l,double h, const char* color, const char* link); 00037 void triangle(double x,double y,double l,double h, const char* color, const char* link, bool leftright); 00038 void rond(double x,double y,double rayon); 00039 void carre(double x,double y,double cote); 00040 void fleche(double x,double y,double rotation,int sens); 00041 void trait(double x1,double y1,double x2,double y2); 00042 void dasharray(double x1,double y1,double x2,double y2); 00043 void text(double x,double y,const char* name, const char* link); 00044 void label(double x,double y,const char* name); 00045 void markSens(double x,double y,int sens); 00046 void Error(const char* message, const char* reason,int nb_error,double x,double y,double largeur); 00047 00048 }; 00049 00050 #endif 00051 00052
1.8.0