Lines Matching refs:painter
2891 void DefaultViewPort::draw2D(QPainter *painter) in draw2D() argument
2894 …painter->drawImage(QRect(0,0,viewport()->width(),viewport()->height()), image2Draw_qt, QRect(0,0, … in draw2D()
2935 void DefaultViewPort::drawImgRegion(QPainter *painter) in drawImgRegion() argument
2958 QFont f = painter->font(); in drawImgRegion()
2963 painter->setFont(f); in drawImgRegion()
2996 painter->setPen(QPen(Qt::red, 1)); in drawImgRegion()
2997 painter->drawText(QRect(pos_in_view.x(),pos_in_view.y(),pixel_width,pixel_height/3), in drawImgRegion()
3001 painter->setPen(QPen(Qt::green, 1)); in drawImgRegion()
3002 …painter->drawText(QRect(pos_in_view.x(),pos_in_view.y()+pixel_height/3,pixel_width,pixel_height/3), in drawImgRegion()
3006 painter->setPen(QPen(Qt::blue, 1)); in drawImgRegion()
3007 …painter->drawText(QRect(pos_in_view.x(),pos_in_view.y()+2*pixel_height/3,pixel_width,pixel_height/… in drawImgRegion()
3015 painter->drawText(QRect(pos_in_view.x(),pos_in_view.y(),pixel_width,pixel_height), in drawImgRegion()
3020 painter->setPen(QPen(Qt::black, 1)); in drawImgRegion()
3021 painter->drawLines(linesX.data(), linesX.size()); in drawImgRegion()
3022 painter->drawLines(linesY.data(), linesY.size()); in drawImgRegion()
3026 painter->setFont(f); in drawImgRegion()
3030 void DefaultViewPort::drawViewOverview(QPainter *painter) in drawViewOverview() argument
3038 painter->setBrush(QColor(0, 0, 0, 127)); in drawViewOverview()
3039 painter->setPen(Qt::darkGreen); in drawViewOverview()
3040 painter->drawRect(QRect(width()-viewSize.width()-margin, 0,viewSize.width(),viewSize.height())); in drawViewOverview()
3045 painter->setPen(Qt::darkBlue); in drawViewOverview()
3046 …painter->drawRect(QRectF(width()-viewSize.width()-positionCorners.left()*ratioSize*ratioWindow-mar… in drawViewOverview()
3053 void DefaultViewPort::drawInstructions(QPainter *painter) in drawInstructions() argument
3060 painter->setRenderHint(QPainter::TextAntialiasing); in drawInstructions()
3061 painter->fillRect(QRect(0, 0, width(), qrect.height() + 2*border), in drawInstructions()
3063 painter->setPen(Qt::white); in drawInstructions()
3064 painter->fillRect(QRect(0, 0, width(), qrect.height() + 2*border), in drawInstructions()
3067 painter->drawText((width() - qrect.width())/2, border, in drawInstructions()