For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

How to render to bitmap - Part 2

Anonymous's picture


Obviously my question wasn't very clear. I am trying to make OpenCascade render to a memory bitmap, not to a window. I am not interested in saving or loading this bitmap to the disk. This functionality is intended for printing purposses. In pure OpenGL it is clear: set the flags to PFD_DRAW_TO_BITMAP and prepare a memory DC(for Windows). Obviously the OpenCascade Visualization framework initializes the PIXELFORMATDESCRIPTOR with the PFD_DRAW_TO_WINDOW flag, with double buffering supported. Is there any way to ask OpenCascade to draw to a Memory Bitmap???

Thanks for the help in advance...

Regards: Vladimir Petrov

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.