How to create a non-scalable line, shape

Link Prs3d_Text, But I want it to be a straight line and shape that doesn't scale with the window,And it can rotate

Kirill Gavrilov's picture

Transformation persistence Graphic3d_TransformPersPrsMgr_PresentableObject::TransformPersistence() is probably what you are looking for.