EPSWriter.hpp
Aller à la documentation de ce fichier.00001
00002
00003
#ifndef GUARD_EPSWriter_h
00004
#define GUARD_EPSWriter_h
00005
00006
#include <string>
00007
#include <fstream>
00008
00009
#include "Color.hpp"
00010
00011
using namespace std;
00012
00013
00014
00015 class EPSWriter{
00016
00017 int xScale,
yScale;
00018
00019 Color color;
00020
00021 ofstream
file;
00022
00023 int width,
height;
00024
public:
00025
00026
00027
00028
00029
EPSWriter(string,
int,
int);
00030
00031
void setScale(
int,
int);
00032
00033
void setColor(
Color);
00034
00035
00036
00037
void drawRound(
int,
int);
00038
00039
00040
00041
00042
00043
void drawLine(
int,
int,
int,
int);
00044
00045
void write();
00046 };
00047
#endif
Généré le Sun Jun 27 15:59:32 2004 pour segment par
1.3.7