Gets the index of the last pixel of the current context in the Y direction.
In other words, this is get_height -1.
the index