Gets the current extent of the buffer's graphical representation.
The result is only valid when the buffer is viewed (see Basic Organization). For wx:media-edit% objects, calling this method may force the recalculation of location information if a maximum width is set for the buffer, even if the buffer currently has delayed refreshing (see refresh-delayed?).
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.