Changeset 1146 for trunk


Ignore:
Timestamp:
Nov 3, 2009, 2:57:31 PM (15 years ago)
Author:
garnier
Message:

reput drawText

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenGL/src/G4OpenGLQtViewer.cc

    r1137 r1146  
    25352535
    25362536
     2537void G4OpenGLQtViewer::drawText(
     2538const char * str
     2539,int x
     2540,int y
     2541,int z
     2542,int size ) {
     2543 
     2544#ifdef G4DEBUG_VIS_OGL
     2545  printf ("G4OpenGLStoredQtViewer::drawText-position %d,%d,%d-----------------------------------------\n",x,y,z);
     2546#endif   
     2547 
     2548  QFont f1 = QFont("Courrier", size, QFont::Bold);
     2549  f1.setPointSizeF(20);
     2550 
     2551  // FIXME : Interesting border effect : resizing world resize detector
     2552  // but not traces !
     2553  glColor3d (0.123456,0.1234560,0.123456);
     2554  fWindow->renderText (x,y,z,str,f1);
     2555  glColor3d (0.321,0.321,0.321);
     2556}
     2557 
     2558 
    25372559// FIXME : does not work on Qt3
    25382560void G4OpenGLQtViewer::processEncodeStdout()
Note: See TracChangeset for help on using the changeset viewer.