Download
pfuentes69
/FractalViewer
/TJulia.h
(View History)
pfp First commit | Latest amendment: 1 on 2022-08-26 |
1 | /***** |
2 | * TJulia.h |
3 | * |
4 | * Object definitions for window to draw a Julia set in. |
5 | * |
6 | *****/ |
7 | |
8 | #pragma once // include this header |
9 | // only once per source file |
10 | |
11 | #include "TFractalViewerWindow.h" |
12 | |
13 | |
14 | class TJulia : public TFractalViewerWindow { |
15 | protected: |
16 | virtual void DefaultPlane(); |
17 | RGBColor spec[5][256]; |
18 | int Julia(double real, double imag, short maxiterations); |
19 | virtual void PrepareStyles(); |
20 | double pWidth, pHeigth; |
21 | double pXMin, pXMax, pYMin, pYMax; |
22 | double pCX, pCY; |
23 | public: |
24 | TJulia(void); |
25 | virtual void Hit(Point where); |
26 | virtual void DrawShape(Rect *drawingRect); |
27 | virtual void ZoomContent(short z); |
28 | }; |