~ubuntu-branches/ubuntu/feisty/faust/feisty

« back to all changes in this revision

Viewing changes to compiler/draw/device.h

  • Committer: Bazaar Package Importer
  • Author(s): Mario Lang
  • Date: 2006-10-09 11:05:30 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 edgy)
  • Revision ID: james.westby@ubuntu.com-20061009110530-zvktdvpq5zewdxso
Tags: 0.9.8-1
* New upstream release.
* Upgrade Standards-Version to 3.7.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/************************************************************************
2
 
 ************************************************************************
3
 
    FAUST compiler
4
 
        Copyright (C) 2003-2004 GRAME, Centre National de Creation Musicale
5
 
    ---------------------------------------------------------------------
6
 
    This program is free software; you can redistribute it and/or modify
7
 
    it under the terms of the GNU General Public License as published by
8
 
    the Free Software Foundation; either version 2 of the License, or
9
 
    (at your option) any later version.
10
 
 
11
 
    This program is distributed in the hope that it will be useful,
12
 
    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
    GNU General Public License for more details.
15
 
 
16
 
    You should have received a copy of the GNU General Public License
17
 
    along with this program; if not, write to the Free Software
18
 
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
 
 ************************************************************************
20
 
 ************************************************************************/
21
 
 
22
 
 
23
 
 
24
 
// device.h
25
 
 
26
 
 
27
 
#if !defined DEVICE_H
28
 
#define DEVICE_H
29
 
 
30
 
#include "stdio.h"
31
 
 
32
 
class device  
33
 
{
34
 
        public:
35
 
        virtual ~device() {}
36
 
        virtual void rect(float,float,float,float)=0;
37
 
                virtual void rond(float,float,float)=0;
38
 
                virtual void carre(float,float,float)=0;
39
 
                virtual void fleche(float,float,float,int)=0;
40
 
                virtual void trait(float,float,float,float)=0;
41
 
                virtual void dasharray(float,float,float,float)=0;
42
 
                virtual void text(float,float,const char*)=0;
43
 
                virtual void label(float,float,const char*)=0;
44
 
                virtual void markSens(float,float,int)=0;
45
 
                virtual void Error(const char*,const char*,int,float,float,float)=0;
46
 
        
47
 
        protected:
48
 
                FILE* fic_repr;
49
 
 
50
 
};
51
 
 
52
 
#endif 
53
 
 
54