/dports/x11/kf5-plasma-framework/plasma-framework-5.89.0/src/plasma/private/ |
H A D | framesvg_helpers.h | 48 QRect sectionRect(Plasma::FrameSvg::EnabledBorders borders, const QRect &contentRect, const QSize &… in sectionRect() argument 55 return contentRect; in sectionRect() 57 return QRect(QPoint(contentRect.left(), 0), QSize(contentRect.width(), contentRect.top())); in sectionRect() 59 …return QRect(QPoint(contentRect.left(), contentRect.bottom() + 1), QSize(contentRect.width(), full… in sectionRect() 61 return QRect(QPoint(0, contentRect.top()), QSize(contentRect.left(), contentRect.height())); in sectionRect() 63 …return QRect(QPoint(contentRect.right() + 1, contentRect.top()), QSize(fullSize.width() - contentR… in sectionRect() 65 return QRect(QPoint(0, 0), QSize(contentRect.left(), contentRect.top())); in sectionRect() 67 …return QRect(QPoint(contentRect.right() + 1, 0), QSize(fullSize.width() - contentRect.right() - 1,… in sectionRect() 69 …return QRect(QPoint(0, contentRect.bottom() + 1), QSize(contentRect.left(), fullSize.height() - co… in sectionRect() 71 return QRect(QPoint(contentRect.right() + 1, contentRect.bottom() + 1), in sectionRect() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ |
H A D | ScrolledCompositeLayout.java | 71 Rectangle contentRect = sc.content.getBounds(); in layout() local 73 boolean hVisible = sc.needHScroll(contentRect, false); in layout() 74 boolean vVisible = sc.needVScroll(contentRect, hVisible); in layout() 81 contentRect.width = Math.max(sc.minWidth, hostRect.width); in layout() 89 hBar.setMaximum (contentRect.width); in layout() 93 int hPage = contentRect.width - hostRect.width; in layout() 100 contentRect.x = -hSelection; in layout() 105 vBar.setMaximum (contentRect.height); in layout() 109 int vPage = contentRect.height - hostRect.height; in layout() 116 contentRect.y = -vSelection; in layout() [all …]
|
/dports/x11-toolkits/swt/swt-4.20/org/eclipse/swt/custom/ |
H A D | ScrolledCompositeLayout.java | 71 Rectangle contentRect = sc.content.getBounds(); in layout() local 73 boolean hVisible = sc.needHScroll(contentRect, false); in layout() 74 boolean vVisible = sc.needVScroll(contentRect, hVisible); in layout() 81 contentRect.width = Math.max(sc.minWidth, hostRect.width); in layout() 89 hBar.setMaximum (contentRect.width); in layout() 93 int hPage = contentRect.width - hostRect.width; in layout() 100 contentRect.x = -hSelection; in layout() 105 vBar.setMaximum (contentRect.height); in layout() 109 int vPage = contentRect.height - hostRect.height; in layout() 116 contentRect.y = -vSelection; in layout() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/qt5/ |
H A D | Qt5Graphics_Controls.cxx | 663 QRect contentRect = boundingRect; in getNativeControlRegion() local 712 contentRect.setWidth( in getNativeControlRegion() 735 cbo.rect = QRect(0, 0, contentRect.width(), contentRect.height()); in getNativeControlRegion() 749 contentRect.adjust(0, 0, 0, aMinSize.height() - contentRect.height()); in getNativeControlRegion() 778 sbo.rect = QRect(0, 0, contentRect.width(), contentRect.height()); in getNativeControlRegion() 790 contentRect.adjust(0, 0, 0, aMinSize.height() - contentRect.height()); in getNativeControlRegion() 868 contentRect.adjust( in getNativeControlRegion() 882 contentRect in getNativeControlRegion() 889 contentRect in getNativeControlRegion() 901 contentRect in getNativeControlRegion() [all …]
|
/dports/comms/scrcpy/scrcpy-1.9/server/src/main/java/com/genymobile/scrcpy/ |
H A D | ScreenInfo.java | 6 private final Rect contentRect; // device size, possibly cropped field in ScreenInfo 10 public ScreenInfo(Rect contentRect, Size videoSize, boolean rotated) { in ScreenInfo() argument 11 this.contentRect = contentRect; in ScreenInfo() 17 return contentRect; in getContentRect() 29 return new ScreenInfo(Device.flipRect(contentRect), videoSize.rotate(), newRotated); in withRotation()
|
H A D | Device.java | 52 Rect contentRect = new Rect(0, 0, deviceSize.getWidth(), deviceSize.getHeight()); in computeScreenInfo() local 58 if (!contentRect.intersect(crop)) { in computeScreenInfo() 61 contentRect = new Rect(); // empty in computeScreenInfo() 65 Size videoSize = computeVideoSize(contentRect.width(), contentRect.height(), maxSize); in computeScreenInfo() 66 return new ScreenInfo(contentRect, videoSize, rotated); in computeScreenInfo() 112 Rect contentRect = screenInfo.getContentRect(); in getPhysicalPoint() local 114 int scaledX = contentRect.left + point.getX() * contentRect.width() / videoSize.getWidth(); in getPhysicalPoint() 115 int scaledY = contentRect.top + point.getY() * contentRect.height() / videoSize.getHeight(); in getPhysicalPoint()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qt5/ |
H A D | Qt5Graphics_Controls.cxx | 723 QRect contentRect = boundingRect; in getNativeControlRegion() local 790 cbo.rect = downscale(QRect(0, 0, contentRect.width(), contentRect.height())); in getNativeControlRegion() 835 sbo.rect = downscale(QRect(0, 0, contentRect.width(), contentRect.height())); in getNativeControlRegion() 853 contentRect in getNativeControlRegion() 859 contentRect in getNativeControlRegion() 930 contentRect in getNativeControlRegion() 937 contentRect in getNativeControlRegion() 949 contentRect in getNativeControlRegion() 956 contentRect in getNativeControlRegion() 967 contentRect = upscale( in getNativeControlRegion() [all …]
|
/dports/print/scribus-devel/scribus-1.5.7/scribus/ |
H A D | tablecell.cpp | 63 QRectF TableCell::contentRect() const in contentRect() function in TableCell 140 QRectF contentRect = boundingRect(); in updateContent() local 141 contentRect.setLeft(contentRect.left() + leftPadding() + maxLeftBorderWidth()/2); in updateContent() 142 contentRect.setTop(contentRect.top() + topPadding() + maxTopBorderWidth()/2); in updateContent() 143 contentRect.setWidth(qMax(contentRect.width() - (rightPadding() + maxRightBorderWidth()/2), 1.0)); in updateContent() 144 …contentRect.setHeight(qMax(contentRect.height() - (bottomPadding() + maxBottomBorderWidth()/2), 1.… in updateContent() 146 d->textFrame->setXYPos(contentRect.x(), contentRect.y(), true); in updateContent() 147 d->textFrame->setWidthHeight(contentRect.width(), contentRect.height(), true); in updateContent()
|
/dports/graphics/krita/krita-4.4.8/plugins/tools/selectiontools/ |
H A D | kis_tool_select_similar.cc | 245 QRect contentRect = sourceDevice->exactBounds(); in beginPrimaryAction() local 246 …QRect patchRect = QRect(QPoint(0, contentRect.top()), QPoint(qMax(contentRect.right(), imageRect.r… in beginPrimaryAction() 249 finalRect = patchRect.intersected(contentRect); in beginPrimaryAction() 260 QRect contentRect = sourceDevice->exactBounds(); in beginPrimaryAction() local 261 …ct patchRect = QRect(QPoint(imageRect.width(), 0), QPoint(contentRect.right(), qMax(contentRect.bo… in beginPrimaryAction() 264 finalRect = patchRect.intersected(contentRect); in beginPrimaryAction() 275 QRect contentRect = sourceDevice->exactBounds(); in beginPrimaryAction() local 276 …tchRect = QRect(QPoint(qMin(contentRect.left(), imageRect.left()), imageRect.bottom()), QPoint(ima… in beginPrimaryAction() 279 finalRect = patchRect.intersected(contentRect); in beginPrimaryAction() 290 QRect contentRect = sourceDevice->exactBounds(); in beginPrimaryAction() local [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/rendering/ |
H A D | RenderEmbeddedObject.cpp | 160 FloatRect contentRect; in paintReplaced() local 166 …if (!getReplacementTextGeometry(tx, ty, contentRect, path, replacementTextRect, font, run, textWid… in paintReplaced() 170 context->clip(contentRect); in paintReplaced() 183 bool RenderEmbeddedObject::getReplacementTextGeometry(int tx, int ty, FloatRect& contentRect, Path&… in getReplacementTextGeometry() argument 185 contentRect = contentBoxRect(); in getReplacementTextGeometry() 186 contentRect.move(tx, ty); in getReplacementTextGeometry() 204 …float x = (contentRect.size().width() / 2 - replacementTextRect.size().width() / 2) + contentRect.… in getReplacementTextGeometry() 205 …float y = (contentRect.size().height() / 2 - replacementTextRect.size().height() / 2) + contentRec… in getReplacementTextGeometry() 254 FloatRect contentRect; in isInMissingPluginIndicator() local 260 …if (!getReplacementTextGeometry(0, 0, contentRect, path, replacementTextRect, font, run, textWidth… in isInMissingPluginIndicator()
|
H A D | RenderSlider.cpp | 116 IntRect contentRect = contentBoxRect(); in thumbRect() local 118 thumbRect.setX(contentRect.x() + (contentRect.width() - thumbRect.width()) / 2); in thumbRect() 119 …thumbRect.setY(contentRect.y() + static_cast<int>(nextafter((contentRect.height() - thumbRect.heig… in thumbRect() 121 …thumbRect.setX(contentRect.x() + static_cast<int>(nextafter((contentRect.width() - thumbRect.width… in thumbRect() 122 thumbRect.setY(contentRect.y() + (contentRect.height() - thumbRect.height()) / 2); in thumbRect()
|
/dports/devel/fifechan/fifechan-0.1.5/src/widgets/ |
H A D | icon.cpp | 193 … Rectangle contentRect(getBorderSize() + getPaddingLeft(), getBorderSize() + getPaddingTop(), in draw() local 198 int w = mScale ? contentRect.width : mImage->getWidth(); in draw() 199 int h = mScale ? contentRect.height : mImage->getHeight(); in draw() 202 Rectangle rect(contentRect.x, contentRect.y, w, h); in draw() 206 rect.y = contentRect.y; in draw() 214 graphics->drawImage(mImage, 0, 0, contentRect.x, contentRect.y, w, h); in draw()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/core/ |
H A D | SkGpuBlurUtils.cpp | 191 *contentRect = dstRect; in convolve_gaussian() 211 bounds[0] = contentRect->left(); in convolve_gaussian() 212 bounds[1] = contentRect->right(); in convolve_gaussian() 220 mid = contentRect->makeInset(radius, 0); in convolve_gaussian() 230 bounds[0] = contentRect->top(); in convolve_gaussian() 231 bounds[1] = contentRect->bottom(); in convolve_gaussian() 236 mid = contentRect->makeInset(0, radius); in convolve_gaussian() 250 contentRect->offset(-rtcToSrcOffset); in convolve_gaussian() 286 SkIRect* contentRect, in decimate() argument 294 SkIRect srcRect = contentRect->makeOffset(srcOffset); in decimate() [all …]
|
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/cocoa/ |
H A D | statbox.mm | 53 NSRect contentRect = [[GetNSBox() contentView] frame]; 55 *borderTop = (int)(thisRect.size.height - (contentRect.origin.y+contentRect.size.height)); 56 *borderOther = (int)(thisRect.size.width - (contentRect.origin.x+contentRect.size.width)); 57 int nextBorder = (int)contentRect.origin.y; 60 nextBorder = (int)contentRect.origin.x;
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/cocoa/ |
H A D | statbox.mm | 53 NSRect contentRect = [[GetNSBox() contentView] frame]; 55 *borderTop = (int)(thisRect.size.height - (contentRect.origin.y+contentRect.size.height)); 56 *borderOther = (int)(thisRect.size.width - (contentRect.origin.x+contentRect.size.width)); 57 int nextBorder = (int)contentRect.origin.y; 60 nextBorder = (int)contentRect.origin.x;
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/base/java/org/mozilla/gecko/text/ |
H A D | FloatingToolbarTextSelection.java | 47 /* package-private */ Rect contentRect; field in FloatingToolbarTextSelection 169 return contentRect.left != contentRect.right || contentRect.top != contentRect.bottom; in isRectVisible() 187 if (contentRect == null) { in updateRect() 188 contentRect = new Rect(); in updateRect() 190 rect.round(contentRect); in updateRect()
|
/dports/graphics/sampleicc/SampleICC-1.6.8/Contrib/Mac_OS_X/create_probe/ |
H A D | create_probe.cpp | 197 drawContents(CGContextRef context, CGRect contentRect, size_t edgeSize) in drawContents() argument 204 pixelRect.origin.x = contentRect.origin.x; in drawContents() 205 pixelRect.origin.y = contentRect.origin.y + contentRect.size.height - 1; in drawContents() 220 if (pixelRect.origin.x - contentRect.origin.x >= contentRect.size.width) in drawContents() 222 pixelRect.origin.x = contentRect.origin.x; in drawContents() 229 pixelRect.origin.x = contentRect.origin.x; in drawContents() 304 CGRect contentRect = CGRectMake(borderSize, borderSize, contentWidth, in main() local 306 drawContents(bitmapContext, contentRect, edgeSize); in main()
|
/dports/multimedia/QtAV/QtAV-1.13.0/qml/ |
H A D | QuickFBORenderer.cpp | 196 QRectF QuickFBORenderer::contentRect() const in contentRect() function in QtAV::QuickFBORenderer 230 dx *= contentRect().width(); in mapNormalizedPointToItem() 231 dy *= contentRect().height(); in mapNormalizedPointToItem() 233 dx *= contentRect().height(); in mapNormalizedPointToItem() 234 dy *= contentRect().width(); in mapNormalizedPointToItem() 240 return contentRect().topLeft() + QPointF(dx, dy); in mapNormalizedPointToItem() 242 return contentRect().bottomLeft() + QPointF(dy, -dx); in mapNormalizedPointToItem() 246 return contentRect().topRight() + QPointF(-dy, dx); in mapNormalizedPointToItem() 273 if (contentRect().isEmpty()) in mapPointToSourceNormalized() 277 qreal nx = (point.x() - contentRect().x()) / contentRect().width(); in mapPointToSourceNormalized() [all …]
|
H A D | QQuickItemRenderer.cpp | 192 QRectF QQuickItemRenderer::contentRect() const in contentRect() function in QtAV::QQuickItemRenderer 227 dx *= contentRect().width(); in mapNormalizedPointToItem() 228 dy *= contentRect().height(); in mapNormalizedPointToItem() 230 dx *= contentRect().height(); in mapNormalizedPointToItem() 231 dy *= contentRect().width(); in mapNormalizedPointToItem() 237 return contentRect().topLeft() + QPointF(dx, dy); in mapNormalizedPointToItem() 239 return contentRect().bottomLeft() + QPointF(dy, -dx); in mapNormalizedPointToItem() 243 return contentRect().topRight() + QPointF(-dy, dx); in mapNormalizedPointToItem() 270 if (contentRect().isEmpty()) in mapPointToSourceNormalized() 274 qreal nx = (point.x() - contentRect().x()) / contentRect().width(); in mapPointToSourceNormalized() [all …]
|
/dports/astro/qmapshack/qmapshack-V_1.16.1/src/qmapshack/helpers/ |
H A D | CDraw.cpp | 209 QPoint CDraw::bubble(QPainter& p, const QRect& contentRect, const QPoint& pointerPos, const QColor&… in bubble() argument 211 qint32 pointerBasePos = qMax(0, pointerPos.x() - contentRect.left()); in bubble() 212 return CDraw::bubble(p, contentRect, pointerPos, background, 20, pointerBasePos); in bubble() 219 bubblePath.addRoundedRect(contentRect, RECT_RADIUS, RECT_RADIUS); in bubble() 223 ? contentRect.left() + (pointerBasePos * contentRect.width()) in bubble() 224 : contentRect.left() + (int) pointerBasePos; in bubble() 227 if(pointerPos.y() < contentRect.top()) in bubble() 229 pointerHeight = contentRect.top() - pointerPos.y() + 1; in bubble() 231 else if(pointerPos.y() > contentRect.bottom()) in bubble() 233 pointerHeight = contentRect.bottom() - pointerPos.y() - 1; in bubble() [all …]
|
/dports/graphics/imageviewer/ImageViewer-0.6.3/ |
H A D | ImagesWindow.m | 23 NSRect contentRect; 42 contentRect = [NSWindow contentRectForFrameRect:frame 47 contentRect = [NSWindow contentRectForFrameRect:[window frame] 53 contentRect.origin.x = 150; 54 contentRect.origin.y = 0; 55 contentRect.size.width -= 150; 57 scrollView = [[NSScrollView alloc] initWithFrame:contentRect]; 68 initWithFrame: NSMakeRect(0,0,150,contentRect.size.height)]; 74 contentRect = NSMakeRect(0,0,10,10); 75 view = [[NSImageView alloc] initWithFrame:contentRect];
|
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/Box2D/glfw/ |
H A D | cocoa_window.m | 126 return contentRect; 202 _glfwInputWindowSize(window, contentRect.size.width, contentRect.size.height); 860 NSRect contentRect; 876 initWithContentRect:contentRect 987 const NSRect contentRect = 991 *xpos = contentRect.origin.x; 993 *ypos = transformY(contentRect.origin.y + contentRect.size.height); 1009 *width = contentRect.size.width; 1011 *height = contentRect.size.height; 1044 contentRect.origin.y - contentRect.size.height; [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/core/ |
H A D | SkGpuBlurUtils.cpp | 191 *contentRect = dstRect; in convolve_gaussian() 214 contentRect->fLeft = dstRect.fLeft; in convolve_gaussian() 215 contentRect->fTop = midRect.fTop; in convolve_gaussian() 216 contentRect->fRight = dstRect.fRight; in convolve_gaussian() 217 contentRect->fBottom = midRect.fBottom; in convolve_gaussian() 230 contentRect->fLeft = midRect.fLeft; in convolve_gaussian() 231 contentRect->fTop = dstRect.fTop; in convolve_gaussian() 232 contentRect->fRight = midRect.fRight; in convolve_gaussian() 233 contentRect->fBottom = dstRect.fBottom; in convolve_gaussian() 286 srcRect = *contentRect; in decimate() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/core/ |
H A D | SkGpuBlurUtils.cpp | 191 *contentRect = dstRect; in convolve_gaussian() 214 contentRect->fLeft = dstRect.fLeft; in convolve_gaussian() 215 contentRect->fTop = midRect.fTop; in convolve_gaussian() 216 contentRect->fRight = dstRect.fRight; in convolve_gaussian() 217 contentRect->fBottom = midRect.fBottom; in convolve_gaussian() 230 contentRect->fLeft = midRect.fLeft; in convolve_gaussian() 231 contentRect->fTop = dstRect.fTop; in convolve_gaussian() 232 contentRect->fRight = midRect.fRight; in convolve_gaussian() 233 contentRect->fBottom = dstRect.fBottom; in convolve_gaussian() 286 srcRect = *contentRect; in decimate() [all …]
|
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/core/ |
H A D | SkGpuBlurUtils.cpp | 191 *contentRect = dstRect; in convolve_gaussian() 214 contentRect->fLeft = dstRect.fLeft; in convolve_gaussian() 215 contentRect->fTop = midRect.fTop; in convolve_gaussian() 216 contentRect->fRight = dstRect.fRight; in convolve_gaussian() 217 contentRect->fBottom = midRect.fBottom; in convolve_gaussian() 230 contentRect->fLeft = midRect.fLeft; in convolve_gaussian() 231 contentRect->fTop = dstRect.fTop; in convolve_gaussian() 232 contentRect->fRight = midRect.fRight; in convolve_gaussian() 233 contentRect->fBottom = dstRect.fBottom; in convolve_gaussian() 286 srcRect = *contentRect; in decimate() [all …]
|