Get_Max_Height

variable <- Get_Max_Height

 

Get_Max_Height is a function that returns the maximum height, in pixels, with which a RaptorGraph window can be opened. It is essentially the height of the entire screen minus any space reserved for Windows.

 

A graphics window need NOT be open when you call Get_Max_Height.  In fact, Get_Max_Height will normally be called just before Open_Graph_Window.

 

One way to open the largest possible RaptorGraph window is to use an Open_Graph_Window Call with Get_Max_Width and Get_Max_Height as arguments:

 

Open_Graph_Window(Get_Max_Width,Get_Max_Height)

 

Get_Window_Width and Get_Window_Height can then be called to determine how big the resulting window is.

 

Below is an example of Get_Max_Height being used in an assignment: