Gets the current extent of the buffer's graphical representation.
Only valid when the buffer is viewed.
The w box is filled with the buffer's width, unless w is null. The h box is filled with the buffer's height, unless h is null.