Troubles with printing 2D Texts - strong changes between 2.3 and 2.4 version

Hugues Wisniewski h_wski at yahoo.com
Thu Jul 22 12:02:08 EDT 1999


> I just modified the Sample to add a TextMapper and it worked fine.

Did you writre just the same thing as I wrote in in Sample, or did you add something more ?

> I think if you modify the default OnDraw method in vtkMFCRenderView
> so that it does two renders in a row when printing, (just duplicate
> the Render() call) then that might fix your problem.

It's done, when printing, "if (pDC->IsPrinting()" I've added one more
this->RenderWindow->Render();

so that I have two lines

    this->RenderWindow->Render();
    this->RenderWindow->Render();

and I still can't see the texts, there must be a trick !
thanks
Hugues

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list