Definition at line 324 of file ZoomShiftRuler.h. References mAxisY, mSpan, mStart, and Unit2Pixel(). Referenced by DrawTicks(). 00325 { 00326 long minX = Unit2Pixel(mStart); 00327 long maxX = Unit2Pixel(mStart+mSpan); 00328 int cnt = 0; 00329 00330 if (nextX-x <= 0) 00331 nextX = x + 1; 00332 00333 for (double j=x; j<nextX; j+= (nextX-x)/10.) 00334 { 00335 if (j>minX && j<maxX) 00336 DrawLine(j,mAxisY-((++cnt%6)?2:4),j,mAxisY); 00337 } 00338 }
Here is the call graph for this function:
|