Home
last modified time | relevance | path

Searched refs:_Rect (Results 1 – 25 of 76) sorted by relevance

1234

/dports/devel/upp/upp/bazaar/Form/
H A DFormObject.cpp3 FormObject::FormObject() : _Rect(Rect(Point(10, 10), Size(120, 30))), _HAlign(Ctrl::LEFT), in FormObject()
14 _Rect = other.GetRect(); in FormObject()
21 : _Rect(r), _HAlign(Ctrl::LEFT), _VAlign(Ctrl::TOP), _State(FormObject::NONE) in FormObject()
28 FormObject::FormObject(int x, int y, int cx, int cy) : _Rect(Rect(Point(x, y), Size(cx, cy))), in FormObject()
38 xml.Attr("x", _Rect.left).Attr("y", _Rect.top); in Xmlize()
40 int cx = _Rect.Width(); in Xmlize()
41 int cy = _Rect.Height(); in Xmlize()
47 _Rect.right = _Rect.left + cx; in Xmlize()
48 _Rect.bottom = _Rect.top + cy; in Xmlize()
H A DFormObject.hpp26 Size GetSize() const { return _Rect.GetSize(); } in GetSize()
27 bool Intersects(const FormObject& obj) { return _Rect.Intersects(obj.GetRect()); } in Intersects()
28 int GetCenterX() const { return _Rect.left + _Rect.Width() / 2; } in GetCenterX()
29 int GetCenterY() const { return _Rect.top + _Rect.Height() / 2; } in GetCenterY()
/dports/graphics/anttweakbar/AntTweakBar/src/
H A DTwMgr.h369 …ool operator==(const CRect& _Rect) { return (Empty() && _Rect.Empty()) || (X==_Rect.X && Y==_Rect.…
371 bool Subtract(const CRect& _Rect, std::vector<CRect>& _OutRects) const;
H A DTwMgr.cpp6685 bool CRect::Subtract(const CRect& _Rect, vector<CRect>& _OutRects) const in Subtract() argument
6689 if( _Rect.Empty() || _Rect.Y>=Y+H || _Rect.Y+_Rect.H<=Y || _Rect.X>=X+W || _Rect.X+_Rect.W<=X ) in Subtract()
6698 if( _Rect.Y>Y ) in Subtract()
6700 Y0 = _Rect.Y; in Subtract()
6704 if( _Rect.Y+_Rect.H<Y+H ) in Subtract()
6706 Y1 = _Rect.Y+_Rect.H; in Subtract()
6712 if( _Rect.X>X ) in Subtract()
6714 X0 = _Rect.X; //-2; in Subtract()
6718 if( _Rect.X+_Rect.W<X+W ) in Subtract()
6720 X1 = _Rect.X+_Rect.W; //-1; in Subtract()
/dports/games/ags/ags_linux_v.3.4.4.1/Engine/ac/
H A Dglobal_object.h25 struct _Rect { struct
59 int GetThingRect(int thing, _Rect *rect);
H A Dglobal_object.cpp426 int GetThingRect(int thing, _Rect *rect) { in GetThingRect()
453 _Rect r1, r2; in AreThingsOverlapping()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/engine/ac/
H A Dglobal_object.h36 struct _Rect { struct
74 int GetThingRect(int thing, _Rect *rect);
H A Dglobal_object.cpp460 int GetThingRect(int thing, _Rect *rect) { in GetThingRect()
485 _Rect r1, r2; in AreThingsOverlapping()
/dports/games/aklabeth/aklabeth-1.0/src/
H A Dstruct.h14 typedef struct _Rect /* Rectangle structure */ struct
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/magic_uv/op/
H A Dtexture_projection.py49 _Rect = namedtuple('Rect', 'x0 y0 x1 y1') variable
102 return _Rect(x0, y0, x1, y1)
/dports/net/drawterm/drawterm/gui-osx/
H A Dscreen.c6 #define Rect _Rect
64 static _Rect winRect;
524 _Rect rectPort = {0,0,0,0}; in MainWindowCommandHandler()
/dports/x11-toolkits/p5-Prima/Prima-1.63/src/
H A Dprimguts.c896 Rect _Rect; in call_perl_indirect() local
993 _Rect = va_arg( params, Rect); in call_perl_indirect()
994 PUSHs( sv_2mortal( newSViv( _Rect. left))); in call_perl_indirect()
995 PUSHs( sv_2mortal( newSViv( _Rect. bottom))); in call_perl_indirect()
996 PUSHs( sv_2mortal( newSViv( _Rect. right))); in call_perl_indirect()
997 PUSHs( sv_2mortal( newSViv( _Rect. top))); in call_perl_indirect()
/dports/x11-wm/openbox/openbox-3.6/openbox/
H A Dgeom.h56 typedef struct _Rect { struct
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/docs/
H A DObjectiveCLiterals.rst246 typedef struct _Rect {
258 typedef struct __attribute__((objc_boxable)) _Rect Rect;
585 typedef struct __attribute__((objc_boxable)) _Rect Rect;

1234