19 lines
468 B
C++
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);
|
|
|
|
}; |