Open_Graph_Window

Open_Graph_Window(X_Size, Y_Size)

 

Open_Graph_Window is a call used to create a graphics window of the given size.  Note that you can only have one RaptorGraph window open at a time.  If you attempt to open a second, a run-time error will occur.  Note also that an error will occur if your requested window size is bigger than the available screen dimensions (see Get_Max_Width and Get_Max_Height). Finally, if you attempt to open a window smaller than the minimum window size, the graphics window will be larger than the dimensions requested (see Get_Window_Height and Get_Window_Width).

 

Examples:

 

Open_Graph_Window(500, 300)

 

 opens a 500 pixel (wide) by 300 pixel (high) graphics window.