Add draft implementation of the get_window_extent method
add tests for empty and arrow only annotation