00001 00002 #ifndef __JBXL_WINDOW_H_ 00003 #define __JBXL_WINDOW_H_ 00004 00005 00014 #include "graph.h" 00015 00016 00017 extern double X_Dx; 00018 extern double X_Dy; 00019 extern double X_Wx; 00020 extern double X_Wy; 00021 00022 extern double X_Now; 00023 extern double Y_Now; 00024 00025 void setWindow(WSGraph vp, double x1, double y1, double x2, double y2); 00026 void wSetPixel(WSGraph vp, double x1, double y1, int cc); 00027 int wGetPixel(WSGraph vp, double x1, double y1); 00028 void wLine(WSGraph vp, double x1, double y1, double x2, double y2, int cc); 00029 00030 void wMove(double x1, double y1); 00031 void wDraw(WSGraph vp, double x1, double y1, int cc); 00032 void wMove_Rel(double x1, double y1); 00033 void wDraw_Rel(WSGraph vp, double x1, double y1, int cc); 00034 00035 00036 #endif // __JBXL_WINDOW_H_ 00037