#include <cstdlib>
#include <iostream>
#include <fstream>
#include <cmath>
int main( int, char *[] )
{
std::vector<Point> points;
for ( double x = -1.0; x <= 1.0; x += 0.01 ) {
points.push_back( 100 *
Point( x, sin(2*x*M_PI) ) );
}
0, 0,
Color( 0, 255, 0 ),
-30, 30,
Color( 0, 0, 255 ) );
50, 0, 0.8f,
75, -30, 0.1f );
50, 0, 0.8f,
75, 50, 0.1f );
board.
saveEPS(
"example1_Letter.eps", Board::Letter );
board.
saveFIG(
"example1_Letter.fig", Board::Letter );
board.
saveSVG(
"example1_Letter.svg", Board::Letter );
}