/dports/games/dhewm3/dhewm3-1.5.1/neo/tools/guied/ |
H A D | GESelectionMgr.cpp | 183 qglVertex2f ( mRect.x + mRect.w, mRect.y ); in Render() 184 qglVertex2f ( mRect.x + mRect.w, mRect.y + mRect.h); in Render() 185 qglVertex2f ( mRect.x, mRect.y + mRect.h); in Render() 253 qglVertex2f ( mRect.x - 1, mRect.y + mRect.h + 1 ); in Render() 264 qglVertex2f ( mRect.x + mRect.w + 1, mRect.y + mRect.h + 1 ); in Render() 265 qglVertex2f ( mRect.x + mRect.w + GUIED_GRABSIZE, mRect.y + mRect.h + 1 ); in Render() 267 qglVertex2f ( mRect.x + mRect.w + 1, mRect.y + mRect.h + GUIED_GRABSIZE ); in Render() 316 mRect.w += mRect.x; in UpdateRectangle() 317 mRect.h += mRect.y; in UpdateRectangle() 331 mRect.w -= mRect.x; in UpdateRectangle() [all …]
|
H A D | GEWorkspace.cpp | 226 for ( x = mRect.x + mRect.w; x >= mRect.x ; x -= step ) in RenderGrid() 229 qglVertex2f ( x, mRect.y + mRect.h ); in RenderGrid() 232 for ( y = mRect.y + mRect.h; y >= mRect.y ; y -= step ) in RenderGrid() 235 qglVertex2f ( mRect.x + mRect.w, y ); in RenderGrid() 244 for ( x = mRect.x + mRect.w; x >= mRect.x ; x -= step * 4 ) in RenderGrid() 247 qglVertex2f ( x, mRect.y + mRect.h ); in RenderGrid() 250 for ( y = mRect.y + mRect.h; y >= mRect.y ; y -= step * 4 ) in RenderGrid() 300 qglVertex2f ( mRect.x, mRect.y ); in Render() 301 qglVertex2f ( mRect.x + mRect.w, mRect.y ); in Render() 302 qglVertex2f ( mRect.x + mRect.w, mRect.y + mRect.h ); in Render() [all …]
|
/dports/graphics/libbpg/libbpg-0.9.8/jctvc/TLibCommon/ |
H A D | TComTU.cpp | 111 mRect[i] = (parent.mRect[i]); in TComTU() 122 mRect[i].x0 = (parent.mRect[i].x0); in TComTU() 123 mRect[i].y0 = (parent.mRect[i].y0); in TComTU() 124 mRect[i].width = (parent.mRect[i].width); in TComTU() 137 mRect[i].x0=parent.mRect[i].x0; in TComTU() 138 mRect[i].y0=parent.mRect[i].y0; in TComTU() 147 mRect[i].width = parent.mRect[i].width; in TComTU() 148 mRect[i].height= parent.mRect[i].height; in TComTU() 152 else if (mRect[i].width < mRect[i].height) in TComTU() 188 mRect[i].x0+=mRect[i].width; in nextSection() [all …]
|
/dports/graphics/nomacs/nomacs-3.16.224/ImageLounge/src/DkCore/ |
H A D | DkMath.cpp | 92 DkVector e1 = mRect[(idx+1) % 4] - mRect[idx]; in cpCursor() 93 DkVector e2 = mRect[(idx+3) % mRect.size()] - mRect[idx]; in cpCursor() 101 DkVector edge = mRect[(idx+1) % 4] - mRect[idx % 4]; in cpCursor() 124 if (mRect[(cIdx+1) % 4] == mRect[(cIdx+3) % 4]) { in updateCorner() 140 mRect[cIdx % 4] = (mRect[cIdx % 4] + oV).toQPointF(); in updateCorner() 233 mRect = r; in setSize() 246 DkVector xV = DkVector(mRect[3] - mRect[0]).round(); in size() 247 DkVector yV = DkVector(mRect[1] - mRect[0]).round(); in size() 274 mRect[idx] = mRect[idx] - diff.toQPointF(); in setCenter() 281 DkVector xV = mRect[1] - mRect[0]; in getAngle() [all …]
|
/dports/misc/actiona/actiona-3.10.1/actiontools/code/ |
H A D | rect.cpp | 112 mRect(rect) in Rect() 133 std::swap(mRect, other.mRect); in swap() 143 return mRect; in rect() 158 return mRect.x(); in x() 163 return mRect.y(); in y() 198 return (otherRect == this || otherRect->mRect == mRect); in equals() 210 mRect = mRect.normalized(); in normalize() 217 mRect.setTop(top); in setTop() 245 mRect.setX(x); in setX() 252 mRect.setY(y); in setY() [all …]
|
/dports/graphics/azpainter/azpainter-2.1.7/mlib/include/ |
H A D | mRectBox.h | 27 mBool mRectIsEmpty(mRect *rc); 28 void mRectEmpty(mRect *rc); 31 void mRectSetByBox(mRect *rc,mBox *box); 34 void mRectToBox(mBox *box,mRect *rc); 35 void mRectSwap(mRect *rc); 36 void mRectSwapTo(mRect *dst,mRect *src); 37 void mRectUnion(mRect *dst,mRect *src); 38 void mRectUnion_box(mRect *dst,mBox *box); 40 mBool mRectClipRect(mRect *rc,mRect *clip); 41 void mRectIncPoint(mRect *rc,int x,int y); [all …]
|
/dports/graphics/azpainterb/azpainterb-1.1.3/mlib/include/ |
H A D | mRectBox.h | 27 mBool mRectIsEmpty(mRect *rc); 28 void mRectEmpty(mRect *rc); 31 void mRectSetByBox(mRect *rc,mBox *box); 34 void mRectToBox(mBox *box,mRect *rc); 35 void mRectSwap(mRect *rc); 36 void mRectSwapTo(mRect *dst,mRect *src); 37 void mRectUnion(mRect *dst,mRect *src); 38 void mRectUnion_box(mRect *dst,mBox *box); 40 mBool mRectClipRect(mRect *rc,mRect *clip); 41 void mRectIncPoint(mRect *rc,int x,int y); [all …]
|
/dports/www/firefox/firefox-99.0/image/ |
H A D | ImageRegion.h | 92 mRect.MoveBy(dx, dy); in MoveBy() 99 mRect.Scale(sx, sy); in Scale() 106 mRect = aMatrix.TransformRect(mRect); in TransformBy() 113 mRect = aMatrix.TransformBounds(mRect); in TransformBoundsBy() 143 : mRect(aRect), in ImageRegion() 148 gfxRect mRect; variable 227 gfxRect(mRect.x, mRect.y, mRect.width, mRect.height), in ToImageRegion() 233 gfxRect(mRect.x, mRect.y, mRect.width, mRect.height), mExtendMode); in ToImageRegion() 239 mRect.IsEqualEdges(aOther.mRect) && 244 return HashGeneric(mRect.x, mRect.y, mRect.width, mRect.height, in Hash() [all …]
|
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/annotations/items/ |
H A D | AbstractAnnotationRect.cpp | 26 mRect(new QRectF()) in AbstractAnnotationRect() 28 mRect->setTopLeft(startPosition); in AbstractAnnotationRect() 29 mRect->setBottomRight(startPosition); in AbstractAnnotationRect() 34 mRect(new QRectF(*other.mRect)) in AbstractAnnotationRect() 40 delete mRect; in ~AbstractAnnotationRect() 46 mRect->setBottomRight(position); in addPoint() 54 mRect->translate(newPosition - position()); in setPosition() 60 return *mRect; in rect() 81 auto scaledRect = transform.mapRect(*mRect); in scale() 89 mRect->setHeight(MathHelper::smallerValue(mRect->height(), mRect->width())); in makeSymmetric() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/tables/ |
H A D | TableArea.h | 15 TableArea() : mRect() { } in TableArea() 20 int32_t& StartCol() { return mRect.x; } in StartCol() 21 int32_t& StartRow() { return mRect.y; } in StartRow() 22 int32_t& ColCount() { return mRect.width; } in ColCount() 23 int32_t& RowCount() { return mRect.height; } in RowCount() 25 int32_t StartCol() const { return mRect.x; } in StartCol() 26 int32_t StartRow() const { return mRect.y; } in StartRow() 27 int32_t ColCount() const { return mRect.width; } in ColCount() 29 int32_t EndCol() const { return mRect.XMost(); } in EndCol() 33 { mRect.UnionRect(aArea1.mRect, aArea2.mRect); } in UnionArea() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/android/java/src/org/chromium/ui/widget/ |
H A D | ViewRectProvider.java | 133 mRect.right = mRect.left + mView.getWidth(); in refreshRectBounds() 134 mRect.bottom = mRect.top + mView.getHeight(); in refreshRectBounds() 136 mRect.left += mInsetRect.left; in refreshRectBounds() 137 mRect.top += mInsetRect.top; in refreshRectBounds() 138 mRect.right -= mInsetRect.right; in refreshRectBounds() 144 mRect.left += in refreshRectBounds() 146 mRect.right -= in refreshRectBounds() 153 mRect.right = Math.max(mRect.left, mRect.right); in refreshRectBounds() 154 mRect.bottom = Math.max(mRect.top, mRect.bottom); in refreshRectBounds() 156 mRect.right = Math.min(mRect.right, mView.getRootView().getWidth()); in refreshRectBounds() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/image/ |
H A D | ImageRegion.h | 91 mRect.MoveBy(dx, dy); in MoveBy() 98 mRect.Scale(sx, sy); in Scale() 105 mRect = aMatrix.TransformRect(mRect); in TransformBy() 112 mRect = aMatrix.TransformBounds(mRect); in TransformBoundsBy() 122 return Create(mRect - aPt); 142 : mRect(aRect), in ImageRegion() 147 gfxRect mRect; variable 226 gfxRect(mRect.x, mRect.y, mRect.width, mRect.height), in ToImageRegion() 232 gfxRect(mRect.x, mRect.y, mRect.width, mRect.height), mExtendMode); in ToImageRegion() 238 mRect.IsEqualEdges(aOther.mRect) && [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/image/ |
H A D | ImageRegion.h | 91 mRect.MoveBy(dx, dy); in MoveBy() 98 mRect.Scale(sx, sy); in Scale() 105 mRect = aMatrix.TransformRect(mRect); in TransformBy() 112 mRect = aMatrix.TransformBounds(mRect); in TransformBoundsBy() 122 return Create(mRect - aPt); 142 : mRect(aRect), in ImageRegion() 147 gfxRect mRect; variable 226 gfxRect(mRect.x, mRect.y, mRect.width, mRect.height), in ToImageRegion() 232 gfxRect(mRect.x, mRect.y, mRect.width, mRect.height), mExtendMode); in ToImageRegion() 238 mRect.IsEqualEdges(aOther.mRect) && [all …]
|
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/contrib/src/fl/ |
H A D | dyntbar.cpp | 121 pInfo->mRect.width = x; in AddTool() 285 if ( info.mRect.width < info.mRect.height ) in DrawSeparator() 287 int midX = info.mRect.x + info.mRect.width/2 - 1; in DrawSeparator() 291 midX, info.mRect.y + info.mRect.height+1 ); in DrawSeparator() 295 midX+1, info.mRect.y + info.mRect.height+1 ); in DrawSeparator() 299 int midY = info.mRect.y + info.mRect.height/2 - 1; in DrawSeparator() 303 info.mRect.x + info.mRect.width+1, midY ); in DrawSeparator() 307 info.mRect.x + info.mRect.width+1, midY + 1 ); in DrawSeparator() 350 int y = info.mRect.y + (info.mRect.height - info.mRealSize.y)/2; in SizeToolWindows() 390 pPrevInfo->mRect.y < pInfo->mRect.y) in SizeToolWindows() [all …]
|
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/contrib/src/fl/ |
H A D | dyntbar.cpp | 121 pInfo->mRect.width = x; in AddTool() 285 if ( info.mRect.width < info.mRect.height ) in DrawSeparator() 287 int midX = info.mRect.x + info.mRect.width/2 - 1; in DrawSeparator() 291 midX, info.mRect.y + info.mRect.height+1 ); in DrawSeparator() 295 midX+1, info.mRect.y + info.mRect.height+1 ); in DrawSeparator() 299 int midY = info.mRect.y + info.mRect.height/2 - 1; in DrawSeparator() 303 info.mRect.x + info.mRect.width+1, midY ); in DrawSeparator() 307 info.mRect.x + info.mRect.width+1, midY + 1 ); in DrawSeparator() 350 int y = info.mRect.y + (info.mRect.height - info.mRealSize.y)/2; in SizeToolWindows() 390 pPrevInfo->mRect.y < pInfo->mRect.y) in SizeToolWindows() [all …]
|
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/contrib/src/fl/ |
H A D | dyntbar.cpp | 121 pInfo->mRect.width = x; in AddTool() 285 if ( info.mRect.width < info.mRect.height ) in DrawSeparator() 287 int midX = info.mRect.x + info.mRect.width/2 - 1; in DrawSeparator() 291 midX, info.mRect.y + info.mRect.height+1 ); in DrawSeparator() 295 midX+1, info.mRect.y + info.mRect.height+1 ); in DrawSeparator() 299 int midY = info.mRect.y + info.mRect.height/2 - 1; in DrawSeparator() 303 info.mRect.x + info.mRect.width+1, midY ); in DrawSeparator() 307 info.mRect.x + info.mRect.width+1, midY + 1 ); in DrawSeparator() 350 int y = info.mRect.y + (info.mRect.height - info.mRealSize.y)/2; in SizeToolWindows() 390 pPrevInfo->mRect.y < pInfo->mRect.y) in SizeToolWindows() [all …]
|
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/contrib/src/fl/ |
H A D | dyntbar.cpp | 121 pInfo->mRect.width = x; in AddTool() 285 if ( info.mRect.width < info.mRect.height ) in DrawSeparator() 287 int midX = info.mRect.x + info.mRect.width/2 - 1; in DrawSeparator() 291 midX, info.mRect.y + info.mRect.height+1 ); in DrawSeparator() 295 midX+1, info.mRect.y + info.mRect.height+1 ); in DrawSeparator() 299 int midY = info.mRect.y + info.mRect.height/2 - 1; in DrawSeparator() 303 info.mRect.x + info.mRect.width+1, midY ); in DrawSeparator() 307 info.mRect.x + info.mRect.width+1, midY + 1 ); in DrawSeparator() 350 int y = info.mRect.y + (info.mRect.height - info.mRealSize.y)/2; in SizeToolWindows() 390 pPrevInfo->mRect.y < pInfo->mRect.y) in SizeToolWindows() [all …]
|
/dports/graphics/gwenview/gwenview-21.12.3/lib/crop/ |
H A D | croptool.cpp | 78 QRect mRect; member 172 if (mRect.width() > imageSize.width() || mRect.height() > imageSize.height()) { in keepRectInsideImage() 182 mRect.moveLeft(0); in keepRectInsideImage() 187 mRect.moveTop(0); in keepRectInsideImage() 239 QRect oldRect = d->mRect; in setRect() 240 d->mRect = rect; in setRect() 242 if (d->mRect != oldRect) { in setRect() 250 return d->mRect; in rect() 345 d->mRect = d->mRect.normalized(); in mouseMoveEvent() 366 d->mRect.setTop(d->mRect.y() + d->mRect.height() - height); in mouseMoveEvent() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/mlgpu/ |
H A D | MaskOperation.cpp | 46 if (mRect.X() != aOther.mRect.X()) { in operator <() 47 return mRect.X() < aOther.mRect.X(); in operator <() 49 if (mRect.Y() != aOther.mRect.Y()) { in operator <() 50 return mRect.Y() < aOther.mRect.Y(); in operator <() 52 if (mRect.Width() != aOther.mRect.Width()) { in operator <() 53 return mRect.Width() < aOther.mRect.Width(); in operator <() 55 if (mRect.Height() != aOther.mRect.Height()) { in operator <() 56 return mRect.Height() < aOther.mRect.Height(); in operator <() 85 Rect area = aTextures[0].mRect; in Init() 87 area = area.Intersect(aTextures[i].mRect); in Init() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/mlgpu/ |
H A D | MaskOperation.cpp | 46 if (mRect.X() != aOther.mRect.X()) { in operator <() 47 return mRect.X() < aOther.mRect.X(); in operator <() 49 if (mRect.Y() != aOther.mRect.Y()) { in operator <() 50 return mRect.Y() < aOther.mRect.Y(); in operator <() 52 if (mRect.Width() != aOther.mRect.Width()) { in operator <() 53 return mRect.Width() < aOther.mRect.Width(); in operator <() 55 if (mRect.Height() != aOther.mRect.Height()) { in operator <() 56 return mRect.Height() < aOther.mRect.Height(); in operator <() 85 Rect area = aTextures[0].mRect; in Init() 87 area = area.Intersect(aTextures[i].mRect); in Init() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/image/ |
H A D | ImageRegion.h | 55 const gfxRect& Rect() const { return mRect; } in Rect() 74 return Create(aRect.Intersect(mRect)); in Intersect() 78 gfxRect intersection = mRect.Intersect(aRect); in IntersectAndRestrict() 86 mRect.MoveBy(dx, dy); in MoveBy() 93 mRect.Scale(sx, sy); in Scale() 100 mRect = aMatrix.TransformRect(mRect); in TransformBy() 107 mRect = aMatrix.TransformBounds(mRect); in TransformBoundsBy() 117 return Create(mRect - aPt); 124 return Create(mRect + aPt); 137 : mRect(aRect), in ImageRegion() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/image/ |
H A D | ImageRegion.h | 61 const gfxRect& Rect() const { return mRect; } in Rect() 83 return Create(aRect.Intersect(mRect)); in Intersect() 97 mRect.MoveBy(dx, dy); in MoveBy() 105 mRect.Scale(sx, sy); in Scale() 113 mRect = aMatrix.Transform(mRect); in TransformBy() 121 mRect = aMatrix.TransformBounds(mRect); in TransformBoundsBy() 132 return Create(mRect - aPt); 140 return Create(mRect + aPt); 152 : mRect(aRect) in ImageRegion() 158 : mRect(aRect) in ImageRegion() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/image/ |
H A D | ImageRegion.h | 55 const gfxRect& Rect() const { return mRect; } in Rect() 74 return Create(aRect.Intersect(mRect)); in Intersect() 78 gfxRect intersection = mRect.Intersect(aRect); in IntersectAndRestrict() 86 mRect.MoveBy(dx, dy); in MoveBy() 93 mRect.Scale(sx, sy); in Scale() 100 mRect = aMatrix.TransformRect(mRect); in TransformBy() 107 mRect = aMatrix.TransformBounds(mRect); in TransformBoundsBy() 117 return Create(mRect - aPt); 124 return Create(mRect + aPt); 137 : mRect(aRect), in ImageRegion() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/base/ |
H A D | DisplayItemClip.cpp | 34 mRoundedClipRects[0].mRect = aRect; in SetTo() 49 mRoundedClipRects[0].mRect = aRoundedRect; in SetTo() 206 if (rect.x < rr.mRect.x + rr.mRadii[NS_CORNER_TOP_LEFT_X] && in IsRectClippedByRoundedCorner() 207 rect.y < rr.mRect.y + rr.mRadii[NS_CORNER_TOP_LEFT_Y]) { in IsRectClippedByRoundedCorner() 219 rect.y < rr.mRect.y + rr.mRadii[NS_CORNER_TOP_RIGHT_Y]) { in IsRectClippedByRoundedCorner() 230 if (rect.x < rr.mRect.x + rr.mRadii[NS_CORNER_BOTTOM_LEFT_X] && in IsRectClippedByRoundedCorner() 264 result.IntersectRect(result, mRoundedClipRects[i].mRect); in NonRoundedIntersection() 307 nsIntRect pixelRect = rr.mRect.ToNearestPixels(A2D); in IsRectAffectedByClip() 330 result = result.Intersect(mRoundedClipRects[i].mRect); in ApplyNonRoundedIntersection() 436 mRoundedClipRects[i].mRect += aPoint; in MoveBy() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/layout/painting/ |
H A D | DisplayItemClip.cpp | 31 mRoundedClipRects[0].mRect = aRect; in SetTo() 43 mRoundedClipRects[0].mRect = aRoundedRect; in SetTo() 174 if (rect.x < rr.mRect.x + rr.mRadii[eCornerTopLeftX] && in IsRectClippedByRoundedCorner() 175 rect.y < rr.mRect.y + rr.mRadii[eCornerTopLeftY]) { in IsRectClippedByRoundedCorner() 185 rect.y < rr.mRect.y + rr.mRadii[eCornerTopRightY]) { in IsRectClippedByRoundedCorner() 223 result.IntersectRect(result, mRoundedClipRects[i].mRect); in NonRoundedIntersection() 261 nsIntRect pixelRect = rr.mRect.ToNearestPixels(A2D); in IsRectAffectedByClip() 282 result = result.Intersect(mRoundedClipRects[i].mRect); in ApplyNonRoundedIntersection() 369 mRoundedClipRects[i].mRect += aPoint; in MoveBy() 395 r.mRect.x, r.mRect.y, r.mRect.width, r.mRect.height, in ToString() [all …]
|