Drawing a minimap - need an advice

Hello! So im trying to draw a minimap. Everything is good, exept of a size of a rect that showes camera view.
So is there any way to draw a rect/texture,that has size equale to camera view?

Im having something like this for now.

I answered the same question here, take a look:

link text