home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
online
/
source
/
cpp
/
graphics
/
Conics.sit.hqx
/
Conics
/
Include
/
ConicWindow.h
< prev
next >
Wrap
Text File
|
1996-11-13
|
649b
|
32 lines
//Copyright 1996 Aidan Cully
//All rights reserved
#ifndef __CONICWINDOW_H
#define __CONICWINDOW_H
#include "DocWindows.h"
#include "LTypes.h"
#include "Angle.h"
#include "conic.h"
class TConicWindow:public TDocWindow {
protected:
p2d P3dT2d( p3d point, Rect drawRect );
SInt8 DrawConic();
SInt8 DrawPlane();
SInt8 DrawAxis();
virtual SInt8 RespondResizeSelf( const Rect&, const Rect& );
float d, D, S;
virtual void DrawSelf();
public:
class TConicInit:public TDocInit {
public:
float theta, phi;
};
virtual Boolean Init( TInitStruct* );
TAngle theta, phi;
virtual SInt8 DoUpdate();
virtual SInt8 MakeActive( Boolean );
};
#endif