I want to create a bitmap from my current view which must be scalable (I use the bitmap in printing and therefore need to adjust its size to the paper size). I think the function V3d_View::ToPixMap shall do it, but if I dump the resulting pixmap to a *.bmp file the file only shows the background color of my view window. Here's a code snippet:
Handle(Aspect_PixMap) aBitmap = GetView()->m_3dview->ToPixMap (1280, 1024, 0);
Perhaps anybody else has experiences with the usage of this function.