Skip to main content
1-Visitor
December 4, 2018
Question

ProDisplist3dCreate / ProDisplist2dCreate

  • December 4, 2018
  • 0 replies
  • 1055 views

 hi all,

 

i want draw the reference axis and text on the graphic window (not feature /solid)

currently,ProGraphicsLineDraw(),ProGraphicsTextDisplay() is successful.

then ProDisplist3dCreate() make the draw always exist.

the result is below:

3D.jpg 

 And,i hope that text can always parallel with view, like the coordinate label,i guess "ProDisplist2dCreate()" can satisfy my requirement,i try to use it crate the "text graph" instead of ProDisplist3dCreate,but it's fail.

anyone know that?

bty,the toolkit example have strange comment: "bug in the function ProDisplist2dDisplay()"????

	status = ProDisplist2dCreate( id, matrix, ProTestDisplistDraw );
	TEST_CALL_REPORT( "ProDisplist2dCreate()", "ProTest2dDisplist()", 
			 status, status != PRO_TK_NO_ERROR );
 
 /* bug in the function ProDisplist2dDisplay() */
	status = ProDisplist2dDisplay( id, matrix );
	TEST_CALL_REPORT( "ProDisplist2dDisplay()", "ProTest2dDisplist()", 
			 status, 0 );
	break;

 dd.jpg