Mon, 02/03/2003 - 15:06
I am new to Opencascade and want to know a way to draw 2D TEXT in Opencascade.I have tried following, but the program either crashes or displays nothing.
text = new Graphic2d_Text(aGrObj, "kaka", 10.0, 10.0, 0.0,Aspect_TOT_SOLID,1.0);
Awaiting prompt reply.
Tue, 02/04/2003 - 13:25
If I remeber correct, you need to set an environment variable that point to the font directory, I belive there is an entry in the FAQ about the environment variables to set, that could be the problem.
Tue, 02/04/2003 - 18:08
There is a sample that do just that, you should look at it.