getmaxy

The function is used to gets the maximum y-coordinate in the physical coordinates of the graphics window.

int getmaxy();

Parameters

None

Return Value

Returns the maximum y-coordinate in the physical coordinates of the graphics window.

Remarks

The function is declared in graphics.h and is used to be compatible with function of the same name in Turbo C.

getmaxy() always returns the maximum y-coordinates in the physical coordinates of the graphics window, regardless of the zoom setting. Equivalent to getheight() - 1. For example, if the graphics window is initialized to 640 x 480, getheight() returns 480 and getmaxx() returns 479.

It is recommended that use getheight() - 1 instead of the function.

Examples

None