Home
last modified time | relevance | path

Searched refs:selectionRect (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Design/Glyphs/
H A DSelectionGlyph.cs44 Rectangle selectionRect = GetBounds(designer, false); in GetGrabHandles()
45 selectionRect.Inflate(selectionSize.Width, selectionSize.Height); in GetGrabHandles()
55 grabHandles[0] = new Rectangle(selectionRect.Location, grabHandleSize); in GetGrabHandles()
56 …dles[1] = new Rectangle(new Point(selectionRect.Left + (selectionRect.Width - grabHandleSize.Width… in GetGrabHandles()
57 …grabHandles[2] = new Rectangle(selectionRect.Right - grabHandleSize.Width, selectionRect.Top, grab… in GetGrabHandles()
58 …Handles[3] = new Rectangle(new Point(selectionRect.Right - grabHandleSize.Width, selectionRect.Top… in GetGrabHandles()
59 …grabHandles[4] = new Rectangle(selectionRect.Right - grabHandleSize.Width, selectionRect.Bottom - … in GetGrabHandles()
60 …dles[5] = new Rectangle(new Point(selectionRect.Left + (selectionRect.Width - grabHandleSize.Width… in GetGrabHandles()
61 …grabHandles[6] = new Rectangle(selectionRect.Left, selectionRect.Bottom - grabHandleSize.Height, g… in GetGrabHandles()
62 …grabHandles[7] = new Rectangle(new Point(selectionRect.Left, selectionRect.Top + (selectionRect.He… in GetGrabHandles()
[all …]
/dports/databases/pgadmin3/pgadmin3-1.22.2/pgadmin/hotdraw/tools/
H A DhdSelectAreaTool.cpp45 selectionRect.x = x; in mouseDown()
46 selectionRect.y = y; in mouseDown()
47 selectionRect.width = 0; in mouseDown()
48 selectionRect.height = 0; in mouseDown()
60 if( selectionRect.width < 0 ) in mouseUp()
63 tmp = selectionRect.width; in mouseUp()
64 selectionRect.x += tmp; in mouseUp()
71 tmp = selectionRect.height; in mouseUp()
72 selectionRect.y += tmp; in mouseUp()
89 selectionRect.x = anchorX; in mouseDrag()
[all …]
/dports/graphics/pikopixel/PikoPixel.Sources.1.0-b10/PikoPixel/
H A DPPRectSelectTool.m64 NSRect selectionRect;
76 withSelectionRect: selectionRect
88 NSRect selectionRect;
112 NSRect selectionRect;
122 selectionRect = [ppDocument gridGuidelineBoundsCoveredByRect: selectionRect];
136 if (!NSIsEmptyRect(selectionRect))
158 NSRect selectionRect;
194 toolPathRect = selectionRect;
198 selectionRect = [ppDocument gridGuidelineBoundsCoveredByRect: selectionRect];
242 if (!NSIsEmptyRect(selectionRect)) // selectionRect covers single point
[all …]
/dports/audio/clementine-player/Clementine-1.4.0rc1/src/widgets/
H A Dfancytabwidget.cpp132 QRect selectionRect = tabrect; in paintEvent() local
137 QLinearGradient grad(selectionRect.topLeft(), selectionRect.topRight()); in paintEvent()
145 …p.drawLine(selectionRect.topLeft() + QPoint(1, -1), selectionRect.topRight() - QPoint(0, 1)); in paintEvent()
146 p.drawLine(selectionRect.bottomLeft(), selectionRect.bottomRight()); in paintEvent()
148 p.drawLine(selectionRect.topLeft(), selectionRect.bottomLeft()); in paintEvent()
152 …p.drawLine(selectionRect.topLeft() + QPoint(0, -2), selectionRect.topRight() - QPoint(0, 2)); in paintEvent()
153 …p.drawLine(selectionRect.bottomLeft() + QPoint(0, 1), selectionRect.bottomRight() + QPoint(0, 1)); in paintEvent()
155 p.drawLine(selectionRect.topLeft() + QPoint(0, 0), selectionRect.topRight()); in paintEvent()
165 QLinearGradient grad(selectionRect.topLeft(), selectionRect.topRight()); in paintEvent()
171 p.drawLine(selectionRect.topLeft(), selectionRect.topRight()); in paintEvent()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.DataVisualization/Common/Annotation/
H A DGroupAnnotation.cs927 if(selectionRect.Width < 0) in Paint()
929 selectionRect.X = selectionRect.Right; in Paint()
930 selectionRect.Width = -selectionRect.Width; in Paint()
932 if(selectionRect.Height < 0) in Paint()
934 selectionRect.Y = selectionRect.Bottom; in Paint()
935 selectionRect.Height = -selectionRect.Height; in Paint()
939 if( selectionRect.IsEmpty || in Paint()
940 float.IsNaN(selectionRect.X) || in Paint()
941 float.IsNaN(selectionRect.Y) || in Paint()
943 float.IsNaN(selectionRect.Bottom) ) in Paint()
[all …]
H A DLineAnnotation.cs515 …rnal void AdjustLineCoordinates(ref PointF point1, ref PointF point2, ref RectangleF selectionRect) in AdjustLineCoordinates() argument
572 …RectangleF selectionRect = new RectangleF(firstPoint, new SizeF(secondPoint.X - firstPoint.X, seco… in Paint()
575 AdjustLineCoordinates(ref firstPoint, ref secondPoint, ref selectionRect); in Paint()
727 PaintSelectionHandles(graphics, selectionRect, null); in Paint()
796 …rnal void AdjustLineCoordinates(ref PointF point1, ref PointF point2, ref RectangleF selectionRect) in AdjustLineCoordinates() argument
800 selectionRect.Width = 0f; in AdjustLineCoordinates()
803 base.AdjustLineCoordinates(ref point1, ref point2, ref selectionRect); in AdjustLineCoordinates()
885 …rnal void AdjustLineCoordinates(ref PointF point1, ref PointF point2, ref RectangleF selectionRect) in AdjustLineCoordinates() argument
889 selectionRect.Height = 0f; in AdjustLineCoordinates()
892 base.AdjustLineCoordinates(ref point1, ref point2, ref selectionRect); in AdjustLineCoordinates()
/dports/biology/ugene/ugene-40.1/src/corelibs/U2View/src/ov_msa/view_rendering/
H A DMaEditorSequenceArea.cpp316 …Q_ASSERT(isInRange(QPoint(selectionRect.x() + selectionRect.width() - 1, selectionRect.y() + selec… in deleteCurrentSelection()
337 maObj->removeRegion(selectedMaRows, selectionRect.x(), selectionRect.width(), true); in deleteCurrentSelection()
465 int x = selectionRect.x(); in findCommonGapColumns()
466 int wight = selectionRect.width(); in findCommonGapColumns()
1064 … bool isMoveRightSide = cursorPosition.x() == selectionRect.x() && selectionRect.width() > 1; in keyPressEvent()
1078 … bool isMoveLeftSide = cursorPosition.x() == selectionRect.right() && selectionRect.width() > 1; in keyPressEvent()
1080 … setSelectionRect(QRect(selectionRect.topLeft() + QPoint(1, 0), selectionRect.bottomRight())); in keyPressEvent()
1092 … bool isMoveBottomSide = cursorPosition.y() == selectionRect.y() && selectionRect.height() > 1; in keyPressEvent()
1106 … bool isMoveTopSide = cursorPosition.y() == selectionRect.bottom() && selectionRect.height() > 1; in keyPressEvent()
1196 if (selectionRect.width() == ma->getLength() && selectionRect.height() == ma->getNumRows()) { in insertGapsBeforeSelection()
[all …]
/dports/audio/strawberry/strawberry-1.0.0/src/widgets/
H A Dfancytabwidget.cpp237 QRect selectionRect = tabrect; in paintEvent() local
241 QLinearGradient grad(selectionRect.topLeft(), selectionRect.topRight()); in paintEvent()
249 …p.drawLine(selectionRect.topLeft() + QPoint(1, -1), selectionRect.topRight() - QPoint(0, 1)); in paintEvent()
250 p.drawLine(selectionRect.bottomLeft(), selectionRect.bottomRight()); in paintEvent()
252 p.drawLine(selectionRect.topLeft(), selectionRect.bottomLeft()); in paintEvent()
256 …p.drawLine(selectionRect.topLeft() + QPoint(0, -2), selectionRect.topRight() - QPoint(0, 2)); in paintEvent()
257 …p.drawLine(selectionRect.bottomLeft() + QPoint(0, 1), selectionRect.bottomRight() + QPoint(0, 1)); in paintEvent()
259 p.drawLine(selectionRect.topLeft() + QPoint(0, 0), selectionRect.topRight()); in paintEvent()
268 QLinearGradient grad(selectionRect.topLeft(), selectionRect.topRight()); in paintEvent()
274 p.drawLine(selectionRect.topLeft(), selectionRect.topRight()); in paintEvent()
[all …]
/dports/biology/ugene/ugene-40.1/src/corelibs/U2View/src/ov_msa/
H A DMcaEditorSequenceArea.cpp194 QRect selectionRect = editor->getSelection().toRect(); in moveSelection() local
195 CHECK(selectionRect.width() == 1 && selectionRect.height() == 1, ); in moveSelection()
198 if (dy == 0 && mca->isTrailingOrLeadingGap(selectionRect.y(), selectionRect.x() + dx)) { in moveSelection()
202 int nextRowToSelect = selectionRect.y() + dy; in moveSelection()
214 …QRect newSelectionRect(selectionRect.x() + dx, nextRowToSelect, selectionRect.width(), selectionRe… in moveSelection()
326 QRect selectionRect = selection.toRect(); in sl_updateActions() local
332 bool isSingleSymbolSelected = selectionRect.width() == 1 && selectionRect.height() == 1; in sl_updateActions()
334 … maObj->getMultipleAlignment()->isGap(selectionRect.y(), selectionRect.x() - 1); in sl_updateActions()
430 QRect selectionRect = selection.toRect(); in insertChar() local
432 maObj->insertCharacter(selectionRect.y(), selectionRect.x(), newCharacter); in insertChar()
[all …]
/dports/databases/pgadmin3/pgadmin3-1.22.2/pgadmin/hotdraw/main/
H A DhdDrawingView.cpp156 void hdDrawingView::setSelRect(hdRect &selectionRect) in setSelRect() argument
159 selPoints[0].x = selectionRect.x; in setSelRect()
160 selPoints[0].y = selectionRect.y; in setSelRect()
161 selPoints[1].x = selectionRect.x + selectionRect.width; in setSelRect()
162 selPoints[1].y = selectionRect.y; in setSelRect()
163 selPoints[2].x = selectionRect.x + selectionRect.width; in setSelRect()
164 selPoints[2].y = selectionRect.y + selectionRect.height; in setSelRect()
165 selPoints[3].x = selectionRect.x; in setSelRect()
166 selPoints[3].y = selectionRect.y + selectionRect.height; in setSelRect()
167 selPoints[4].x = selectionRect.x; in setSelRect()
[all …]
/dports/graphics/krita/krita-4.4.8/libs/image/layerstyles/
H A Dgimp_bump_map.cpp75 const QRect &selectionRect, in bumpmap() argument
84 const QRect dataRect = kisGrowRect(selectionRect, 1); in bumpmap()
87 const int selectionRowSize = selectionRect.width() * sizeof(quint8); in bumpmap()
102 for (int row = selectionRect.top(); in bumpmap()
103 row < selectionRect.top() + selectionRect.height(); row++) { in bumpmap()
105 bumpmap_row (bmvals, dstRow.data(), selectionRect.width(), in bumpmap()
109 device->writeBytes(dstRow.data(), selectionRect.left(), row, selectionRect.width(), 1); in bumpmap()
/dports/graphics/nomacs/nomacs-3.16.224/ImageLounge/plugins/FakeMiniaturesPlugin/src/
H A DDkFakeMiniaturesDialog.cpp446 selectionRect.setTopLeft(pos); in mousePressEvent()
464 if (selectionRect.top() > selectionRect.bottom()) { in mouseReleaseEvent()
465 int top = selectionRect.top(); in mouseReleaseEvent()
466 selectionRect.setTop(selectionRect.bottom()); in mouseReleaseEvent()
467 selectionRect.setBottom(top); in mouseReleaseEvent()
469 if (selectionRect.left() > selectionRect.right()) { in mouseReleaseEvent()
470 int left = selectionRect.left(); in mouseReleaseEvent()
471 selectionRect.setLeft(selectionRect.right()); in mouseReleaseEvent()
472 selectionRect.setRight(left); in mouseReleaseEvent()
498 painter.drawRect(selectionRect); in paintEvent()
[all …]
/dports/editors/e93/e93/xgui/
H A Dviews.c469 selectionRect; in AddSelectionLineToRegion() local
478 selectionRect.y=yWindowOffset; in AddSelectionLineToRegion()
520 selectionRect.width-=(xWindowOffset-selectionRect.x); in AddSelectionLineToRegion()
523 if(selectionRect.x+selectionRect.width>xWindowEndOffset) in AddSelectionLineToRegion()
525 selectionRect.width=xWindowEndOffset-selectionRect.x; in AddSelectionLineToRegion()
557 selectionRect.width-=(xWindowOffset-selectionRect.x); in AddSelectionLineToRegion()
560 if(selectionRect.x+selectionRect.width>xWindowEndOffset) in AddSelectionLineToRegion()
562 selectionRect.width=xWindowEndOffset-selectionRect.x; in AddSelectionLineToRegion()
583 selectionRect.width-=(xWindowOffset-selectionRect.x); in AddSelectionLineToRegion()
586 if(selectionRect.x+selectionRect.width>xWindowEndOffset) in AddSelectionLineToRegion()
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/view/
H A DPaletteView.java49 private static Rectangle2D.Double selectionRect; field in PaletteView
92 selectionRect = rect; in setSelectionRectangle()
201 if (selectionRect == null) { in paintComponent()
210 g2d.fill(selectionRect); in paintComponent()
213 g2d.draw(selectionRect); in paintComponent()
/dports/sysutils/calamares/calamares-3.2.44.2/src/modules/partition/gui/
H A DPartitionBarsView.cpp171 QRect selectionRect = rect; in drawSection() local
172 selectionRect.setX( x + 1 ); in drawSection()
173 selectionRect.setWidth( width - 3 ); //account for the previous rect.adjust in drawSection()
175 if ( rect.x() > selectionRect.x() ) //hack for first item in drawSection()
177 selectionRect.adjust( rect.x() - selectionRect.x(), 0, 0, 0 ); in drawSection()
180 if ( rect.right() < selectionRect.right() ) //hack for last item in drawSection()
182 selectionRect.adjust( 0, 0, -( selectionRect.right() - rect.right() ), 0 ); in drawSection()
185selectionRect.adjust( SELECTION_MARGIN, SELECTION_MARGIN, -SELECTION_MARGIN, -SELECTION_MARGIN ); in drawSection()
187 painter->drawRoundedRect( selectionRect, radius - 1, radius - 1 ); in drawSection()
/dports/www/wt/wt-4.6.1/src/Wt/Chart/
H A DWAxisSliderWidget.C331 WRectF selectionRect; in paintEvent() local
336 selectionRect = WRectF(0, top, maxW, h - (top + bottom)); in paintEvent()
342 WRectF rect = selectionTransform.map(hv(selectionRect)); in paintEvent()
435 (WTransform().translate(transform_.value().map(selectionRect.topLeft())))); in paintEvent()
442 (WTransform().translate(transform_.value().map(selectionRect.topRight())))); in paintEvent()
448 clipPath.addRect(hv(selectionRect)); in paintEvent()
456 leftClipPath.addRect(hv(WTransform(1,0,0,1,-selectionRect.width(),0).map(selectionRect))); in paintEvent()
459 (WTransform().translate(transform_.value().map(selectionRect.topLeft()))) in paintEvent()
466 rightClipPath.addRect(hv(WTransform(1,0,0,1,selectionRect.width(),0).map(selectionRect))); in paintEvent()
468 WTransform(1,0,0,1,left - selectionRect.right(),-top) * in paintEvent()
[all …]
/dports/math/rocs/rocs-21.12.3/libgraphtheory/qml/
H A DScene.qml126 selectionRect.from = Qt.point(0, 0)
127 selectionRect.to = Qt.point(0, 0)
137 selectionRect.from = Qt.point(0, 0)
138 selectionRect.to = Qt.point(width,height)
175 id: selectionRect
225 target: selectionRect
237 if (selectionRect.contains(x, y)) {
425 selectionRect.visible = true
426 selectionRect.to = sceneAction.lastMousePosition
435 selectionRect.from = sceneAction.lastMousePressed
[all …]
/dports/graphics/krita/krita-4.4.8/libs/image/tests/
H A Dkis_crop_processing_visitor_test.cpp71 QRect selectionRect(40,40,100,100); in testCropTransparencyMask() local
73 mask->testingInitSelection(selectionRect, 0); in testCropTransparencyMask()
76 QCOMPARE(pixelSelection->selectedExactRect(), selectionRect); in testCropTransparencyMask()
87 QCOMPARE(pixelSelection->selectedExactRect(), selectionRect); in testCropTransparencyMask()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/SemaObjC/
H A Dno-gc-weak-test.m17 …ted-error {{existing instance variable '_selectionRect' for property 'selectionRect' with assign a…
20 @property(assign) id selectionRect; // expected-note {{property declared here}} property
26 @synthesize selectionRect = _selectionRect; // expected-note {{property synthesized here}}
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/SemaObjC/
H A Dno-gc-weak-test.m17 …ted-error {{existing instance variable '_selectionRect' for property 'selectionRect' with assign a…
20 @property(assign) id selectionRect; // expected-note {{property declared here}} property
26 @synthesize selectionRect = _selectionRect; // expected-note {{property synthesized here}}
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/SemaObjC/
H A Dno-gc-weak-test.m17 …ted-error {{existing instance variable '_selectionRect' for property 'selectionRect' with assign a…
20 @property(assign) id selectionRect; // expected-note {{property declared here}} property
26 @synthesize selectionRect = _selectionRect; // expected-note {{property synthesized here}}
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/SemaObjC/
H A Dno-gc-weak-test.m17 …ted-error {{existing instance variable '_selectionRect' for property 'selectionRect' with assign a…
20 @property(assign) id selectionRect; // expected-note {{property declared here}} property
26 @synthesize selectionRect = _selectionRect; // expected-note {{property synthesized here}}
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/SemaObjC/
H A Dno-gc-weak-test.m17 …ted-error {{existing instance variable '_selectionRect' for property 'selectionRect' with assign a…
20 @property(assign) id selectionRect; // expected-note {{property declared here}} property
26 @synthesize selectionRect = _selectionRect; // expected-note {{property synthesized here}}
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/SemaObjC/
H A Dno-gc-weak-test.m17 …ted-error {{existing instance variable '_selectionRect' for property 'selectionRect' with assign a…
20 @property(assign) id selectionRect; // expected-note {{property declared here}} property
26 @synthesize selectionRect = _selectionRect; // expected-note {{property synthesized here}}
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/SemaObjC/
H A Dno-gc-weak-test.m17 …ted-error {{existing instance variable '_selectionRect' for property 'selectionRect' with assign a…
20 @property(assign) id selectionRect; // expected-note {{property declared here}} property
26 @synthesize selectionRect = _selectionRect; // expected-note {{property synthesized here}}

12345678910>>...13