glview uses rect instead of size

this is because it could be needed if you want to create a view
inside a window in an specific position