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

This function is obsolete and is declared only in graphics.h.

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

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.

Examples

None