-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPAINTCON.H
36 lines (36 loc) · 1.45 KB
/
PAINTCON.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Declarations for Paintcon Code.
void SetDXFoutputMode();
void PaintScatText( HWND &hwnd, HDC &hdc);
void PaintGridText( HWND &hwnd, HDC &hdc);
void Paint2dSurface ( HDC &hdc, const ContourOptionsType &Option);
//void PaintContourReset();
void Paint3dSurface( HDC &hdc, const ContourOptionsType &Option );
//void ContourLinesSet();
//void NiceContourLinesSet();
//void ContourLinesSet( const double start, const double increment, const double end);
void CentreDisplay( HDC &hdc, RECT &rect, RECT &cliprect, int Zooming );
void Scale3dCube();
void Scale2dRectangle();
int PaintSurfaceRatio();
int PaintSurfaceRatio( int );
void SetExtents( HDC &hdc );
int ZoomViewDouble( const POINT ZoomCentre, const int ZoomFactor );
void ZoomViewPrevious();
void SetCurrentWinView( HDC &hdc );
void SetCurrentWin( HDC &hdc );
void xyInfo2d( int, int, const ContourOptionsType &Option );
void xyInfo3d( int, int, const ContourOptionsType &Option );
void GetxyData( float &x, float &y, long &ix, long &iy);
void GetxyInfo( long &i, long &j );
void CreatePens( );
void DestroyPens();
void SelectPen( int pen );
int Visible( const int &x, const int &y );
int VisibleX( const int &ix );
int VisibleY( const int &iy );
int InTheGrid( const int &x, const int &y );
int GetZoomedUser( float &xmin, float &xmax, float &ymin, float &ymax );
char* FormatDataPointText( long i ) ;
int ZoomIn();
int ZoomOut();
int PanView( const int xDirection, const int yDirection );