Home
last modified time | relevance | path

Searched refs:topLeft (Results 1 – 25 of 5103) sorted by relevance

12345678910>>...205

/dports/games/doomsday/doomsday-2.3.1/doomsday/sdk/libcore/include/de/core/
H A Drectangle.h77 topLeft.x = value; in moveLeft()
81 topLeft.y = value; in moveTop()
85 topLeft = point; in moveTopLeft()
101 topLeft = topLeft.min(point); in include()
134 return topLeft == other.topLeft && bottomRight == other.bottomRight;
140 return RectangleType(topLeft.min(other.topLeft),
144 topLeft = topLeft.min(other.topLeft);
156 return RectangleType(topLeft.max(other.topLeft),
177 return Corner(topLeft.x, (topLeft.y + bottomRight.y)/2.0); in midLeft()
183 return Corner((topLeft.x + bottomRight.x)/2.0, topLeft.y); in midTop()
[all …]
/dports/games/jvgs/jvgs-0.5.1-src/src/math/
H A DBoundingBox.cpp13 BoundingBox::BoundingBox(const Vector2D &topLeft, in BoundingBox() argument
16 this->topLeft = topLeft; in BoundingBox()
57 topLeft.setX(b1.topLeft.getX() < b2.topLeft.getX() ? in BoundingBox()
58 b1.topLeft.getX() : b2.topLeft.getX()); in BoundingBox()
62 topLeft.setY(b1.topLeft.getY() < b2.topLeft.getY() ? in BoundingBox()
63 b1.topLeft.getY() : b2.topLeft.getY()); in BoundingBox()
74 return topLeft; in getTopLeft()
84 if(point.getX() < topLeft.getX()) in hasPoint()
88 if(point.getY() < topLeft.getY()) in hasPoint()
183 return topLeft.getX() >= other->topLeft.getX() && in completelyIn()
[all …]
/dports/graphics/kolourpaint/kolourpaint-21.12.3/widgets/toolbars/options/
H A DkpToolWidgetBrush.cpp95 painter.drawLine(topLeft.x(), topLeft.y() + 1, topLeft.x(), topLeft.y() + 2); in Draw()
96 painter.drawLine(topLeft.x() + 3, topLeft.y() + 1, topLeft.x() + 3, topLeft.y() + 2); in Draw()
104 painter.drawRect(topLeft.x(), topLeft.y() + 2, 2, 4); in Draw()
107 painter.drawPoint(topLeft.x() + 1, topLeft.y() + 1); in Draw()
108 painter.drawPoint(topLeft.x() + 6, topLeft.y() + 1); in Draw()
109 painter.drawPoint(topLeft.x() + 1, topLeft.y() + 6); in Draw()
110 painter.drawPoint(topLeft.x() + 6, topLeft.y() + 6); in Draw()
125 painter.drawRect(topLeft.x(), topLeft.y(), size, size); in Draw()
132 painter.drawLine(topLeft.x() + size - 1, topLeft.y(), in Draw()
133 topLeft.x(), topLeft.y() + size - 1); in Draw()
[all …]
/dports/devel/qt5-location/kde-qtlocation-5.15.2p6/src/positioning/
H A Dqgeorectangle.cpp337 d->topLeft = topLeft; in setTopLeft()
347 return d->topLeft; in topLeft()
435 d->topLeft = center; in setCenter()
612 double left = topLeft.longitude(); in contains()
614 double top = topLeft.latitude(); in contains()
827 double top = topLeft.latitude(); in extendShape()
1002 .arg(topLeft().latitude()) in toString()
1003 .arg(topLeft().longitude()) in toString()
1018 : QGeoShapePrivate(QGeoShape::RectangleType), topLeft(topLeft), bottomRight(bottomRight) in QGeoRectanglePrivate()
1023 : QGeoShapePrivate(QGeoShape::RectangleType), topLeft(other.topLeft), in QGeoRectanglePrivate()
[all …]
/dports/audio/carla/Carla-2.4.1/source/modules/juce_graphics/geometry/
H A Djuce_Parallelogram.h58 : topLeft (rectangle.getTopLeft()), in Parallelogram()
71 …() const noexcept { return topLeft != topRight || topLeft != bot… in isEmpty()
84 Point<ValueType> getTopLeft() const noexcept { return topLeft; } in getTopLeft()
97 …ator== (const Parallelogram& other) const noexcept { return topLeft == other.topLeft && topRig…
114 topLeft += deltaPosition;
145 topLeft *= scaleFactor;
159 return topLeft in getRelativePoint()
160 + (topRight - topLeft) * relativePosition.x in getRelativePoint()
161 + (bottomLeft - topLeft) * relativePosition.y; in getRelativePoint()
168 transform.transformPoints (p.topLeft.x, p.topLeft.y, in transformedBy()
[all …]
/dports/devel/juce/JUCE-f37e9a1/modules/juce_graphics/geometry/
H A Djuce_Parallelogram.h58 : topLeft (rectangle.getTopLeft()), in Parallelogram()
71 …() const noexcept { return topLeft != topRight || topLeft != bot… in isEmpty()
84 Point<ValueType> getTopLeft() const noexcept { return topLeft; } in getTopLeft()
97 …ator== (const Parallelogram& other) const noexcept { return topLeft == other.topLeft && topRig…
114 topLeft += deltaPosition;
145 topLeft *= scaleFactor;
159 return topLeft in getRelativePoint()
160 + (topRight - topLeft) * relativePosition.x in getRelativePoint()
161 + (bottomLeft - topLeft) * relativePosition.y; in getRelativePoint()
168 transform.transformPoints (p.topLeft.x, p.topLeft.y, in transformedBy()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima1/maps/
H A Dmap_overworld.cpp89 if (topLeft.x < 0) in getViewportPosition()
90 topLeft.x += width(); in getViewportPosition()
92 topLeft.x -= width(); in getViewportPosition()
94 if (topLeft.y < 0) in getViewportPosition()
103 return topLeft; in getViewportPosition()
108 topLeft += delta; in shiftViewport()
110 if (topLeft.x < 0) in shiftViewport()
111 topLeft.x += width(); in shiftViewport()
113 topLeft.x -= width(); in shiftViewport()
114 if (topLeft.y < 0) in shiftViewport()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pagelayout_editor/tools/
H A Dpl_point_editor.cpp79 if( topLeft.y > botRight.y ) in Make()
82 if( topLeft.x > botRight.x ) in Make()
258 topLeft.x = std::min( topLeft.x, botRight.x - minWidth ); in pinEditedCorner()
259 topLeft.y = std::min( topLeft.y, botRight.y - minHeight ); in pinEditedCorner()
262 topRight.y = topLeft.y; in pinEditedCorner()
263 botLeft.x = topLeft.x; in pinEditedCorner()
273 topLeft.y = topRight.y; in pinEditedCorner()
285 topLeft.x = botLeft.x; in pinEditedCorner()
432 if( topLeft.y > botRight.y ) in updatePoints()
433 std::swap( topLeft.y, botRight.y ); in updatePoints()
[all …]
/dports/games/egl/egl-0.3.1_9/cgame/ui/
H A Dui_cursor.c152 s->generic.topLeft[0] = s->generic.x + s->generic.parent->x; in Action_Setup()
153 s->generic.topLeft[1] = s->generic.y + s->generic.parent->y; in Action_Setup()
203 s->generic.topLeft[0] -= width * 0.5; in MenuImage_Setup()
205 s->generic.topLeft[0] += LCOLUMN_OFFSET; in MenuImage_Setup()
208 s->generic.botRight[0] = s->generic.topLeft[0] + width; in MenuImage_Setup()
209 s->generic.botRight[1] = s->generic.topLeft[1] + height; in MenuImage_Setup()
232 s->generic.botRight[0] = s->generic.topLeft[0] + xsize; in Slider_Setup()
233 s->generic.botRight[1] = s->generic.topLeft[1] + ysize; in Slider_Setup()
260 s->generic.botRight[0] = s->generic.topLeft[0] + xsize; in SpinControl_Setup()
261 s->generic.botRight[1] = s->generic.topLeft[1] + ysize; in SpinControl_Setup()
[all …]
/dports/devel/kf5-ktexteditor/ktexteditor-5.89.0/src/syntax/
H A Dkatecategorydrawer.cpp36 path.lineTo(QPoint(optRect.topLeft().x(), optRect.topLeft().y() - 3)); in drawCategory()
37 const QPointF topLeft(optRect.topLeft()); in drawCategory() local
38 QRectF arc(topLeft, QSizeF(4, 4)); in drawCategory()
91 const QPointF topLeft(newOptRect.topLeft()); in drawCategory() local
111 start = newOptRect.topLeft(); in drawCategory()
131 start = newOptRect.topLeft(); in drawCategory()
164 const QPointF topLeft(optRect.topLeft()); in drawCategory() local
165 arc = QRectF(topLeft, QSizeF(4, 4)); in drawCategory()
184 start = optRect.topLeft(); in drawCategory()
204 start = optRect.topLeft(); in drawCategory()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/graphics/
H A DlarryScale_generated.cpp65 topLeft = bottomLeft = pixel; in scalePixelTo2x2()
69 topLeft = topRight = pixel; in scalePixelTo2x2()
117 topLeft = topRight = pixel; in scalePixelTo2x2()
163 topLeft = bottomLeft = pixel; in scalePixelTo2x2()
183 topLeft = topRight = pixel; in scalePixelTo2x2()
188 topLeft = topRight = pixel; in scalePixelTo2x2()
211 topLeft = topRight = pixel; in scalePixelTo2x2()
245 topLeft = pixel; in scalePixelTo2x2()
279 topLeft = topRight = pixel; in scalePixelTo2x2()
346 topLeft = topRight = pixel; in scalePixelTo2x2()
[all …]
/dports/games/scummvm/scummvm-2.5.1/graphics/
H A DlarryScale_generated.cpp53 topLeft = topRight = pixel; in scalePixelTo2x2()
61 topLeft = bottomLeft = pixel; in scalePixelTo2x2()
109 topLeft = topRight = pixel; in scalePixelTo2x2()
158 topLeft = topRight = pixel; in scalePixelTo2x2()
163 topLeft = bottomLeft = pixel; in scalePixelTo2x2()
168 topLeft = topRight = pixel; in scalePixelTo2x2()
216 topLeft = topRight = pixel; in scalePixelTo2x2()
245 topLeft = pixel; in scalePixelTo2x2()
261 topLeft = topRight = pixel; in scalePixelTo2x2()
326 topLeft = topRight = pixel; in scalePixelTo2x2()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/eeschema/tools/
H A Dee_point_editor.cpp108 points->AddPoint( topLeft ); in Make()
138 points->AddPoint( (wxPoint) topLeft ); in Make()
151 points->AddPoint( (wxPoint) topLeft ); in Make()
422 topLeft.x = std::min( topLeft.x, botRight.x - minWidth ); in pinEditedCorner()
423 topLeft.y = std::min( topLeft.y, botRight.y - minHeight ); in pinEditedCorner()
425 topLeft = aGrid->AlignGrid( topLeft ); in pinEditedCorner()
428 topRight.y = topLeft.y; in pinEditedCorner()
429 botLeft.x = topLeft.x; in pinEditedCorner()
441 topLeft.y = topRight.y; in pinEditedCorner()
455 topLeft.x = botLeft.x; in pinEditedCorner()
[all …]
/dports/graphics/digikam/digikam-7.4.0/core/utilities/imageeditor/widgets/
H A Dimageregionitem.cpp136 painter->drawPixmap(dd->drawRect.topLeft(), pix); in paint()
140 painter->drawPixmap(dd->drawRect.topLeft(), pix, pixSourceRect); in paint()
175 painter->drawPixmap(dd->drawRect.topLeft(), pix); in paint()
193 painter->drawPixmap(dd->drawRect.topLeft(), pixMask); in paint()
210 dd->view->drawText(p, QRectF(QPointF(dd->drawRect.topLeft().x() + 20, in paintExtraData()
211 dd->drawRect.topLeft().y() + 20), in paintExtraData()
247 p->drawLine(dd->drawRect.topLeft().x() + dd->drawRect.width()/2, dd->drawRect.topLeft().y(), in paintExtraData()
250 p->drawLine(dd->drawRect.topLeft().x() + dd->drawRect.width()/2, dd->drawRect.topLeft().y(), in paintExtraData()
252 dd->view->drawText(p, QRectF(QPointF(dd->drawRect.topLeft().x() + 20, in paintExtraData()
276 … p->drawLine(dd->drawRect.topLeft().x() + 1, dd->drawRect.topLeft().y() + dd->drawRect.height()/2, in paintExtraData()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/titanic/pet_control/
H A Dpet_rooms_glyphs.cpp107 void CPetRoomsGlyph::selectGlyph(const Point &topLeft, const Point &pt) { in selectGlyph() argument
112 int selection = getSelection(topLeft, pt); in selectGlyph()
121 bool CPetRoomsGlyph::dragGlyph(const Point &topLeft, CMouseDragStartMsg *msg) { in dragGlyph() argument
197 int CPetRoomsGlyph::getSelection(const Point &topLeft, const Point &pt) { in getSelection() argument
199 Rect(topLeft.x, topLeft.y, topLeft.x + 13, topLeft.y + 10), in getSelection()
200 Rect(topLeft.x + 13, topLeft.y, topLeft.x + 26, topLeft.y + 10), in getSelection()
201 Rect(topLeft.x + 26, topLeft.y, topLeft.x + 39, topLeft.y + 10), in getSelection()
202 Rect(topLeft.x + 39, topLeft.y, topLeft.x + 52, topLeft.y + 10) in getSelection()
/dports/games/scummvm/scummvm-2.5.1/engines/titanic/pet_control/
H A Dpet_rooms_glyphs.cpp107 void CPetRoomsGlyph::selectGlyph(const Point &topLeft, const Point &pt) { in selectGlyph() argument
112 int selection = getSelection(topLeft, pt); in selectGlyph()
121 bool CPetRoomsGlyph::dragGlyph(const Point &topLeft, CMouseDragStartMsg *msg) { in dragGlyph() argument
197 int CPetRoomsGlyph::getSelection(const Point &topLeft, const Point &pt) { in getSelection() argument
199 Rect(topLeft.x, topLeft.y, topLeft.x + 13, topLeft.y + 10), in getSelection()
200 Rect(topLeft.x + 13, topLeft.y, topLeft.x + 26, topLeft.y + 10), in getSelection()
201 Rect(topLeft.x + 26, topLeft.y, topLeft.x + 39, topLeft.y + 10), in getSelection()
202 Rect(topLeft.x + 39, topLeft.y, topLeft.x + 52, topLeft.y + 10) in getSelection()
/dports/converters/wkhtmltopdf/qt-5db36ec/doc/src/snippets/itemselection/
H A Dmain.cpp67 QModelIndex topLeft; in main() local
70 topLeft = model->index(0, 0, QModelIndex()); in main()
75 QItemSelection selection(topLeft, bottomRight); in main()
82 topLeft = model->index(2, 1, QModelIndex()); in main()
84 toggleSelection.select(topLeft, bottomRight); in main()
92 topLeft = model->index(0, 1, QModelIndex()); in main()
95 columnSelection.select(topLeft, bottomRight); in main()
102 topLeft = model->index(0, 0, QModelIndex()); in main()
105 rowSelection.select(topLeft, bottomRight); in main()
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/widgets/doc/snippets/itemselection/
H A Dmain.cpp77 QModelIndex topLeft; in main() local
80 topLeft = model->index(0, 0, QModelIndex()); in main()
85 QItemSelection selection(topLeft, bottomRight); in main()
92 topLeft = model->index(2, 1, QModelIndex()); in main()
94 toggleSelection.select(topLeft, bottomRight); in main()
102 topLeft = model->index(0, 1, QModelIndex()); in main()
105 columnSelection.select(topLeft, bottomRight); in main()
112 topLeft = model->index(0, 0, QModelIndex()); in main()
115 rowSelection.select(topLeft, bottomRight); in main()
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/widgets/doc/snippets/itemselection/
H A Dmain.cpp77 QModelIndex topLeft; in main() local
80 topLeft = model->index(0, 0, QModelIndex()); in main()
85 QItemSelection selection(topLeft, bottomRight); in main()
92 topLeft = model->index(2, 1, QModelIndex()); in main()
94 toggleSelection.select(topLeft, bottomRight); in main()
102 topLeft = model->index(0, 1, QModelIndex()); in main()
105 columnSelection.select(topLeft, bottomRight); in main()
112 topLeft = model->index(0, 0, QModelIndex()); in main()
115 rowSelection.select(topLeft, bottomRight); in main()
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/widgets/doc/snippets/itemselection/
H A Dmain.cpp77 QModelIndex topLeft; in main() local
80 topLeft = model->index(0, 0, QModelIndex()); in main()
85 QItemSelection selection(topLeft, bottomRight); in main()
92 topLeft = model->index(2, 1, QModelIndex()); in main()
94 toggleSelection.select(topLeft, bottomRight); in main()
102 topLeft = model->index(0, 1, QModelIndex()); in main()
105 columnSelection.select(topLeft, bottomRight); in main()
112 topLeft = model->index(0, 0, QModelIndex()); in main()
115 rowSelection.select(topLeft, bottomRight); in main()
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/widgets/doc/snippets/itemselection/
H A Dmain.cpp77 QModelIndex topLeft; in main() local
80 topLeft = model->index(0, 0, QModelIndex()); in main()
85 QItemSelection selection(topLeft, bottomRight); in main()
92 topLeft = model->index(2, 1, QModelIndex()); in main()
94 toggleSelection.select(topLeft, bottomRight); in main()
102 topLeft = model->index(0, 1, QModelIndex()); in main()
105 columnSelection.select(topLeft, bottomRight); in main()
112 topLeft = model->index(0, 0, QModelIndex()); in main()
115 rowSelection.select(topLeft, bottomRight); in main()
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/widgets/doc/snippets/itemselection/
H A Dmain.cpp77 QModelIndex topLeft; in main() local
80 topLeft = model->index(0, 0, QModelIndex()); in main()
85 QItemSelection selection(topLeft, bottomRight); in main()
92 topLeft = model->index(2, 1, QModelIndex()); in main()
94 toggleSelection.select(topLeft, bottomRight); in main()
102 topLeft = model->index(0, 1, QModelIndex()); in main()
105 columnSelection.select(topLeft, bottomRight); in main()
112 topLeft = model->index(0, 0, QModelIndex()); in main()
115 rowSelection.select(topLeft, bottomRight); in main()
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/widgets/doc/snippets/itemselection/
H A Dmain.cpp77 QModelIndex topLeft; in main() local
80 topLeft = model->index(0, 0, QModelIndex()); in main()
85 QItemSelection selection(topLeft, bottomRight); in main()
92 topLeft = model->index(2, 1, QModelIndex()); in main()
94 toggleSelection.select(topLeft, bottomRight); in main()
102 topLeft = model->index(0, 1, QModelIndex()); in main()
105 columnSelection.select(topLeft, bottomRight); in main()
112 topLeft = model->index(0, 0, QModelIndex()); in main()
115 rowSelection.select(topLeft, bottomRight); in main()
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/widgets/doc/snippets/itemselection/
H A Dmain.cpp77 QModelIndex topLeft; in main() local
80 topLeft = model->index(0, 0, QModelIndex()); in main()
85 QItemSelection selection(topLeft, bottomRight); in main()
92 topLeft = model->index(2, 1, QModelIndex()); in main()
94 toggleSelection.select(topLeft, bottomRight); in main()
102 topLeft = model->index(0, 1, QModelIndex()); in main()
105 columnSelection.select(topLeft, bottomRight); in main()
112 topLeft = model->index(0, 0, QModelIndex()); in main()
115 rowSelection.select(topLeft, bottomRight); in main()
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/widgets/doc/snippets/itemselection/
H A Dmain.cpp77 QModelIndex topLeft; in main() local
80 topLeft = model->index(0, 0, QModelIndex()); in main()
85 QItemSelection selection(topLeft, bottomRight); in main()
92 topLeft = model->index(2, 1, QModelIndex()); in main()
94 toggleSelection.select(topLeft, bottomRight); in main()
102 topLeft = model->index(0, 1, QModelIndex()); in main()
105 columnSelection.select(topLeft, bottomRight); in main()
112 topLeft = model->index(0, 0, QModelIndex()); in main()
115 rowSelection.select(topLeft, bottomRight); in main()

12345678910>>...205