// VC_PLOTD.H #ifndef _VC_PLOTD_H_ #define _VC_PLOTD_H_ #include "stdafx.h" // center of screen is 0.0,0.0 // X is across screen, Y is up and down // limits : -40.0 <= X <= 40.0 -12.0 <= Y <= 12.0 enum show {OUTLINE, FILL, CLEAR_OUTLINE, CLEAR_FILL, BOLD}; void INITIALIZE(CDC *pDC) ; // unique in VC++ void DRAW_CIRCLE ( float X, float Y, float R, show KIND=OUTLINE ) ; void DRAW_ELLIPSE ( float X, float Y, float XR, float YR, show KIND=OUTLINE ) ; void DRAW_RECTANGLE ( float X, float Y, float W, float H, show KIND=OUTLINE ) ; void DRAW_LINE ( float X1, float Y1, float X2, float Y2, show KIND=OUTLINE ) ; void WRITE_TEXT ( float X, float Y, char *TEXT, show KIND=OUTLINE, COLORREF color=RGB(0, 0, 255) ) ; void PRINT(void) ; void CLOSE(void) ; // end VC_PLOTD.H #endif // _VC_PLOTD_H_