Definition at line 692 of file SegmentationDocumentGuiAnno.h. References OglGui::ZoomShiftRuler::Unit2Pixel(). Referenced by DisplaySegShots(), DisplayThreshShots(), DrawShotRelevance(), and WindowDisplayEvent(). 00694 { 00695 if (!sTL) 00696 return; 00697 int fPix = sTL->Unit2Pixel(f1*40); 00698 int lPix = sTL->Unit2Pixel(f2*40); 00699 if (fPix == lPix && y1 == y2) 00700 lPix += 1; 00701 SetLineWidth(w); 00702 SetSolidLineColor(col); 00703 DrawLine(fPix, y1, lPix, y2); 00704 SetLineWidth(1); 00705 }
Here is the call graph for this function:
|