Searched refs:rect (Results 1 - 25 of 122) sorted by relevance

12345

/vbox/src/VBox/Frontends/VirtualBox/src/platform/win/
H A DVBoxUtils-win.cpp54 RECT rect;
55 GetWindowRect(hWnd, &rect);
56 topMostRects << QRect(QPoint(rect.left, rect.top), QPoint(rect.right - 1, rect.bottom - 1));
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/
H A DUIPopupBox.cpp235 painter.setClipRect(pEvent->rect());
240 QRect rect = QRect(QPoint(0, 0), size()).adjusted(0, 0, -1, -1); local
244 QLinearGradient lg(rect.x(), rect.y(), rect.x(), rect.y() + 2 * 5 + m_pTitleLabel->sizeHint().height());
247 int theight = rect.height();
250 painter.fillRect(QRect(rect.x(), rect.y(), rect
356 QRect rect = QRect(QPoint(0, 0), size()).adjusted(0, 0, -1, -1); local
[all...]
H A DUIPopupPane.cpp384 const QRect rect(1, 1, width() - 2, height() - 2);
391 configureClipping(rect, painter);
394 paintBackground(rect, painter);
400 void UIPopupPane::configureClipping(const QRect &rect, QPainter &painter) argument
406 path.moveTo(rect.x() + iDiameter, rect.y());
408 path.lineTo(path.currentPosition().x(), rect.y() + rect.height() - iDiameter);
410 path.lineTo(rect.x() + rect
418 paintBackground(const QRect &rect, QPainter &painter) argument
[all...]
H A DUIFilmContainer.cpp208 const QRect rect(1, 1, width() - 2, height() - 2);
218 path.moveTo(rect.x() + iDiameter, rect.y());
220 path.lineTo(path.currentPosition().x(), rect.height() - iDiameter);
222 path.lineTo(rect.width() - iDiameter, path.currentPosition().y());
224 path.lineTo(path.currentPosition().x(), rect.y() + iDiameter);
235 QLinearGradient headerGradient(rect.topLeft(), rect.bottomRight());
238 painter.fillRect(rect, headerGradient);
H A DUIMenuBar.cpp58 painter.setClipRect(pEvent->rect());
/vbox/src/VBox/Frontends/VirtualBox/src/platform/darwin/
H A DUIAbstractDockIconPreview.h57 inline CGRect flipRect(CGRect rect) const { return ::darwinFlipCGRect(rect, m_dockIconRect); }
58 inline CGRect centerRect(CGRect rect) const { return ::darwinCenterRectTo(rect, m_dockIconRect); }
59 inline CGRect centerRectTo(CGRect rect, const CGRect& toRect) const { return ::darwinCenterRectTo(rect, toRect); } argument
/vbox/src/VBox/Frontends/VBoxSDL/
H A DVBoxSDLTest.cpp316 SDL_Rect rect = { 0, 0, (Uint16)guGuestXRes, (Uint16)guGuestYRes }; local
318 SDL_FillRect(gSurfVRAM, &rect,
384 SDL_Rect rect = { 0, 0, (Uint16)guGuestXRes, (Uint16)guGuestYRes }; local
395 checkSDL("SDL_BlitSurface", SDL_BlitSurface(gSurfVRAM, &rect, gScreen, &rect));
397 SDL_UpdateRect(gScreen, rect.x, rect.y, rect.w, rect.h);
404 glPixelStorei(GL_UNPACK_SKIP_PIXELS, rect
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/
H A DVBoxDispVBVA.cpp130 WARN(("empty dest rect: %d-%d, %d-%d", rclDest.left, rclDest.right, rclDest.top, rclDest.bottom));
146 WARN(("empty src rect: %d-%d, %d-%d", rclSrc.left, rclSrc.right, rclSrc.top, rclSrc.bottom));
284 /* Empty rect. */
497 LOG(("dirty rect: left %d, top: %d, width: %d, height: %d",
502 RECTL rect; local
507 rect.left = pRectOrig->left;
508 rect.right = pRectOrig->right;
512 rect.left = pRectOrig->right;
513 rect.right = pRectOrig->left;
518 rect
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/
H A DUIGDetailsItem.cpp127 roundedPath.addRoundedRect(pOption->rect, iRadius, iRadius);
134 void UIGDetailsItem::paintFrameRect(QPainter *pPainter, const QRect &rect, int iRadius) argument
141 pPainter->drawRoundedRect(rect, iRadius, iRadius);
143 pPainter->drawRect(rect);
148 void UIGDetailsItem::paintPixmap(QPainter *pPainter, const QRect &rect, const QPixmap &pixmap) argument
150 pPainter->drawPixmap(rect, pixmap);
H A DUIGDetailsItem.h96 static void paintFrameRect(QPainter *pPainter, const QRect &rect, int iRadius);
97 static void paintPixmap(QPainter *pPainter, const QRect &rect, const QPixmap &pixmap);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/
H A Dsurface.c253 D3DLOCKED_RECT *locked_rect, const RECT *rect, DWORD flags)
259 TRACE("iface %p, locked_rect %p, rect %s, flags %#x.\n",
260 iface, locked_rect, wine_dbgstr_rect(rect), flags);
263 if (rect)
268 if ((rect->left < 0)
269 || (rect->top < 0)
270 || (rect->left >= rect->right)
271 || (rect->top >= rect
252 d3d8_surface_LockRect(IDirect3DSurface8 *iface, D3DLOCKED_RECT *locked_rect, const RECT *rect, DWORD flags) argument
[all...]
/vbox/src/VBox/Additions/linux/drm/
H A Dvbox_fb.c113 struct drm_clip_rect rect; local
180 rect.x1 = x;
181 rect.x2 = x2 + 1;
182 rect.y1 = y;
183 rect.y2 = y2 + 1;
184 vbox_framebuffer_dirty_rectangles(&afbdev->afb.base, &rect, 1);
193 const struct fb_fillrect *rect)
197 sys_fillrect(info, rect);
198 vbox_dirty_update(afbdev, rect->dx, rect
192 vbox_fillrect(struct fb_info *info, const struct fb_fillrect *rect) argument
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/normal/
H A DUIMachineWindowNormal.h35 void sigGeometryChange(const QRect &rect);
/vbox/src/VBox/Additions/haiku/VBoxTray/
H A DVBoxGuestDeskbarView.h77 void Draw(BRect rect);
/vbox/src/libs/libpng-1.2.8/contrib/gregbook/
H A Drpng-win.c498 RECT rect; local
552 rect.left = 0L;
553 rect.top = (LONG)lastrow;
554 rect.right = (LONG)image_width; /* possibly off by one? */
555 rect.bottom = (LONG)lastrow + 16L; /* possibly off by one? */
556 InvalidateRect(global_hwnd, &rect, FALSE);
564 rect.left = 0L;
565 rect.top = (LONG)lastrow;
566 rect.right = (LONG)image_width; /* possibly off by one? */
567 rect
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/settings/global/
H A DUIGlobalSettingsLanguage.cpp353 QRect rect = m_pLanguageTree->visualItemRect(pLanguageItem); local
355 pPainter->drawLine(rect.x(), rect.y() + rect.height() - 1,
356 rect.x() + rect.width(), rect.y() + rect.height() - 1);
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/wine/
H A Ddebug.h217 static inline const char *wine_dbgstr_rect( const RECT *rect )
219 if (!rect) return "(null)";
220 return wine_dbg_sprintf( "(%d,%d)-(%d,%d)", rect->left, rect->top,
221 rect->right, rect->bottom );
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/vbox/libWineStub/include/wine/
H A Ddebug.h242 static inline const char *wine_dbgstr_rect( const RECT *rect )
244 if (!rect) return "(null)";
245 return wine_dbg_sprintf( "(%d,%d)-(%d,%d)", rect->left, rect->top,
246 rect->right, rect->bottom );
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/
H A DUIFrameBuffer.cpp295 /** Erases corresponding @a rect with @a painter. */
296 static void eraseImageRect(QPainter &painter, const QRect &rect,
300 /** Draws corresponding @a rect of passed @a image with @a painter. */
301 static void drawImageRect(QPainter &painter, const QImage &image, const QRect &rect,
970 QRect rect; local
971 rect.setLeft(rects->xLeft);
972 rect.setTop(rects->yTop);
974 rect.setRight(rects->xRight - 1);
975 rect.setBottom(rects->yBottom - 1);
977 region += rect;
1456 eraseImageRect(QPainter &painter, const QRect &rect, bool fUseUnscaledHiDPIOutput, HiDPIOptimizationType hiDPIOptimizationType, double dBackingScaleFactor) argument
1502 drawImageRect(QPainter &painter, const QImage &image, const QRect &rect, int iContentsShiftX, int iContentsShiftY, ScalingOptimizationType enmScalingOptimizationType, bool fUseUnscaledHiDPIOutput, HiDPIOptimizationType hiDPIOptimizationType, double dBackingScaleFactor) argument
[all...]
H A DUIMachineView.cpp313 QRect rect(iX, iY, iWidth, iHeight);
326 rect.moveTo(floor((double)rect.x() * xScaleFactor) - 1,
327 floor((double)rect.y() * yScaleFactor) - 1);
328 rect.setSize(QSize(ceil((double)rect.width() * xScaleFactor) + 2,
329 ceil((double)rect.height() * yScaleFactor) + 2));
334 rect.translate(-contentsX(), -contentsY());
343 rect.moveTo(floor((double)rect
1360 QRect rect = pPaintEvent->rect().intersect(viewport()->rect()); local
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/common/
H A DVBoxVideoTools.h138 DECLINLINE(bool) vboxWddmRectIntersection(const RECT *a, const RECT *b, RECT *rect) argument
142 Assert(rect);
143 rect->left = RT_MAX(a->left, b->left);
144 rect->right = RT_MIN(a->right, b->right);
145 rect->top = RT_MAX(a->top, b->top);
146 rect->bottom = RT_MIN(a->bottom, b->bottom);
147 return (rect->right>rect->left) && (rect->bottom>rect
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/extensions/
H A DQISplitter.cpp73 gradient.setStart(rect().left() + 1, 0);
74 gradient.setFinalStop(rect().right(), 0);
78 gradient.setStart(0, rect().top() + 1);
79 gradient.setFinalStop(0, rect().bottom());
81 painter.fillRect(pEvent->rect(), gradient);
/vbox/src/libs/xpcom18a4/xpcom/tests/windows/
H A DTestHelloXPLoop.cpp138 RECT rect; local
145 GetClientRect(wnd, &rect);
147 DrawText(hdc, "Hello, XP Event Loop!", -1, &rect,
/vbox/src/VBox/Devices/Graphics/shaderlib/libWineStub/include/wine/
H A Ddebug.h280 static inline const char *wine_dbgstr_rect( const RECT *rect )
282 if (!rect) return "(null)";
283 return wine_dbg_sprintf( "(%d,%d)-(%d,%d)", rect->left, rect->top,
284 rect->right, rect->bottom );
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/vbox/libWineStub/include/wine/
H A Ddebug.h280 static inline const char *wine_dbgstr_rect( const RECT *rect )
282 if (!rect) return "(null)";
283 return wine_dbg_sprintf( "(%d,%d)-(%d,%d)", rect->left, rect->top,
284 rect->right, rect->bottom );

Completed in 122 milliseconds

12345