Home
last modified time | relevance | path

Searched refs:m_rect (Results 1 – 25 of 776) sorted by relevance

12345678910>>...32

/dports/editors/calligra/calligra-3.2.1/plugins/pictureshape/
H A DSelectionRect.cpp28 m_rect(rect), in SelectionRect()
42 m_rect = rect; in setRect()
82 m_rect.moveTo(m_rect.topLeft() + (pos - m_tempPos)); in doDragging()
121 m_rect = m_rect.normalized(); in finishDragging()
153 qreal x = (m_rect.left() + m_rect.right()) / 2.0; in getHandleRect()
154 qreal y = (m_rect.top() + m_rect.bottom()) / 2.0; in getHandleRect()
199 if (m_rect.top() < m_tConstr || m_rect.top() > m_bConstr) { in fixAspect()
200 m_rect.setTop(qBound(m_tConstr, m_rect.top(), m_bConstr)); in fixAspect()
223 if (m_rect.left() < m_lConstr || m_rect.left() > m_rConstr) { in fixAspect()
224 m_rect.setLeft(qBound(m_lConstr, m_rect.left(), m_rConstr)); in fixAspect()
[all …]
/dports/devel/qt5-location/kde-qtlocation-5.15.2p6/src/location/declarativemaps/
H A Dqdeclarativerectanglemapitem_p_p.h131 if (!m_rect.topLeft().isValid() || !m_rect.bottomRight().isValid()) { in updatePolish()
134 m_rect.setWidth(0); in updatePolish()
135 m_rect.setHeight(0); in updatePolish()
148 m_geometry.updateScreenPoints(*m_rect.map(), m_rect.m_border.width()); in updatePolish()
154 if (m_rect.m_border.color().alpha() != 0 && m_rect.m_border.width() > 0) { in updatePolish()
169 m_borderGeometry.updateScreenPoints(*m_rect.map(), m_rect.m_border.width()); in updatePolish()
179 m_rect.setHeight(combined.height() + 2 * m_rect.m_border.width()); in updatePolish()
304 if (!m_rect.topLeft().isValid() || !m_rect.bottomRight().isValid()) { in updatePolish()
318 m_geometry.updateSourcePoints(*m_rect.map(), m_rect.m_rectangle); in updatePolish()
328 m_borderGeometry.updateSourcePoints(*m_rect.map(), m_rect.m_rectangle); in updatePolish()
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/Framework/src/win32/
H A DRect.cpp17 return &m_rect; in operator RECT*()
22 return m_rect; in operator RECT&()
27 return m_rect.left; in Left()
32 return m_rect.top; in Top()
37 return m_rect.right; in Right()
47 m_rect.left = left; in SetLeft()
52 m_rect.top = top; in SetTop()
67 return m_rect.right - m_rect.left; in Width()
72 return m_rect.bottom - m_rect.top; in Height()
93 m_rect.right = m_rect.left + width; in CenterInside()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/compositor/intern/
H A DCOM_MemoryBuffer.cpp85 this->m_height = this->m_rect.ymax - this->m_rect.ymin; in MemoryBuffer()
159 unsigned int minX = max(this->m_rect.xmin, otherBuffer->m_rect.xmin); in copyContentFrom()
160 unsigned int maxX = min(this->m_rect.xmax, otherBuffer->m_rect.xmax); in copyContentFrom()
161 unsigned int minY = max(this->m_rect.ymin, otherBuffer->m_rect.ymin); in copyContentFrom()
162 unsigned int maxY = min(this->m_rect.ymax, otherBuffer->m_rect.ymax); in copyContentFrom()
170 offset = ((otherY - this->m_rect.ymin) * this->m_width + minX - this->m_rect.xmin) * in copyContentFrom()
180 if (x >= this->m_rect.xmin && x < this->m_rect.xmax && y >= this->m_rect.ymin && in writePixel()
181 y < this->m_rect.ymax) { in writePixel()
182 const int offset = (this->m_width * (y - this->m_rect.ymin) + x - this->m_rect.xmin) * in writePixel()
190 if (x >= this->m_rect.xmin && x < this->m_rect.xmax && y >= this->m_rect.ymin && in addPixel()
[all …]
/dports/graphics/kf5-kquickcharts/kquickcharts-5.89.0/src/scenegraph/
H A DLineGridNode.cpp53 if (rect == m_rect) { in setRect()
57 m_rect = rect; in setRect()
97 if (!m_rect.isValid()) { in update()
103 totalVertices = std::floor(m_rect.width() / std::ceil(m_spacing)) * 2 + 4; in update()
105 totalVertices = std::floor(m_rect.height() / std::ceil(m_spacing)) * 2 + 4; in update()
125 line(vertices, indices, index, m_rect.left(), m_rect.top(), m_rect.right(), m_rect.top()); in update()
129 line(vertices, indices, index, m_rect.left(), y, m_rect.right(), y); in update()
133 … line(vertices, indices, index, m_rect.left(), m_rect.bottom(), m_rect.right(), m_rect.bottom()); in update()
135 line(vertices, indices, index, m_rect.left(), m_rect.top(), m_rect.left(), m_rect.bottom()); in update()
139 line(vertices, indices, index, x, m_rect.top(), x, m_rect.bottom()); in update()
[all …]
/dports/graphics/goocanvasmm2/goocanvasmm-1.90.9/examples/coordinates/
H A Dwindow.cc39 root->add_child(m_rect); in ExampleWindow()
41 m_rect->property_line_width() = 10.0; in ExampleWindow()
43 m_rect->property_fill_color() = "gray"; in ExampleWindow()
80 str << "Rect: x=" << m_rect->property_x() << ", y=" << m_rect->property_y() << in update_label()
81 ", width=" << m_rect->property_width() << ", height=" << m_rect->property_height() << in update_label()
97 m_rect->translate(20, 20); in on_button_translate()
104 m_rect->property_x() = 50; in on_button_setxy()
105 m_rect->property_y() = 50; in on_button_setxy()
107 m_rect->set_property("x", 50); in on_button_setxy()
108 m_rect->set_property("y", 50); in on_button_setxy()
[all …]
/dports/cad/qelectrotech/qet-0.7.0/sources/editor/esevent/
H A Deseventaddrect.cpp31 m_rect(nullptr) in ESEventAddRect()
39 delete m_rect; in ~ESEventAddRect()
57 if (!m_rect) in mousePressEvent()
59 m_rect = new PartRectangle(m_editor); in mousePressEvent()
60 m_scene -> addItem(m_rect); in mousePressEvent()
61 m_rect -> setRect(QRectF(pos, pos)); in mousePressEvent()
66 m_rect -> setRect(m_rect -> rect().normalized()); in mousePressEvent()
70 m_rect = nullptr; in mousePressEvent()
84 if (!m_rect) return false; in mouseMoveEvent()
87 m_rect -> setRect(rect); in mouseMoveEvent()
[all …]
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/dfb/
H A Dregion.cpp31 wxRegionRefData(const wxRegionRefData& data) : m_rect(data.m_rect) {} in wxRegionRefData()
37 wxRect m_rect; member in wxRegionRefData
88 return M_REGION->m_rect == M_REGION_OF(region)->m_rect; in DoIsEqual()
96 const wxRect& r = M_REGION->m_rect; in DoGetBox()
110 return M_REGION->m_rect.IsEmpty(); in IsEmpty()
125 M_REGION->m_rect.Offset(x, y); in DoOffset()
139 M_REGION->m_rect = rect; in DoUnionWithRect()
160 M_REGION->m_rect.Intersect(M_REGION_OF(region)->m_rect); in DoIntersect()
175 M_REGION->m_rect = wxRect(); in DoSubtract()
206 if (M_REGION->m_rect.Contains(x, y)) in DoContainsPoint()
[all …]
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/dfb/
H A Dregion.cpp31 wxRegionRefData(const wxRegionRefData& data) : m_rect(data.m_rect) {} in wxRegionRefData()
37 wxRect m_rect; member in wxRegionRefData
88 return M_REGION->m_rect == M_REGION_OF(region)->m_rect; in DoIsEqual()
96 const wxRect& r = M_REGION->m_rect; in DoGetBox()
110 return M_REGION->m_rect.IsEmpty(); in IsEmpty()
125 M_REGION->m_rect.Offset(x, y); in DoOffset()
139 M_REGION->m_rect = rect; in DoUnionWithRect()
160 M_REGION->m_rect.Intersect(M_REGION_OF(region)->m_rect); in DoIntersect()
175 M_REGION->m_rect = wxRect(); in DoSubtract()
206 if (M_REGION->m_rect.Contains(x, y)) in DoContainsPoint()
[all …]
/dports/graphics/wdune/wdune-1.926/src/
H A DChannelView.cpp39 #define TO_WORLD_X(x) (((x) - m_rect.left) / (float) m_rect.Width())
40 #define TO_WORLD_Y(y) ((m_rect.bottom - (y)) / (float) m_rect.Height())
125 if (m_interpolator && m_rect.Width() > 0 && m_rect.Height() > 0) { in OnDraw()
271 swFillRect(dc, 0, 0, m_rect.left, m_rect.bottom +BORDER_WIDTH); in DrawRulers()
272 swFillRect(dc, m_rect.left, 0, m_rect.right+BORDER_WIDTH, m_rect.top); in DrawRulers()
273 swDrawLine(dc, m_rect.left, m_rect.top-1, m_rect.right, m_rect.top-1); in DrawRulers()
284 MoveTo(dc, m_rect.left-1, m_rect.top); in DrawRulers()
285 LineTo(dc, m_rect.left-1, m_rect.bottom); in DrawRulers()
304 swFillRect(dc, m_rect.left + m_selMin, m_rect.top, in DrawSelection()
446 swInvalidateRect(m_wnd, m_rect.left + min, m_rect.top, in DoMouseMove()
[all …]
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/src/dfb/
H A Dregion.cpp28 wxRegionRefData(const wxRegionRefData& data) : m_rect(data.m_rect) {} in wxRegionRefData()
34 wxRect m_rect; member in wxRegionRefData
91 return M_REGION->m_rect == M_REGION_OF(region)->m_rect; in DoIsEqual()
99 const wxRect& r = M_REGION->m_rect; in DoGetBox()
113 return M_REGION->m_rect.IsEmpty(); in IsEmpty()
128 M_REGION->m_rect.Offset(x, y); in DoOffset()
142 M_REGION->m_rect = rect; in DoUnionWithRect()
163 M_REGION->m_rect.Intersect(M_REGION_OF(region)->m_rect); in DoIntersect()
178 M_REGION->m_rect = wxRect(); in DoSubtract()
209 if (M_REGION->m_rect.Contains(x, y)) in DoContainsPoint()
[all …]
/dports/graphics/drawpile/Drawpile-2.1.20/src/desktop/scene/
H A Dannotationitem.cpp38 m_rect = rect; in setGeometry()
97 painter->fillRect(m_rect, m_color); in paint()
110 painter->drawPoint(m_rect.topLeft()); in paint()
111 painter->drawPoint(m_rect.topLeft() + QPointF(m_rect.width()/2, 0)); in paint()
112 painter->drawPoint(m_rect.topRight()); in paint()
114 painter->drawPoint(m_rect.topLeft() + QPointF(0, m_rect.height()/2)); in paint()
115 painter->drawPoint(m_rect.topRight() + QPointF(0, m_rect.height()/2)); in paint()
117 painter->drawPoint(m_rect.bottomLeft()); in paint()
118 painter->drawPoint(m_rect.bottomLeft() + QPointF(m_rect.width()/2, 0)); in paint()
122 m_doc.setTextWidth(m_rect.width()); in paint()
[all …]
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/editor/
H A Dresize_marker.cpp22 m_rect(rect), in ResizeMarker()
43 new_pos.y = (m_rect->get_top() + m_rect->get_bottom())/2 - 8; in refresh_pos()
47 new_pos.y = m_rect->get_top() - 16; in refresh_pos()
51 new_pos.y = m_rect->get_bottom(); in refresh_pos()
58 new_pos.x = (m_rect->get_left() + m_rect->get_right())/2 - 8; in refresh_pos()
62 new_pos.x = m_rect->get_left() - 16; in refresh_pos()
66 new_pos.x = m_rect->get_right(); in refresh_pos()
80 m_rect->set_top(std::min(pos.y + 16, m_rect->get_bottom() - 2)); in move_to()
83 m_rect->set_bottom(std::max(pos.y, m_rect->get_top() + 2)); in move_to()
91 m_rect->set_left(std::min(pos.x + 16, m_rect->get_right() - 2)); in move_to()
[all …]
/dports/graphics/engauge-digitizer/engauge-digitizer-12.2.2/src/Tutorial/
H A DTutorialButton.cpp23 m_rect (nullptr), in TutorialButton()
32 if (m_rect != nullptr) { in ~TutorialButton()
33 QGraphicsScene *scene = m_rect->scene(); in ~TutorialButton()
36 delete m_rect; in ~TutorialButton()
44 m_rect = new TutorialButtonRect (*this); in createRect()
45 m_rect->show (); in createRect()
46 m_rect->setPen (QPen (Qt::gray)); in createRect()
47 m_rect->setBrush (QBrush (Qt::white)); in createRect()
48 m_rect->setZValue (Z_IN_FRONT); in createRect()
49 scene.addItem (m_rect); in createRect()
[all …]
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtcharts/examples/charts/callout/
H A Dcallout.cpp47 rect.setLeft(qMin(m_rect.left(), anchor.x())); in boundingRect()
49 rect.setTop(qMin(m_rect.top(), anchor.y())); in boundingRect()
59 path.addRoundedRect(m_rect, 5, 5); in paint()
62 if (!m_rect.contains(anchor)) { in paint()
66 bool above = anchor.y() <= m_rect.top(); in paint()
67 bool aboveCenter = anchor.y() > m_rect.top() && anchor.y() <= m_rect.center().y(); in paint()
68 bool belowCenter = anchor.y() > m_rect.center().y() && anchor.y() <= m_rect.bottom(); in paint()
69 bool below = anchor.y() > m_rect.bottom(); in paint()
72 bool leftOfCenter = anchor.x() > m_rect.left() && anchor.x() <= m_rect.center().x(); in paint()
73 bool rightOfCenter = anchor.x() > m_rect.center().x() && anchor.x() <= m_rect.right(); in paint()
[all …]
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/interface/
H A Dcontrol_enum.hpp105 (m_rect.get_top() + m_rect.get_bottom()) / 2 - in draw()
114 Rectf box = m_rect.moved(Vector(0.f, m_rect.get_height() * float(i))); in draw()
130 (m_rect.get_top() + m_rect.get_bottom()) / 2 - in draw()
153 m_rect.get_top(), in on_mouse_button_up()
154 m_rect.get_right(), in on_mouse_button_up()
155 m_rect.get_bottom() + m_rect.get_height() * float(m_options.size()) in on_mouse_button_up()
169 if (!Rectf(m_rect.get_left(), in on_mouse_button_down()
170 m_rect.get_top(), in on_mouse_button_down()
171 m_rect.get_right(), in on_mouse_button_down()
172 m_rect.get_bottom() + m_rect.get_height() * float(m_options.size()) in on_mouse_button_down()
[all …]
/dports/math/saga/saga-8.1.3/saga-gis/src/saga_core/saga_api/
H A Dgeo_classes.cpp843 Assign(x, y, m_rect.xMax, m_rect.yMax); in Set_BottomLeft()
853 Assign(m_rect.xMin, m_rect.yMin, x, y); in Set_TopRight()
876 m_rect.xMin += dx; in Move()
877 m_rect.yMin += dy; in Move()
878 m_rect.xMax += dx; in Move()
897 m_rect.xMin - dx, m_rect.yMin - dy, in Inflate()
898 m_rect.xMax + dx, m_rect.yMax + dy in Inflate()
976 m_rect = Rect.m_rect; in Intersect()
1008 if( m_rect.xMax < Rect.Get_XMin() || Rect.Get_XMax() < m_rect.xMin in Intersects()
1037 return( m_rect.xMin <= x && x <= m_rect.xMax in Contains()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebKit2/UIProcess/qt/
H A DTiledDrawingAreaTileQt.cpp47 , m_rect(proxy->tileRectForCoordinate(tileCoordinate)) in TiledDrawingAreaTile()
49 , m_dirtyRegion(m_rect) in TiledDrawingAreaTile()
91 IntRect oldRect = m_rect; in resize()
92 m_rect = IntRect(m_rect.location(), newSize); in resize()
93 if (m_rect.maxX() > oldRect.maxX()) in resize()
94 … invalidate(IntRect(oldRect.maxX(), oldRect.y(), m_rect.maxX() - oldRect.maxX(), m_rect.height())); in resize()
95 if (m_rect.maxY() > oldRect.maxY()) in resize()
96 … invalidate(IntRect(oldRect.x(), oldRect.maxY(), m_rect.width(), m_rect.maxY() - oldRect.maxY())); in resize()
111 IntRect target = intersection(rect, m_rect); in paint()
112 IntRect source((target.x() - m_rect.x()), in paint()
[all …]
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/slic3r/GUI/
H A DRammingChart.cpp20 dc.DrawRectangle(m_rect); in draw()
23 …Text(_(L("NO RAMMING AT ALL")),wxPoint(m_rect.GetLeft()+m_rect.GetWidth()/2-legend_side,m_rect.Get… in draw()
30 int color = 510*((m_rect.GetBottom()-(m_line_to_draw)[i])/double(m_rect.GetHeight())); in draw()
32 …dc.DrawLine(m_rect.GetLeft()+1+i,(m_line_to_draw)[i],m_rect.GetLeft()+1+i,m_rect.GetBottom()); … in draw()
39 … dc.DrawLine(m_rect.GetLeft()+i,(m_line_to_draw)[i],m_rect.GetLeft()+i+1,(m_line_to_draw)[i]); in draw()
57 int y = m_rect.GetBottom(); in draw()
68 int x = m_rect.GetLeft(); in draw()
80 …dc.DrawText(label,wxPoint(0.5*(m_rect.GetRight()+m_rect.GetLeft())-text_width/2.f, m_rect.GetBotto… in draw()
83 dc.DrawRotatedText(label,wxPoint(0,0.5*(m_rect.GetBottom()+m_rect.GetTop())+text_width/2.f),90); in draw()
113 wxRect rect = m_rect; in mouse_moved()
[all …]
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/effects/overview/
H A Dexpoarea.cpp19 return m_rect.x(); in x()
24 return m_rect.y(); in y()
29 return m_rect.width(); in width()
34 return m_rect.height(); in height()
62 const QRect oldRect = m_rect; in update()
65 m_rect = effects->clientArea(MaximizeArea, screen, effects->currentDesktop()); in update()
68 m_rect.translate(-m_screen->geometry().topLeft()); in update()
70 if (oldRect.x() != m_rect.x()) { in update()
73 if (oldRect.y() != m_rect.y()) { in update()
76 if (oldRect.width() != m_rect.width()) { in update()
[all …]
/dports/x11-toolkits/kf5-kirigami2/kirigami2-5.89.0/src/scenegraph/
H A Dshadowedrectanglenode.cpp39 m_rect = QRectF{}; in setBorderEnabled()
56 if (rect == m_rect) { in setRect()
60 m_rect = rect; in setRect()
63 if (m_rect.width() >= m_rect.height()) { in setRect()
64 newAspect.setX(m_rect.width() / m_rect.height()); in setRect()
66 newAspect.setY(m_rect.height() / m_rect.width()); in setRect()
78 auto minDimension = std::min(m_rect.width(), m_rect.height()); in setSize()
90 float minDimension = std::min(m_rect.width(), m_rect.height()); in setRadius()
123 auto minDimension = std::min(m_rect.width(), m_rect.height()); in setOffset()
139 auto minDimension = std::min(m_rect.width(), m_rect.height()); in setBorderWidth()
[all …]
/dports/games/springlobby/springlobby-0.180/src/aui/
H A Dslbook.cpp219 *x = m_rect.width; in DoGetClientSize()
220 *y = m_rect.height; in DoGetClientSize()
232 …m_tab_rect = wxRect (m_rect.x, m_rect.y + m_rect.height - m_tab_ctrl_height, m_rect.width, m_tab_c… in DoSizing()
233 …m_tabs->SetSize (m_rect.x, m_rect.y + m_rect.height - m_tab_ctrl_height, m_rect.width, m_tab_c… in DoSizing()
238 m_tab_rect = wxRect (m_rect.x, m_rect.y, m_rect.width, m_tab_ctrl_height); in DoSizing()
239 m_tabs->SetSize (m_rect.x, m_rect.y, m_rect.width, m_tab_ctrl_height); in DoSizing()
256 page.window->SetSize(m_rect.x, m_rect.y, in DoSizing()
257 m_rect.width, m_rect.height - m_tab_ctrl_height); in DoSizing()
261 page.window->SetSize(m_rect.x, m_rect.y + m_tab_ctrl_height, in DoSizing()
262 m_rect.width, m_rect.height - m_tab_ctrl_height); in DoSizing()
[all …]
/dports/x11-toolkits/qt5-declarative/kde-qtdeclarative-5.15.2p41/src/quick/items/context2d/
H A Dqquickcontext2dtile.cpp51 , m_rect(QRect(0, 0, 1, 1)) in QQuickContext2DTile()
75 int gray = (m_rect.x() / m_rect.width() + m_rect.y() / m_rect.height()) % 2; in createPainter()
78 m_painter.fillRect(QRect(0, 0, m_rect.width(), m_rect.height()), QColor(v, v, v, 255)); in createPainter()
92 m_painter.translate(-m_rect.left(), -m_rect.top()); in createPainter()
93 m_painter.setClipRect(m_rect); in createPainter()
133 if (m_rect == r) in setRect()
135 m_rect = r; in setRect()
163 if (m_rect == r) in setRect()
165 m_rect = r; in setRect()
/dports/x11-toolkits/qt5-declarative-test/kde-qtdeclarative-5.15.2p41/src/quick/items/context2d/
H A Dqquickcontext2dtile.cpp51 , m_rect(QRect(0, 0, 1, 1)) in QQuickContext2DTile()
75 int gray = (m_rect.x() / m_rect.width() + m_rect.y() / m_rect.height()) % 2; in createPainter()
78 m_painter.fillRect(QRect(0, 0, m_rect.width(), m_rect.height()), QColor(v, v, v, 255)); in createPainter()
92 m_painter.translate(-m_rect.left(), -m_rect.top()); in createPainter()
93 m_painter.setClipRect(m_rect); in createPainter()
133 if (m_rect == r) in setRect()
135 m_rect = r; in setRect()
163 if (m_rect == r) in setRect()
165 m_rect = r; in setRect()
/dports/print/limereport/LimeReport-1.5.35/limereport/
H A Dlritemscontainerdesignitf.cpp33 VSegment vS1(c1->m_rect),vS2(c2->m_rect); in itemSortContainerLessThen()
34 HSegment hS1(c1->m_rect),hS2(c2->m_rect); in itemSortContainerLessThen()
36 return c1->m_rect.x()<c2->m_rect.x(); in itemSortContainerLessThen()
37 else return c1->m_rect.y()<c2->m_rect.y(); in itemSortContainerLessThen()
64 HSegment hS1(m_containerItems[j]->m_rect),hS2(m_containerItems[i]->m_rect); in arrangeSubItems()
65 VSegment vS1(m_containerItems[j]->m_rect),vS2(m_containerItems[i]->m_rect); in arrangeSubItems()
66 … if (m_containerItems[i]->m_rect.bottom()<m_containerItems[i]->m_item->geometry().bottom()){ in arrangeSubItems()
69 … +m_containerItems[j]->m_rect.top()-m_containerItems[i]->m_rect.bottom()); in arrangeSubItems()
72 … if (m_containerItems[i]->m_rect.right()<m_containerItems[i]->m_item->geometry().right()){ in arrangeSubItems()
75 … (m_containerItems[j]->m_rect.x()-m_containerItems[i]->m_rect.right())); in arrangeSubItems()

12345678910>>...32