Lines Matching refs:bot
67 static SANE_Status getLeftEdge (int width, int height, int * top, int * bot,
275 int dpiX, int dpiY, int * top, int * bot, int * left, int * right)
341 *bot = -1;
344 if(*bot < i){
345 *bot = i;
355 *bot = -1;
359 /* could not find top/bot edges */
360 if(*top > *bot){
371 botBuf[0], topBuf[0], *bot, *top);
375 if(botBuf[i] > topBuf[i] && (botBuf[i]-10 < *bot || topBuf[i]+10 > *top)){
393 if(botBuf[i] > topBuf[i] && (botBuf[i]-10 < *bot || topBuf[i]+10 > *top)){
417 *top,*bot,*left,*right);
436 int top, int bot, int left, int right)
482 for(i=top; i<bot; i++){
489 params->lines = bot-top;
1596 getLeftEdge (int width, int height, int * top, int * bot,
1640 if(bot[i] > -1){
1642 int byi = bot[i] - (slope * i);