Lines Matching refs:pDraw
523 DrawElement* pDraw = dynamic_cast<DrawElement*>(*page_element); in visit() local
524 if( ! pDraw && pLink && ! pLink->Children.empty() ) in visit()
525 pDraw = dynamic_cast<DrawElement*>(pLink->Children.front() ); in visit()
526 if( pDraw ) in visit()
532 if( pCurPara && pDraw->y < pCurPara->y + pCurPara->h ) in visit()
534 if( pDraw->h < fCurLineHeight * 1.5 ) in visit()
537 … fCurLineHeight = (fCurLineHeight*double(nCurLineElements) + pDraw->h)/double(nCurLineElements+1); in visit()
540 pDraw->isCharacter = true; in visit()
554 pDraw->h < pText->h*1.5 && // and it is approx the same height in visit()
556 ( ( pDraw->y >= pText->y && pDraw->y <= pText->y+pText->h ) || in visit()
557 ( pDraw->y+pDraw->h >= pText->y && pDraw->y+pDraw->h <= pText->y+pText->h ) in visit()
562 fCurLineHeight = pDraw->h; in visit()
564 line_left = pDraw->x; in visit()
565 line_right = pDraw->x + pDraw->w; in visit()
569 pDraw->isCharacter = true; in visit()
644 if( pText || pDraw ) in visit()