Home
last modified time | relevance | path

Searched refs:textBound (Results 1 – 4 of 4) sorted by relevance

/dports/audio/lmms/lmms-1.2.2/src/gui/widgets/
H A DTextFloat.cpp179 QRect textBound = metrics.boundingRect( m_text ); in updateSize() local
185 if( title_w > textBound.width() ) in updateSize()
187 textBound.setWidth( title_w ); in updateSize()
189 textBound.setHeight( textBound.height() * 2 + 8 ); in updateSize()
193 textBound.setWidth( textBound.width() + m_pixmap.width() + 10 ); in updateSize()
195 resize( textBound.width() + 5, textBound.height()+2 ); in updateSize()
/dports/graphics/instant-meshes/instant-meshes-0.0-42-g4a083f4/ext/nanogui/src/
H A Dtextbox.cpp216 float textBound[4]; in draw() local
218 nullptr, textBound); in draw()
219 float lineh = textBound[3] - textBound[1]; in draw()
225 updateCursor(ctx, textBound[2], glyphs, nglyphs); in draw()
230 float prevCX = cursorIndex2Position(prevCPos, textBound[2], glyphs, nglyphs); in draw()
231 float nextCX = cursorIndex2Position(nextCPos, textBound[2], glyphs, nglyphs); in draw()
243 nullptr, textBound); in draw()
251 float caretx = cursorIndex2Position(mCursorPos, textBound[2], in draw()
253 float selx = cursorIndex2Position(mSelectionPos, textBound[2], in draw()
267 float caretx = cursorIndex2Position(mCursorPos, textBound[2], glyphs, nglyphs); in draw()
/dports/x11-toolkits/nanogui/nanogui-e9ec8a1a9861cf578d9c6e85a6420080aa715c03/src/
H A Dtextbox.cpp220 float textBound[4]; in draw() local
222 nullptr, textBound); in draw()
223 float lineh = textBound[3] - textBound[1]; in draw()
229 updateCursor(ctx, textBound[2], glyphs, nglyphs); in draw()
234 float prevCX = cursorIndex2Position(prevCPos, textBound[2], glyphs, nglyphs); in draw()
235 float nextCX = cursorIndex2Position(nextCPos, textBound[2], glyphs, nglyphs); in draw()
247 nullptr, textBound); in draw()
255 float caretx = cursorIndex2Position(mCursorPos, textBound[2], in draw()
257 float selx = cursorIndex2Position(mSelectionPos, textBound[2], in draw()
271 float caretx = cursorIndex2Position(mCursorPos, textBound[2], glyphs, nglyphs); in draw()
/dports/biology/ugene/ugene-40.1/src/plugins/query_designer/src/
H A DQueryViewItems.cpp918 QRectF textBound(0, 0, fm.width(text), fm.height()); in boundingRect() local
919 textBound.moveTop(ARROW_DELTA); in boundingRect()
923 return textBound | arrowBound; in boundingRect()
953 QRectF textBound(0, 0, fm.width(text), fm.height()); in paint() local
954 textBound.moveTop(ARROW_DELTA); in paint()
955 QPointF c(boundingRect().center().x(), textBound.center().y()); in paint()
956 textBound.moveCenter(c); in paint()
957 painter->drawText(textBound, text); in paint()