college/ws2010/gdi3/p5/Painter.class.h
2011-10-18 10:28:57 +02:00

19 lines
468 B
C++

#pragma once
#include "SDL/include/SDL.h"
class CPainter
{
void static DrawPixel(SDL_Surface *screen, int x, int y, Uint8 R, Uint8 G, Uint8 B);
/*
* returns the Mandelbrot-set as ASCII-art on the command line
*/
void static printASCIIMandelbrot(int** outarray, int x_width, int y_height);
void static printPIXELMandelbrot(int** outarray, int x_width, int y_height);
public:
void static print(int outtype, int** outarray, int x_width, int y_height);
};