Home
last modified time | relevance | path

Searched refs:m_rect (Results 26 – 50 of 776) sorted by relevance

12345678910>>...32

/dports/audio/rosegarden/rosegarden-21.06.1/src/gui/editors/segment/compositionview/
H A DChangingSegment.cpp35 m_rect(rect), in ChangingSegment()
41 QRect res = m_rect.rect; in rect()
44 if (m_rect.isRepeating()) { in rect()
45 res.setWidth(m_rect.baseWidth); in rect()
72 m_rect.rect.setX(x); in setStartTime()
73 if (m_rect.isRepeating()) { in setStartTime()
75 int curW = m_rect.baseWidth; in setStartTime()
85 return grid.snapX(m_rect.rect.x()); in getStartTime()
95 m_rect.rect.setWidth(r.width()); in setEndTime()
97 if (m_rect.isRepeating()) { in setEndTime()
[all …]
H A DChangingSegment.h58 void setX(int x) { m_rect.rect.setX(x); } in ExecMaterial()
59 void setY(int y) { m_rect.rect.setY(y); } in ExecMaterial()
60 void moveTo(int x, int y) { m_rect.rect.moveTo(x, y); } in ExecMaterial()
61 void setWidth(int w) { m_rect.rect.setWidth(w); } in ExecMaterial()
68 int x() const { return m_rect.rect.x(); } in ExecMaterial()
69 int y() const { return m_rect.rect.y(); } in ExecMaterial()
71 bool isRepeating() const { return m_rect.isRepeating(); } in ExecMaterial()
72 SegmentRect& getCompRect() { return m_rect; } in ExecMaterial()
99 SegmentRect m_rect; in ExecMaterial()
/dports/editors/libreoffice/libreoffice-7.2.6.2/embedserv/source/embed/
H A Dtracker.cxx371 int nWidth = m_rect.right - m_rect.left; in TrackHandle()
372 int nHeight = m_rect.bottom - m_rect.top; in TrackHandle()
431 m_rect.right = m_rect.left + nWidth; in TrackHandle()
514 int nNewWidth = m_rect.right - m_rect.left; in AdjustRect()
526 int nNewHeight = m_rect.bottom - m_rect.top; in AdjustRect()
728 if (abs(m_rect.right - m_rect.left) - size > 4) in GetHandleMask()
730 if (abs(m_rect.bottom - m_rect.top) - size > 4) in GetHandleMask()
755 if (m_rect.right - m_rect.left < 0) in NormalizeHit()
760 if (m_rect.bottom - m_rect.top < 0) in NormalizeHit()
825 *px = m_rect.left + (m_rect.left-m_rect.right) / 2; in GetModifyPointers()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/embedserv/source/embed/
H A Dtracker.cxx357 int nWidth = m_rect.right - m_rect.left; in TrackHandle()
358 int nHeight = m_rect.bottom - m_rect.top; in TrackHandle()
414 m_rect.right = m_rect.left + nWidth; in TrackHandle()
497 int nNewWidth = m_rect.right - m_rect.left; in AdjustRect()
509 int nNewHeight = m_rect.bottom - m_rect.top; in AdjustRect()
711 if (abs(m_rect.right - m_rect.left) - size > 4) in GetHandleMask()
713 if (abs(m_rect.bottom - m_rect.top) - size > 4) in GetHandleMask()
738 if (m_rect.right - m_rect.left < 0) in NormalizeHit()
743 if (m_rect.bottom - m_rect.top < 0) in NormalizeHit()
808 *px = m_rect.left + (m_rect.left-m_rect.right) / 2; in GetModifyPointers()
[all …]
/dports/x11/polybar/polybar-3.5.7/src/components/
H A Drenderer.cpp210 m_rect = rect; in begin()
350 *m_context << cairo::rect{m_rect.x + x, m_rect.y + y, w, h}; in flush()
382 *m_context << cairo::translate{(double) m_rect.x, (double) m_rect.y}; in flush()
404 …"renderer: copy pixmap (shaded=1, geom=%dx%d+%d+%d)", m_rect.width, m_rect.height, m_rect.x, m_rec… in flush()
407 auto y1 = m_rect.height - m_bar.shade_size.h - m_rect.y - geom->height; in flush()
408 auto x2 = m_rect.x; in flush()
551 m_rect.y += w;
558 m_rect.x += w;
565 m_rect.x += w;
566 m_rect.y += w;
[all …]
/dports/games/gtkradiant/GPL/GtkRadiant/plugins/textool/
H A D2DView.cpp45 g_QglTable.m_pfn_qglViewport( 0, 0, m_rect.right, m_rect.bottom ); in PreparePaint()
53 c[0] = ((float)(x))/((float)(m_rect.right-m_rect.left))*(m_Maxs[0]-m_Mins[0])+m_Mins[0]; in SpaceForWindow()
54 c[1] = ((float)(y))/((float)(m_rect.bottom-m_rect.top))*(m_Maxs[1]-m_Mins[1])+m_Mins[1]; in SpaceForWindow()
72 …x = m_rect.left + (int)( ((float)(m_rect.right-m_rect.left))*(c[0]-m_Mins[0])/(m_Maxs[0]-m_Mins[0]… in WindowForSpace()
73 …y = m_rect.top + (int)( ((float)(m_rect.bottom-m_rect.top))*(c[1]-m_Mins[1])/(m_Maxs[1]-m_Mins[1])… in WindowForSpace()
167 …xPos - m_xPosMove )) * ( m_MaxsMove[0] - m_MinsMove[0] ) / ((float)( m_rect.left - m_rect.right )); in OnMouseMove()
168 …yPos - m_yPosMove )) * ( m_MaxsMove[1] - m_MinsMove[1] ) / ((float)( m_rect.top - m_rect.bottom )); in OnMouseMove()
/dports/games/netradiant/netradiant-20150621-src/plugins/textool/
H A D2DView.cpp42 g_QglTable.m_pfn_qglViewport( 0, 0, m_rect.right, m_rect.bottom ); in PreparePaint()
49 …c[0] = ( (float)( x ) ) / ( (float)( m_rect.right - m_rect.left ) ) * ( m_Maxs[0] - m_Mins[0] ) + … in SpaceForWindow()
50 …c[1] = ( (float)( y ) ) / ( (float)( m_rect.bottom - m_rect.top ) ) * ( m_Maxs[1] - m_Mins[1] ) + … in SpaceForWindow()
67 …x = m_rect.left + (int)( ( (float)( m_rect.right - m_rect.left ) ) * ( c[0] - m_Mins[0] ) / ( m_Ma… in WindowForSpace()
68 …y = m_rect.top + (int)( ( (float)( m_rect.bottom - m_rect.top ) ) * ( c[1] - m_Mins[1] ) / ( m_Max… in WindowForSpace()
153 …s - m_xPosMove ) ) * ( m_MaxsMove[0] - m_MinsMove[0] ) / ( (float)( m_rect.left - m_rect.right ) ); in OnMouseMove()
154 …s - m_yPosMove ) ) * ( m_MaxsMove[1] - m_MinsMove[1] ) / ( (float)( m_rect.top - m_rect.bottom ) ); in OnMouseMove()
/dports/graphics/krita/krita-4.4.8/plugins/tools/tool_crop/
H A Dkis_constrained_rect.cpp42 m_rect = rect; in setRectInitial()
44 storeRatioSafe(m_rect.size()); in setRectInitial()
69 return m_rect.normalized(); in rect()
221 m_rect &= m_cropRect; in moveHandle()
247 snapPoint.ry() = m_rect.y(); in handleSnapPoint()
256 snapPoint.rx() = m_rect.x(); in handleSnapPoint()
274 QRect newRect = m_rect; in setOffset()
282 m_rect = newRect; in setOffset()
360 m_rect.setSize(newSize); in assignNewSize()
364 m_rect.setSize(newSize); in assignNewSize()
[all …]
/dports/astro/opencpn/OpenCPN-5.2.4/src/
H A Dcompass.cpp103 …coords[0] = m_rect.x; coords[1] = m_rect.y; coords[2] = m_rect.x + m_rect.width; coords[3] = m_rec… in Paint()
104 …coords[4] = m_rect.x + m_rect.width; coords[5] = m_rect.y + m_rect.height; coords[6] = m_rect.x; c… in Paint()
113 glTexCoord2f( 0, 0 ); glVertex2i( m_rect.x, m_rect.y ); in Paint()
114 …lTexCoord2f( (float)m_image_width / m_tex_w, 0 ); glVertex2i( m_rect.x + m_rect.width, m_rect.y ); in Paint()
115 …tex_w, (float)m_image_height / m_tex_h ); glVertex2i( m_rect.x + m_rect.width, m_rect.y + m_rect.… in Paint()
116 …TexCoord2f( 0, (float)m_image_height / m_tex_h ); glVertex2i( m_rect.x, m_rect.y + m_rect.height … in Paint()
125 dc.DrawBitmap( m_StatBmp, m_rect.x, m_rect.y, true ); in Paint()
129 dc.DrawBitmap( m_StatBmp, m_rect.x, m_rect.y, true ); in Paint()
137 if(!m_shown || !m_rect.Contains(event.GetPosition())) in MouseEvent()
305 m_rect.width = m_StatBmp.GetWidth(); in CreateBmp()
[all …]
/dports/cad/qelectrotech/qet-0.7.0/sources/editor/graphicspart/
H A Dpartarc.cpp83 painter -> drawArc(m_rect, m_start_angle, m_span_angle); in paint()
89 drawCross(m_rect.center(), painter); in paint()
119 m_rect = QRectF(mapFromScene(qde.attribute("x", "0").toDouble(), in fromXml()
135 shape.arcMoveTo(m_rect, m_start_angle/16); in shape()
136 shape.arcTo(m_rect, m_start_angle /16, m_span_angle /16); in shape()
148 shape.arcMoveTo(m_rect, m_start_angle/16); in shadowShape()
149 shape.arcTo(m_rect, m_start_angle /16, m_span_angle /16); in shadowShape()
376 …QLineF line2(m_rect.center(), QetGraphicsHandlerUtility::pointsForArc(m_rect, m_start_angle/16, m_… in handlerMouseMoveEvent()
413 if (!m_rect.isValid()) in handlerMouseReleaseEvent()
414 m_rect = m_rect.normalized(); in handlerMouseReleaseEvent()
[all …]
H A Dpartrectangle.cpp65 painter->drawRoundedRect(m_rect, m_xRadius, m_yRadius); in paint()
71 drawCross(m_rect.center(), painter); in paint()
89 QRectF rect = m_rect.normalized(); in toXml()
130 return m_rect; in rect()
140 if (rect == m_rect) return; in setRect()
142 m_rect = rect; in setRect()
189 shape.addRoundedRect(m_rect, m_xRadius, m_yRadius); in shape()
201 shape.addRoundedRect(m_rect, m_xRadius, m_yRadius); in shadowShape()
220 QRectF r = m_rect.normalized(); in boundingRect()
429 m_old_rect = m_rect; in handlerMousePressEvent()
[all …]
/dports/games/devilutionX/devilutionX-1.2.1/SourceX/DiabloUI/
H A Dscrollbar.h27 Tmp.x = sb->m_rect.x; in UpArrowRect()
28 Tmp.y = sb->m_rect.y; in UpArrowRect()
38 Tmp.x = sb->m_rect.x; in DownArrowRect()
39 Tmp.y = static_cast<Sint16>(sb->m_rect.y + sb->m_rect.h - sb->m_arrow->h()); in DownArrowRect()
48 return sb->m_rect.h - 2 * sb->m_arrow->h(); in BarHeight()
54 Tmp.x = sb->m_rect.x; in BarRect()
55 Tmp.y = static_cast<Sint16>(sb->m_rect.y + sb->m_arrow->h()); in BarRect()
69 Tmp.x = static_cast<Sint16>(sb->m_rect.x + THUMB_OFFSET_X); in ThumbRect()
70 Tmp.y = static_cast<Sint16>(sb->m_rect.y + sb->m_arrow->h() + thumb_y); in ThumbRect()
71 Tmp.w = static_cast<Uint16>(sb->m_rect.w - THUMB_OFFSET_X); in ThumbRect()
/dports/games/kolf/kolf-21.12.3/
H A Dshape.cpp135 : m_rect(rect) in EllipseShape()
142 return m_rect; in rect()
147 if (m_rect != rect) in setRect()
149 m_rect = rect; in setRect()
191 interactionOutline.addEllipse(m_rect); in createOutlines()
200 : m_rect(rect) in RectShape()
207 return m_rect; in rect()
212 if (m_rect != rect) in setRect()
214 m_rect = rect; in setRect()
223 m_rect.width() * Kolf::Box2DScaleFactor / 2, in createShape()
[all …]
/dports/www/kf5-khtml/khtml-5.89.0/src/ecma/
H A Dkjs_clientrect.cpp43 m_rect(left, top, width, height) in ClientRect()
49 m_rect(rect) in ClientRect()
79 return static_cast<float>(m_rect.bottom()); in bottom()
89 return static_cast<float>(m_rect.left()); in left()
94 return static_cast<float>(m_rect.right()); in right()
99 return static_cast<float>(m_rect.top()); in top()
104 return static_cast<float>(m_rect.width()); in width()
109 m_rect.setHeight(height); in setHeight()
114 m_rect.setLeft(left); in setLeft()
119 m_rect.setTop(top); in setTop()
[all …]
/dports/x11-toolkits/qt5-declarative-test/kde-qtdeclarative-5.15.2p41/src/plugins/scenegraph/openvg/
H A Dqsgopenvgpublicnodes.cpp66 m_rect = rect; in setRect()
73 return m_rect; in rect()
126 coordinates[0] = m_rect.x(); in render()
127 coordinates[1] = m_rect.y(); in render()
128 coordinates[2] = m_rect.width(); in render()
129 coordinates[3] = m_rect.height(); in render()
130 coordinates[4] = -m_rect.width(); in render()
193 m_rect = rect; in setRect()
199 return m_rect; in rect()
297 translateX = m_rect.width(); in render()
[all …]
/dports/x11-toolkits/qt5-declarative/kde-qtdeclarative-5.15.2p41/src/plugins/scenegraph/openvg/
H A Dqsgopenvgpublicnodes.cpp66 m_rect = rect; in setRect()
73 return m_rect; in rect()
126 coordinates[0] = m_rect.x(); in render()
127 coordinates[1] = m_rect.y(); in render()
128 coordinates[2] = m_rect.width(); in render()
129 coordinates[3] = m_rect.height(); in render()
130 coordinates[4] = -m_rect.width(); in render()
193 m_rect = rect; in setRect()
199 return m_rect; in rect()
297 translateX = m_rect.width(); in render()
[all …]
/dports/graphics/kf5-kquickcharts/kquickcharts-5.89.0/src/scenegraph/
H A DLineChartNode.cpp37 if (rect == m_rect) { in setRect()
41 m_rect = rect; in setRect()
42 m_aspect = m_rect.height() / m_rect.width(); in setRect()
44 auto nativeSize = QSizeF(m_rect.width() * devicePixelRatio, m_rect.height() * devicePixelRatio); in setRect()
89 auto currentX = m_rect.left(); in updatePoints()
104 auto rect = QRectF(currentX, m_rect.top(), segmentWidth, m_rect.height()); in updatePoints()
107 segment->setAspect(segmentWidth / m_rect.width(), m_aspect); in updatePoints()
109 segment->setLineWidth(calculateNormalizedLineWidth(m_lineWidth, m_rect)); in updatePoints()
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/editor/
H A Dbutton_widget.cpp25 m_rect(pos, Sizef(static_cast<float>(m_sprite->get_width()), in ButtonWidget()
36 context.color().draw_filled_rect(m_rect, Color(0.0f, 0.0f, 0.0f, 0.6f), 4.0f, in draw()
40 m_sprite->draw(context.color(), m_rect.p1(), LAYER_GUI-5); in draw()
44 context.color().draw_filled_rect(m_rect, Color(0.9f, 0.9f, 1.0f, 0.9f), 4.0f, in draw()
47 context.color().draw_filled_rect(m_rect, Color(0.9f, 0.9f, 1.0f, 0.6f), 4.0f, in draw()
75 if (m_rect.contains(mouse_pos)) { in on_mouse_button_up()
95 if (m_rect.contains(mouse_pos)) { in on_mouse_button_down()
111 m_hover = m_rect.contains(mouse_pos); in on_mouse_motion()
113 } else if (m_rect.contains(mouse_pos)) { in on_mouse_motion()
/dports/editors/calligra/calligra-3.2.1/libs/main/tests/
H A DTool.cpp29 m_rect.setBottomRight(e->pos()); in mouseMoveEvent()
37 m_rect.setTopLeft(e->pos()); in mousePressEvent()
38 m_rect.setSize(QSize(0, 0)); in mousePressEvent()
55 m_canvas->insert(m_rect); in mouseReleaseEvent()
65 p.drawRect(m_rect.normalized()); in paint()
85 m_canvas->select(m_rect); in mouseReleaseEvent()
96 p.drawRect(m_rect.normalized()); in paint()
116 m_canvas->remove(m_rect); in mouseReleaseEvent()
127 p.drawRect(m_rect.normalized()); in paint()
/dports/graphics/krita/krita-4.4.8/plugins/tools/selectiontools/
H A DKisMagneticGraph.h137 m_rect(graphRect), m_dev(dev) in KisMagneticGraph()
161 if (pt == m_rect.topLeft() || pt == m_rect.topRight() || in outDegree()
162 pt == m_rect.bottomLeft() || pt == m_rect.bottomRight()) in outDegree()
164 if (m_rect.width() == 1 || m_rect.height() == 1) in outDegree()
171 if (pt.x == m_rect.topLeft().x() || pt.y == m_rect.topLeft().y() || in outDegree()
172 pt.x == m_rect.bottomRight().x() || pt.y == m_rect.bottomRight().y()) in outDegree()
174 if (m_rect.width() == 1 || m_rect.height() == 1) in outDegree()
182 QRect m_rect; member
214 if (!m_graph.m_rect.contains(next.x, next.y)) {
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/dom/
H A DClientRect.h44 float top() const { return m_rect.y(); } in top()
45 float right() const { return m_rect.maxX(); } in right()
46 float bottom() const { return m_rect.maxY(); } in bottom()
47 float left() const { return m_rect.x(); } in left()
48 float width() const { return m_rect.width(); } in width()
49 float height() const { return m_rect.height(); } in height()
56 FloatRect m_rect; variable
/dports/graphics/blender/blender-2.91.0/source/blender/compositor/intern/
H A DCOM_MemoryBuffer.h70 rcti m_rect; variable
152 x = x - m_rect.xmin; in wrap_pixel()
153 y = y - m_rect.ymin; in wrap_pixel()
195 x = x - m_rect.xmin; in wrap_pixel()
196 y = y - m_rect.ymin; in wrap_pixel()
237 bool clip_x = (extend_x == COM_MB_CLIP && (x < m_rect.xmin || x >= m_rect.xmax));
238 bool clip_y = (extend_y == COM_MB_CLIP && (y < m_rect.ymin || y >= m_rect.ymax));
267 BLI_assert(!(extend_x == COM_MB_CLIP && (u < m_rect.xmin || u >= m_rect.xmax)) &&
268 !(extend_y == COM_MB_CLIP && (v < m_rect.ymin || v >= m_rect.ymax)));
329 return &this->m_rect; in getRect()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebKit2/Shared/gtk/
H A DUpdateChunk.cpp46 : m_rect(rect) in UpdateChunk()
57 return cairo_format_stride_for_width(imageFormat, m_rect.width()) * m_rect.height(); in size()
62 encoder->encode(m_rect); in encode()
86 chunk.m_rect = rect; in decode()
111 int stride = cairo_format_stride_for_width(imageFormat, m_rect.width()); in createImage()
113 … imageFormat, m_rect.width(), m_rect.height(), stride); in createImage()
/dports/graphics/qgis/qgis-3.22.3/external/rtree/include/
H A DRTree.h172 branch.m_rect.m_min[axis] = a_min[axis]; in Insert()
624 … a_node->m_branch[index].m_rect = CombineRect(&a_branch.m_rect, &(a_node->m_branch[index].m_rect)); in InsertRectRec()
660 RTreeAssert(a_branch.m_rect.m_min[index] <= a_branch.m_rect.m_max[index]); in InsertRect()
675 branch.m_rect = NodeCover(*a_root); in InsertRect()
680 branch.m_rect = NodeCover(newNode); in InsertRect()
697 Rect rect = a_node->m_branch[0].m_rect; in NodeCover()
1002 …neRect = CombineRect(&a_parVars->m_branchBuf[indexA].m_rect, &a_parVars->m_branchBuf[indexB].m_rec… in PickSeeds()
1300 currentBranch.m_rect.m_min); in CopyRec()
1304 currentBranch.m_rect.m_max); in CopyRec()
1317 currentBranch.m_rect.m_min); in CopyRec()
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/external/rtree/include/
H A DRTree.h172 branch.m_rect.m_min[axis] = a_min[axis]; in Insert()
624 … a_node->m_branch[index].m_rect = CombineRect(&a_branch.m_rect, &(a_node->m_branch[index].m_rect)); in InsertRectRec()
660 RTreeAssert(a_branch.m_rect.m_min[index] <= a_branch.m_rect.m_max[index]); in InsertRect()
675 branch.m_rect = NodeCover(*a_root); in InsertRect()
680 branch.m_rect = NodeCover(newNode); in InsertRect()
697 Rect rect = a_node->m_branch[0].m_rect; in NodeCover()
1002 …neRect = CombineRect(&a_parVars->m_branchBuf[indexA].m_rect, &a_parVars->m_branchBuf[indexB].m_rec… in PickSeeds()
1300 currentBranch.m_rect.m_min); in CopyRec()
1304 currentBranch.m_rect.m_max); in CopyRec()
1317 currentBranch.m_rect.m_min); in CopyRec()
[all …]

12345678910>>...32