paint.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
#ifndef _LIBCP_PAINT_H_
00027
#define _LIBCP_PAINT_H_
00028
00029
#include <cstdlib>
00030
#include <iostream>
00031
00032
using namespace std;
00033
00034
#include "globals.h"
00035
#include "image.h"
00036
00037
namespace LIBCP{
00038
00039
00044 class Paint
00045 {
00046
00047
public:
00048
static int circle(
Image *dst,
const int x,
const int y,
00049
const int r,
const int color );
00050
static int ellipse(
Image *dst,
const int cx,
const int cy,
00051
const int xRadius,
const int yRadius);
00052
static int line(
Image *dst,
const int startX,
const int startY,
00053
const int endX,
const int endY);
00054
static int rectangle(
Image *dst,
const int startX,
const int startY,
00055
const int endX,
const int endY);
00056
00057
00058 };
00059 }
00060
00061
#endif //_LIBCP_PAINT_H_
Generated on Wed May 26 16:43:53 2004 for libcp by
1.3.7