For a long time I try to get an EMF-File form a 2D View.
My code looks like this:
myWNTDriver = new WNT_DDriver(cPrn, "spool.emf", WNT_OT_LANDSCAPE, 1.0, 1);
myWNTDriver->Spool(Aspect_PM_DPLOTTER, cPrn, Standard_True);
When I debuged the OpenCascade-Functions and realised, that the sizes and scaling factors of the outputdriver are wrong. Thats why during the Graphic2d_View::Update()-call all the primitives are not repainted because of the clipping-check. (Graphic2d_Drawer::IsIn() is false for all primitives)
The EMF-File ist ALLWAYS EMPTY!!!
Could anybody help me?
Has anybody ever printed a 2D-View in OCC5.1?
Is the plotting-function forgotten / not fully implemented?
Thanks for your reply...