Searched refs:cellTopLeft (Results 1 – 4 of 4) sorted by relevance
/dports/games/bovo/bovo-21.12.3/gui/ |
H A D | scene.cc | 170 return cellTopLeft(x, y) + QPointF(m_curCellSize/2.0, m_curCellSize/2.0); in cellCenter() 173 QPointF Scene::cellTopLeft(int x, int y) const { in cellTopLeft() function in gui::Scene 195 QRectF rect(cellTopLeft(m_col, m_row), QSizeF(m_curCellSize, in drawForeground() 206 QRectF rect(cellTopLeft(m_lastCol, m_lastRow), QSizeF(m_curCellSize, in drawForeground() 216 QRectF tmpRect(cellTopLeft(it->x(), it->y()), QSizeF(m_curCellSize, in drawForeground() 228 QRectF boardRect(cellTopLeft(0, 0), QSizeF(m_curCellSize * NUMCOLS, in mouseMoveEvent() 254 QRectF boardRect(cellTopLeft(0, 0), QSizeF(m_curCellSize * NUMCOLS, in mousePressEvent() 273 QRectF rectOld(cellTopLeft(m_col, m_row), QSizeF(m_curCellSize, in removePaintMarker() 288 QRectF rect(cellTopLeft(m_col, m_row), QSizeF(m_curCellSize, in setPaintMarker() 300 QRectF rectOld(cellTopLeft(m_lastCol, m_lastRow), QSizeF(m_curCellSize, in removeShowLast() [all …]
|
H A D | scene.h | 59 QPointF cellTopLeft( int x, int y ) const;
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonz/ |
H A D | xshcellviewer.cpp | 2655 QPoint cellTopLeft = m_viewer->positionToXY(CellPosition(row, col)); in mousePressEvent() local 2656 QPoint mouseInCell = event->pos() - cellTopLeft; in mousePressEvent() 2848 QPoint cellTopLeft = m_viewer->positionToXY(CellPosition(row, col)); in mouseMoveEvent() local 2849 int x = m_pos.x() - cellTopLeft.x(); in mouseMoveEvent() 2850 int y = m_pos.y() - cellTopLeft.y(); in mouseMoveEvent() 2851 QPoint mouseInCell = m_pos - cellTopLeft; in mouseMoveEvent() 3045 QPoint cellTopLeft = m_viewer->positionToXY(CellPosition(row, col)); in contextMenuEvent() local 3046 QPoint mouseInCell = event->pos() - cellTopLeft; in contextMenuEvent()
|
H A D | xsheetdragtool.cpp | 1259 TPointD cellTopLeft(xy.x(), xy.y()); in onClick() local 1260 m_delta = mousePos - (cellTopLeft + m_startPos); in onClick()
|