Home
last modified time | relevance | path

Searched refs:areaRect (Results 1 – 25 of 45) sorted by relevance

12

/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/gs/
H A DGsCachedArea.cpp43 auto areaRect = GetAreaPageRect(); in GetDirtyPageRect() local
47 for(startY = 0; startY < areaRect.height; startY++) in GetDirtyPageRect()
50 for(startX = 0; startX < areaRect.width; startX++) in GetDirtyPageRect()
62 if((startX == areaRect.width) || (startY == areaRect.height)) in GetDirtyPageRect()
70 for(uint32 x = bx; x < areaRect.width; x++) in GetDirtyPageRect()
72 uint32 pageIndex = x + (by * areaRect.width); in GetDirtyPageRect()
82 for(uint32 y = startY + 1; y < areaRect.height; y++) in GetDirtyPageRect()
94 auto areaRect = GetAreaPageRect(); in GetPageCount() local
95 return areaRect.width * areaRect.height; in GetPageCount()
159 auto areaRect = GetAreaPageRect(); in ClearDirtyPages() local
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/tools/GsAreaTest/
H A DGsCachedAreaTest.cpp19 auto areaRect = area.GetAreaPageRect(); in CheckEmptyArea() local
20 TEST_VERIFY(areaRect.width == 0); in CheckEmptyArea()
21 TEST_VERIFY(areaRect.height == 0); in CheckEmptyArea()
40 auto areaRect = area.GetAreaPageRect(); in CheckDirtyRect() local
41 for(uint32 y = 0; y < areaRect.height; y++) in CheckDirtyRect()
43 for(uint32 x = 0; x < areaRect.width; x++) in CheckDirtyRect()
45 uint32 pageIndex = x + (y * areaRect.width); in CheckDirtyRect()
53 TEST_VERIFY(dirtyRect.width == areaRect.width); in CheckDirtyRect()
54 TEST_VERIFY(dirtyRect.height == areaRect.height); in CheckDirtyRect()
62 auto areaRect = area.GetAreaPageRect(); in CheckDirtyRect() local
[all …]
/dports/graphics/krita/krita-4.4.8/libs/ui/canvas/
H A Dkis_infinity_manager.cpp55 m_decorationPath.addRect(areaRect); in addDecoration()
56 m_sideRects[side] = areaRect; in addDecoration()
89 QRect areaRect(widgetRect.adjusted(xCut, 0, 0, 0)); in imagePositionChanged() local
91 addDecoration(areaRect, pt, 0, Right); in imagePositionChanged()
96 QRect areaRect(widgetRect.adjusted(0, yCut, 0, 0)); in imagePositionChanged() local
98 addDecoration(areaRect, pt, 90, Bottom); in imagePositionChanged()
103 QRect areaRect(widgetRect.adjusted(0, 0, -xCut, 0)); in imagePositionChanged() local
104 QPointF pt = areaRect.center() + QPointF(0.1 * stripeWidth, 0); in imagePositionChanged()
105 addDecoration(areaRect, pt, 180, Left); in imagePositionChanged()
110 QRect areaRect(widgetRect.adjusted(0, 0, 0, -yCut)); in imagePositionChanged() local
[all …]
H A Dkis_infinity_manager.h57 …inline void addDecoration(const QRect &areaRect, const QPointF &handlePoint, qreal angle, Side sid…
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/advanceddockingsystem/
H A Ddockoverlay.cpp216 QRectF areaRect; in createHighDpiDropIndicatorPixmap() local
221areaRect = QRectF(baseRect.x(), baseRect.y(), baseRect.width(), baseRect.height() * 0.5); in createHighDpiDropIndicatorPixmap()
226 areaLine = QLineF(areaRect.bottomLeft(), areaRect.bottomRight()); in createHighDpiDropIndicatorPixmap()
229 areaRect = QRectF(shadowRect.width() * 0.5, in createHighDpiDropIndicatorPixmap()
237 areaLine = QLineF(areaRect.topLeft(), areaRect.bottomLeft()); in createHighDpiDropIndicatorPixmap()
240 areaRect = QRectF(baseRect.x(), in createHighDpiDropIndicatorPixmap()
248 areaLine = QLineF(areaRect.topLeft(), areaRect.topRight()); in createHighDpiDropIndicatorPixmap()
256 areaLine = QLineF(areaRect.topRight(), areaRect.bottomRight()); in createHighDpiDropIndicatorPixmap()
264 baseRect = areaRect; in createHighDpiDropIndicatorPixmap()
268 if (areaRect.isValid()) { in createHighDpiDropIndicatorPixmap()
[all …]
/dports/graphics/krita/krita-4.4.8/plugins/dockers/animation/
H A Dkis_equalizer_slider.cpp90 const QRect areaRect = sliderRect(); in mousePosToValue() local
92 int rawValue = -pt.y() + (areaRect.top() + areaRect.height()); in mousePosToValue()
93 int maxRawValue = areaRect.height(); in mousePosToValue()
/dports/audio/mixxx/mixxx-2.3.0/src/waveform/
H A Dwaveformmarklabel.h35 void setAreaRect(const QRectF& areaRect) { in setAreaRect() argument
36 m_areaRect = areaRect; in setAreaRect()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.DataVisualization/Common/ChartTypes/
H A DErrorBarChart.cs593 RectangleF areaRect = RectangleF.Empty; in ProcessChartType()
594 areaRect.X = xPosition - width / 2f; in ProcessChartType()
595 areaRect.Y = (float)Math.Min(high, low); in ProcessChartType()
596 areaRect.Width = width; in ProcessChartType()
597 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; in ProcessChartType()
1357 RectangleF areaRect = RectangleF.Empty; in ProcessChartType3D()
1358 areaRect.X = xPosition - width / 2f; in ProcessChartType3D()
1359 areaRect.Y = (float)Math.Min(high, low); in ProcessChartType3D()
1360 areaRect.Width = width; in ProcessChartType3D()
1361 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; in ProcessChartType3D()
[all …]
H A DBoxPlotChart.cs575 RectangleF areaRect = RectangleF.Empty; in ProcessChartType()
576 areaRect.X = xPosition - width / 2f; in ProcessChartType()
577 areaRect.Y = (float)Math.Min(high, low); in ProcessChartType()
578 areaRect.Width = width; in ProcessChartType()
579 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; in ProcessChartType()
582 common.HotRegionsList.AddHotRegion( areaRect, point, ser.Name, index - 1 ); in ProcessChartType()
1362 RectangleF areaRect = RectangleF.Empty; in ProcessChartType3D()
1363 areaRect.X = xPosition - width / 2f; in ProcessChartType3D()
1364 areaRect.Y = (float)Math.Min(high, low); in ProcessChartType3D()
1365 areaRect.Width = width; in ProcessChartType3D()
[all …]
H A DStockChart.cs464 RectangleF areaRect = RectangleF.Empty; in ProcessChartType()
465 areaRect.X = xPosition - width / 2f; in ProcessChartType()
466 areaRect.Y = (float)Math.Min(high, low); in ProcessChartType()
467 areaRect.Width = width; in ProcessChartType()
468 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; in ProcessChartType()
471 areaRect, in ProcessChartType()
1278 RectangleF areaRect = RectangleF.Empty; in ProcessChartType3D()
1279 areaRect.X = xPosition - width / 2f; in ProcessChartType3D()
1281 areaRect.Width = width; in ProcessChartType3D()
1282 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; in ProcessChartType3D()
[all …]
/dports/deskutils/flameshot/flameshot-0.10.2/src/widgets/capture/
H A Dselectionwidget.cpp24 const QRect areaRect(0, 0, sideVal, sideVal); in SelectionWidget() local
28 m_TLArea = m_TRArea = m_BLArea = m_BRArea = areaRect; in SelectionWidget()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/gs/GSH_Direct3D9/
H A DGSH_Direct3D9_Texture.cpp111 auto areaRect = cachedArea.GetAreaPageRect(); in LoadTexture() local
117 uint32 pageX = dirtyPageIndex % areaRect.width; in LoadTexture()
118 uint32 pageY = dirtyPageIndex / areaRect.width; in LoadTexture()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/unx/gtk3/
H A Dsalnativewidgets-gtk.cxx932 tools::Rectangle areaRect; in PaintCombobox() local
938 areaRect = rControlRectangle; in PaintCombobox()
942 tools::Rectangle aEditBoxRect( areaRect ); in PaintCombobox()
945 aEditBoxRect.SetPos( Point( areaRect.Left() + buttonRect.GetWidth(), areaRect.Top() ) ); in PaintCombobox()
966 tools::Rectangle aRect(Point(0, 0), Size(areaRect.GetWidth(), areaRect.GetHeight())); in PaintCombobox()
974 tools::Rectangle aEntryRect(Point(aEditBoxRect.Left() - areaRect.Left(), in PaintCombobox()
975 aEditBoxRect.Top() - areaRect.Top()), in PaintCombobox()
987 …ools::Rectangle aButtonRect(Point(buttonRect.Left() - areaRect.Left(), buttonRect.Top() - areaRect in PaintCombobox()
999 (arrowRect.Left() - areaRect.Left()), (arrowRect.Top() - areaRect.Top()), in PaintCombobox()
1009 areaRect.GetWidth(), areaRect.GetHeight()); in PaintCombobox()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/dndaddon/
H A DStackDropAgent.java92 Rectangle areaRect = getTabAreaRect((CTabFolder) stack.getWidget()); in canDrop() local
93 boolean inArea = areaRect.contains(info.cursorPos); in canDrop()
95 tabArea = areaRect; in canDrop()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/unx/gtk3/
H A Dgtk3salnativewidgets-gtk.cxx1237 tools::Rectangle areaRect; in PaintCombobox() local
1243 areaRect = rControlRectangle; in PaintCombobox()
1247 tools::Rectangle aEditBoxRect( areaRect ); in PaintCombobox()
1250 aEditBoxRect.SetPos( Point( areaRect.Left() + buttonRect.GetWidth(), areaRect.Top() ) ); in PaintCombobox()
1287 tools::Rectangle aRect(Point(0, 0), Size(areaRect.GetWidth(), areaRect.GetHeight())); in PaintCombobox()
1295 tools::Rectangle aEntryRect(Point(aEditBoxRect.Left() - areaRect.Left(), in PaintCombobox()
1296 aEditBoxRect.Top() - areaRect.Top()), in PaintCombobox()
1308 …ools::Rectangle aButtonRect(Point(buttonRect.Left() - areaRect.Left(), buttonRect.Top() - areaRect in PaintCombobox()
1320 (arrowRect.Left() - areaRect.Left()), (arrowRect.Top() - areaRect.Top()), in PaintCombobox()
1330 areaRect.GetWidth(), areaRect.GetHeight()); in PaintCombobox()
[all …]
/dports/graphics/djview4/djview4-4.12/src/
H A Dqdjvuwidget.cpp675 QRect areaRect; member
3233 if (!miniexp_get_rect(q, areaRect) || q) in parse()
3239 if (!miniexp_get_points(q, areaRect, areaPoints)) in parse()
3447 areaRect = mapper.mapped(areaRect); in maybeRotate()
3457 QRect rect = m.mapped(areaRect).translated(-offset); in contour()
3478 if (! areaRect.contains(p)) in contains()
3498 QRect rect = m.mapped(areaRect).translated(-offset); in update()
3544 QRect rect = m.mapped(areaRect).translated(-offset); in paintBorder()
3627 QRect rect = m.mapped(areaRect).translated(-offset); in paintPermanent()
3783 area.areaRect.contains(pos.posPage) && in checkCurrentMapArea()
[all …]
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzlib/
H A Dorientation.cpp22 QRect iconRect(const QRect &areaRect, const int iconWidth, const int iconHeight, in iconRect() argument
25 areaRect.left() + xOffset + ((areaRect.width() / 2) - (iconWidth / 2)), in iconRect()
26 areaRect.top() + ((areaRect.height() / 2) - (iconHeight / 2)), iconWidth, in iconRect()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/he/
H A Dwiz_he.cpp2396 Common::Rect areaRect, imageRect(w, h); in fillWizRect() local
2404 areaRect = params->box2; in fillWizRect()
2406 areaRect = imageRect; in fillWizRect()
2412 if (areaRect.intersects(imageRect)) { in fillWizRect()
2413 areaRect.clip(imageRect); in fillWizRect()
2416 int dx = areaRect.width(); in fillWizRect()
2417 int dy = areaRect.height(); in fillWizRect()
2418 wizd += (areaRect.top * w + areaRect.left) * bitDepth; in fillWizRect()
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/he/
H A Dwiz_he.cpp2400 Common::Rect areaRect, imageRect(w, h); in fillWizRect() local
2408 areaRect = params->box2; in fillWizRect()
2410 areaRect = imageRect; in fillWizRect()
2416 if (areaRect.intersects(imageRect)) { in fillWizRect()
2417 areaRect.clip(imageRect); in fillWizRect()
2420 int dx = areaRect.width(); in fillWizRect()
2421 int dy = areaRect.height(); in fillWizRect()
2422 wizd += (areaRect.top * w + areaRect.left) * bitDepth; in fillWizRect()
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/source/Irrlicht/MacOSX/
H A DCIrrDeviceMacOSX.mm1523 …NSRect areaRect = NSMakeRect(0.0, 0.0, surface->getDimension().Width, surface->getDimension().Heig…
1524 const u32 destPitch = (colorSamples * areaRect.size.width);
1533 pixelsWide: areaRect.size.width
1534 pixelsHigh: areaRect.size.height
1552 const u32 srcheight = core::min_(surface->getDimension().Height, (u32)areaRect.size.height);
1554 const u32 minWidth = core::min_(surface->getDimension().Width, (u32)areaRect.size.width);
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/irrlicht/source/Irrlicht/MacOSX/
H A DCIrrDeviceMacOSX.mm1580 …NSRect areaRect = NSMakeRect(0.0, 0.0, surface->getDimension().Width, surface->getDimension().Heig…
1581 const u32 destPitch = (colorSamples * areaRect.size.width);
1590 pixelsWide: areaRect.size.width
1591 pixelsHigh: areaRect.size.height
1609 const u32 srcheight = core::min_(surface->getDimension().Height, (u32)areaRect.size.height);
1611 const u32 minWidth = core::min_(surface->getDimension().Width, (u32)areaRect.size.width);
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/plugins/platforms/winrt/
H A Dqwinrtscreen.cpp1276 const QRectF areaRect(area.X * d->scaleFactor, area.Y * d->scaleFactor, in onPointerUpdated() local
1290 else if (it.value().area == areaRect) in onPointerUpdated()
1295 it.value().area = areaRect; in onPointerUpdated()
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/plugins/platforms/winrt/
H A Dqwinrtscreen.cpp1276 const QRectF areaRect(area.X * d->scaleFactor, area.Y * d->scaleFactor, in onPointerUpdated() local
1290 else if (it.value().area == areaRect) in onPointerUpdated()
1295 it.value().area = areaRect; in onPointerUpdated()
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/plugins/platforms/winrt/
H A Dqwinrtscreen.cpp1276 const QRectF areaRect(area.X * d->scaleFactor, area.Y * d->scaleFactor, in onPointerUpdated() local
1290 else if (it.value().area == areaRect) in onPointerUpdated()
1295 it.value().area = areaRect; in onPointerUpdated()
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/plugins/platforms/winrt/
H A Dqwinrtscreen.cpp1276 const QRectF areaRect(area.X * d->scaleFactor, area.Y * d->scaleFactor, in onPointerUpdated() local
1290 else if (it.value().area == areaRect) in onPointerUpdated()
1295 it.value().area = areaRect; in onPointerUpdated()

12