Definition at line 667 of file SegmentationDocumentGuiAnno.h. References OglGui::ZoomShiftRuler::Unit2Pixel(). Referenced by DisplaySegShots(), DisplayThreshShots(), DrawShotRelevance(), and WindowDisplayEvent(). 00669 { 00670 if (!sTL) 00671 return; 00672 int fPix = sTL->Unit2Pixel(f1*40); 00673 int lPix = sTL->Unit2Pixel(f2*40); 00674 if (fPix == lPix && y1 == y2) 00675 lPix += 1; 00676 SetLineWidth(w); 00677 SetSolidLineColor(col); 00678 DrawLine(fPix, y1, lPix, y2); 00679 SetLineWidth(1); 00680 }
Here is the call graph for this function: ![]()
|