When using the OpenGL module to preview Windows prints (OnPrint ()), do I have to output bitmaps to devices created with createBitmapDevice like the OdaMfcApp sample?

  1. FAQ
  2. »
  3. Vectorization modules questions

OpenGL can draw directly into window context only, it is doesn't support any other device contexts (DC's). So, you can draw into printing or bitmap DC's only using raster image, generated by OpenGL vectorization module. If you will pass incompatible DC to OpenGL API it will generate error.