
Mon, 12/01/2003 - 20:26
Forums:
Hi everybody,
does anyone know which kind of unit the parameter aHeight of the function Prs3d_TextAspect::SetHeight() takes. I wasn't able to find the answer to this question within the help or *.cdl files.
Thanks for your help,
Sven
Tue, 12/09/2003 - 16:25
I finally found the solution by myself.
Somwhere really deep in the OCC Library... (to be more specific in the Graphic3d_Group.cdl file)
In principle the text displayed with Prs3d_Text::Draw method is written in the plane of projection. The height attribute therefore specifies the height of the text in normalized projection coordinates.
Hope this will help someone in the future.
Mon, 10/31/2011 - 18:56
Hello Sven,
"The height attribute therefore specifies the height of the text in normalized projection coordinates."
What does that exactly mean?
Do you have an code example? I want to draw a text with a height of 10mm. How I have to do the calculation therefore?
Kind regards
Arno
Fri, 11/11/2011 - 14:47
Hi all,
could anybody else give a solution for my question about the text height unit?
Kind regards
Arno