Searched refs:stableRound (Results 1 – 5 of 5) sorted by relevance
52 static inline int stableRound(double d) in stableRound() function64 …return IntRect(stableRound(r.x()), stableRound(r.y()), stableRound(r.maxX()) - stableRound(r.x()),… in roundRect()101 *x2 = stableRound(x1 * m_cosA + y1 * m_sinA) + m_postShiftX; in map()102 *y2 = stableRound(y1 * m_cosA - x1 * m_sinA) + m_postShiftY; in map()350 int width = stableRound(fWidth); in createPen()520 origRect.inflateX(stableRound((width - origRect.width()) * 0.5)); in TransparentLayerDC()521 origRect.inflateY(stableRound((height - origRect.height()) * 0.5)); in TransparentLayerDC()803 int centerX = stableRound(trRect.x() + a); in strokeArc()804 int centerY = stableRound(trRect.y() + b); in strokeArc()809 startX = stableRound(fstartX); in strokeArc()[all …]
125 intSrcRect.setX(stableRound(srcRectIn.x() * scaleFactor)); in draw()126 intSrcRect.setWidth(stableRound(srcRectIn.width() * scaleFactor)); in draw()127 intSrcRect.setY(stableRound(srcRectIn.y() * scaleFactor)); in draw()128 intSrcRect.setHeight(stableRound(srcRectIn.height() * scaleFactor)); in draw()
482 stableRound(trRect.x()), in drawPattern()483 stableRound(trRect.y()), in drawPattern()484 stableRound(trRect.maxX()), in drawPattern()485 stableRound(trRect.maxY()), in drawPattern()493 …POINT phaseWin = { stableRound(visibleDstRect.x() - phase.x()), stableRound(visibleDstRect.y() - p… in drawPattern()500 stableRound(visibleDstRect.maxX()) - stableRound(visibleDstRect.x()), in drawPattern()501 stableRound(visibleDstRect.maxY()) - stableRound(visibleDstRect.y()) in drawPattern()
29 static inline int stableRound(double d) in stableRound() function
253 winPoints[i2].x = stableRound(trPoint.x()); in drawPolygons()254 winPoints[i2].y = stableRound(trPoint.y()); in drawPolygons()258 winPoints[i2].x = stableRound(i->at(i2).x()); in drawPolygons()259 winPoints[i2].y = stableRound(i->at(i2).y()); in drawPolygons()