/dports/games/libretro-scummvm/scummvm-7b1e929/engines/wage/ |
H A D | dialog.cpp | 74 _bbox.left = (_gui->_screen.w - width) / 2; in Dialog() 75 _bbox.top = (_gui->_screen.h - kDialogHeight) / 2; in Dialog() 76 _bbox.right = (_gui->_screen.w + width) / 2; in Dialog() 77 _bbox.bottom = (_gui->_screen.h + kDialogHeight) / 2; in Dialog() 85 _buttons->operator[](i)->bounds.translate(_bbox.left, _bbox.top); in Dialog() 101 …_font->drawString(&_gui->_screen, _text, _bbox.left + 24, _bbox.top + 16, _bbox.width(), kColorBla… in paint() 135 g_system->copyRectToScreen(_gui->_screen.getBasePtr(_bbox.left, _bbox.top), _gui->_screen.pitch, in paint() 136 _bbox.left, _bbox.top, _bbox.width() + 1, _bbox.height() + 1); in paint() 150 Common::Rect r(_bbox); in run() 152 …RectToSurface(_gui->_screen.getBasePtr(_bbox.left, _bbox.top), _gui->_screen.pitch, 0, 0, _bbox.wi… in run() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/wage/ |
H A D | dialog.cpp | 74 _bbox.left = (_gui->_screen.w - width) / 2; in Dialog() 75 _bbox.top = (_gui->_screen.h - kDialogHeight) / 2; in Dialog() 76 _bbox.right = (_gui->_screen.w + width) / 2; in Dialog() 77 _bbox.bottom = (_gui->_screen.h + kDialogHeight) / 2; in Dialog() 85 _buttons->operator[](i)->bounds.translate(_bbox.left, _bbox.top); in Dialog() 101 …_font->drawString(&_gui->_screen, _text, _bbox.left + 24, _bbox.top + 16, _bbox.width(), kColorBla… in paint() 135 g_system->copyRectToScreen(_gui->_screen.getBasePtr(_bbox.left, _bbox.top), _gui->_screen.pitch, in paint() 136 _bbox.left, _bbox.top, _bbox.width() + 1, _bbox.height() + 1); in paint() 150 Common::Rect r(_bbox); in run() 152 …RectToSurface(_gui->_screen.getBasePtr(_bbox.left, _bbox.top), _gui->_screen.pitch, 0, 0, _bbox.wi… in run() [all …]
|
/dports/devel/vcglib/vcglib-2020.09/apps/unsupported/extractors/extractor/ |
H A D | Walker.h | 22 _bbox = bbox; in Walker() 52 for (int j=_bbox.min.Y(); j<_bbox.max.Y()-_cell_size.Y(); j+=_cell_size.Y()) in BuildMesh() 54 for (int i=_bbox.min.X(); i<_bbox.max.X()-_cell_size.X(); i+=_cell_size.X()) in BuildMesh() 56 for (int k=_bbox.min.Z(); k<_bbox.max.Z()-_cell_size.Z(); k+=_cell_size.Z()) in BuildMesh() 72 int i = pi - _bbox.min.X(); in V() 73 int k = pk - _bbox.min.Z(); in V() 175 BoundingBox _bbox; 207 for (int i=_bbox.min.X(); i<_bbox.max.X(); i+=_cell_size.X()) in NextSlice() 210 for (int k=_bbox.min.Z(); k<_bbox.max.Z(); k+=_cell_size.Z()) in NextSlice() 232 for (int i=_bbox.min.X(); i<_bbox.max.X(); i+=_cell_size.X()) in Begin() [all …]
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/oldplymc/ |
H A D | trivial_walker.h | 32 _bbox = bbox; in Init() 70 for (int j=_bbox.min.Y(); j<(_bbox.max.Y()-_cell_size.Y())-1; j+=_cell_size.Y()) in BuildMesh() 73 for (int i=_bbox.min.X(); i<(_bbox.max.X()-_cell_size.X())-1; i+=_cell_size.X()) in BuildMesh() 75 for (int k=_bbox.min.Z(); k<(_bbox.max.Z()-_cell_size.Z())-1; k+=_cell_size.Z()) in BuildMesh() 118 int pos = p0.X()-_bbox.min.X()+(p0.Z()-_bbox.min.Z())*_resolution.X(); in Exist() 218 Box3i _bbox; 250 for (int i=_bbox.min.X(); i<_bbox.max.X(); i+=_cell_size.X()) in NextSlice() 252 i_idx = i-_bbox.min.X(); in NextSlice() 253 for (int k=_bbox.min.Z(); k<_bbox.max.Z(); k+=_cell_size.Z()) in NextSlice() 275 for (int i=_bbox.min.X(); i<_bbox.max.X(); i+=_cell_size.X()) in Begin() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/glk/ |
H A D | window_pair.cpp | 53 _bbox = box; in rearrange() 70 min = _bbox.left; in rearrange() 71 max = _bbox.right; in rearrange() 73 min = _bbox.top; in rearrange() 74 max = _bbox.bottom; in rearrange() 113 box1.left = _bbox.left; in rearrange() 117 box1.top = _bbox.top; in rearrange() 119 box2.top = _bbox.top; in rearrange() 122 box1.top = _bbox.top; in rearrange() 150 Rect box(child->_bbox.left, child->_yAdj ? child->_bbox.top - child->_yAdj : child->_bbox.top, in redraw() [all …]
|
H A D | window_graphics.cpp | 45 _bbox = box; in rearrange() 95 screen.blitFrom(*_surface, Point(_bbox.left, _bbox.top)); in redraw() 143 hx0 = _bbox.left + x0; in eraseRect() 145 hy0 = _bbox.top + y0; in eraseRect() 146 hy1 = _bbox.top + y1; in eraseRect() 170 hy0 = _bbox.top + y0; in fillRect() 171 hy1 = _bbox.top + y1; in fillRect() 183 fillRect(_bgnd, Rect(0, 0, _bbox.width(), _bbox.width())); in clear() 243 hy0 = _bbox.top + y0; in drawPicture() 244 hy1 = _bbox.top + y1; in drawPicture() [all …]
|
H A D | window_text_grid.h | 104 _curX = CLIP((int16)_curX, _bbox.left, _bbox.right); in setSize() 105 _curY = CLIP((int16)_curY, _bbox.top, _bbox.bottom); in setSize() 112 _bbox.moveTo(newPos); in setPosition() 113 _curX = CLIP((int16)_curX, _bbox.left, _bbox.right); in setPosition() 114 _curY = CLIP((int16)_curY, _bbox.top, _bbox.bottom); in setPosition()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/ |
H A D | window_pair.cpp | 53 _bbox = box; in rearrange() 70 min = _bbox.left; in rearrange() 71 max = _bbox.right; in rearrange() 73 min = _bbox.top; in rearrange() 74 max = _bbox.bottom; in rearrange() 113 box1.left = _bbox.left; in rearrange() 117 box1.top = _bbox.top; in rearrange() 119 box2.top = _bbox.top; in rearrange() 122 box1.top = _bbox.top; in rearrange() 150 Rect box(child->_bbox.left, child->_yAdj ? child->_bbox.top - child->_yAdj : child->_bbox.top, in redraw() [all …]
|
H A D | window_graphics.cpp | 45 _bbox = box; in rearrange() 95 screen.blitFrom(*_surface, Point(_bbox.left, _bbox.top)); in redraw() 143 hx0 = _bbox.left + x0; in eraseRect() 144 hx1 = _bbox.left + x1; in eraseRect() 145 hy0 = _bbox.top + y0; in eraseRect() 146 hy1 = _bbox.top + y1; in eraseRect() 170 hy0 = _bbox.top + y0; in fillRect() 171 hy1 = _bbox.top + y1; in fillRect() 222 hy0 = _bbox.top + y0; in drawPicture() 223 hy1 = _bbox.top + y1; in drawPicture() [all …]
|
H A D | window_text_grid.h | 103 _curX = CLIP((int16)_curX, _bbox.left, _bbox.right); in setSize() 104 _curY = CLIP((int16)_curY, _bbox.top, _bbox.bottom); in setSize() 111 _bbox.moveTo(newPos); in setPosition() 112 _curX = CLIP((int16)_curX, _bbox.left, _bbox.right); in setPosition() 113 _curY = CLIP((int16)_curY, _bbox.top, _bbox.bottom); in setPosition()
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Arr_geometry_traits/ |
H A D | Bezier_point_2.h | 312 _bbox (pt._bbox) in _Bezier_point_2_rep() 366 _bbox.min_x = x; in _Bezier_point_2_rep() 367 _bbox.max_x = x; in _Bezier_point_2_rep() 368 _bbox.min_y = y; in _Bezier_point_2_rep() 369 _bbox.max_y = y; in _Bezier_point_2_rep() 438 _bbox = pt._bbox; 683 x = CGAL::to_double ((_rep()._bbox.min_x + _rep()._bbox.max_x) / 2); in approximate() 684 y = CGAL::to_double ((_rep()._bbox.min_y + _rep()._bbox.max_y) / 2); in approximate() 924 _rep()._bbox = bbox; in set_bbox() 1139 if (CGAL::compare (_bbox.max_x, pt._bbox.min_x) == SMALLER) in compare_x() [all …]
|
/dports/graphics/wdune/wdune-1.926/vcglib/vcg/complex/algorithms/create/ |
H A D | mc_trivial_walker.h | 167 _bbox = subbox; in SetExtractionBox() 168 _slice_dimension = _bbox.DimX()*_bbox.DimZ(); in SetExtractionBox() 179 _bbox.SetNull(); in TrivialWalker() 194 for (int j=_bbox.min.Y(); j<(_bbox.max.Y()-1)-1; j+=1) 197 for (int i=_bbox.min.X(); i<(_bbox.max.X()-1)-1; i+=1) 199 for (int k=_bbox.min.Z(); k<(_bbox.max.Z()-1)-1; k+=1) 239 int i = p1.X() - _bbox.min.X(); in GetXIntercept() 240 int z = p1.Z() - _bbox.min.Z(); in GetXIntercept() 272 int i = p1.X() - _bbox.min.X(); in GetYIntercept() 273 int z = p1.Z() - _bbox.min.Z(); in GetYIntercept() [all …]
|
/dports/devel/vcglib/vcglib-2020.09/vcg/complex/algorithms/create/ |
H A D | mc_trivial_walker.h | 167 _bbox = subbox; in SetExtractionBox() 168 _slice_dimension = _bbox.DimX()*_bbox.DimZ(); in SetExtractionBox() 179 _bbox.SetNull(); in TrivialWalker() 194 for (int j=_bbox.min.Y(); j<(_bbox.max.Y()-1)-1; j+=1) 197 for (int i=_bbox.min.X(); i<(_bbox.max.X()-1)-1; i+=1) 199 for (int k=_bbox.min.Z(); k<(_bbox.max.Z()-1)-1; k+=1) 239 int i = p1.X() - _bbox.min.X(); in GetXIntercept() 240 int z = p1.Z() - _bbox.min.Z(); in GetXIntercept() 272 int i = p1.X() - _bbox.min.X(); in GetYIntercept() 273 int z = p1.Z() - _bbox.min.Z(); in GetYIntercept() [all …]
|
/dports/print/texlive-base/texlive-20150521-source/texk/dvisvgm/dvisvgm-1.9.2/src/ |
H A D | PSPattern.cpp | 48 : PSPattern(id), _bbox(bbox), _matrix(matrix), _xstep(xstep), _ystep(ystep), _groupNode(0) in PSTilingPattern() 63 BoundingBox box(_bbox.minX(), _bbox.minY(), _bbox.minX()+_xstep, _bbox.minY()+_ystep); in createPatternNode() 74 if (_xstep < _bbox.width() || _ystep < _bbox.height()) { // overlapping tiles? in createPatternNode() 91 rect->addAttribute("x", _bbox.minX()); in createClipNode() 92 rect->addAttribute("y", _bbox.minY()); in createClipNode() 93 rect->addAttribute("width", _bbox.width()); in createClipNode() 94 rect->addAttribute("height", _bbox.height()); in createClipNode()
|
H A D | EPSToSVG.h | 56 void embed (const BoundingBox &bbox) {_bbox.embed(bbox);} in embed() 57 void embed (const DPair &p, double r=0) {if (r==0) _bbox.embed(p); else _bbox.embed(p, r);} 60 BoundingBox& bbox () {return _bbox;} in bbox() 61 BoundingBox& bbox (const std::string &name, bool reset=false) {return _bbox;} 69 BoundingBox _bbox; variable
|
/dports/audio/muse-sequencer/muse-4.0.0/src/muse/components/ |
H A D | citem.h | 98 QRect _bbox; variable 105 int width() const { return _bbox.width(); } in width() 106 void setWidth(int l) { _bbox.setWidth(l); } in setWidth() 107 void setHeight(int l) { _bbox.setHeight(l); } in setHeight() 112 void setY(int y) { _bbox.setY(y); } in setY() 115 int height() const { return _bbox.height(); } in height() 116 QRect bbox() const { return _bbox; } in bbox() 117 void setBBox(const QRect& r) { _bbox = r; } in setBBox() 119 _bbox.moveTopLeft(tl); in move() 123 _bbox.setTopLeft(tl); in setTopLeft() [all …]
|
/dports/devel/vcglib/vcglib-2020.09/vcg/space/index/ |
H A D | grid_static_ptr.h | 245 Box3<FLT> _bbox; variable 250 _bbox.Add(b); 260 Set(_oBegin,_oEnd,_bbox,_size); 272 Box3<FLT> _bbox; in SetWithRadius() local 277 _bbox.Add(b); in SetWithRadius() 284 Point3<FLT> _dim = _bbox.max - _bbox.min; in SetWithRadius() 291 Set(_oBegin,_oEnd, _bbox,_siz); in SetWithRadius() 305 Point3<FLT> _dim = _bbox.max - _bbox.min; 309 Set(_oBegin,_oEnd,_bbox,_siz); 320 this->bbox=_bbox; in Set() [all …]
|
H A D | grid_static_ptr2d.h | 67 const Box2x &_bbox, in Set() argument 70 this->bbox=_bbox; in Set() 104 const Box2x &_bbox) in Set() argument 108 Point2<FLT> _dim = _bbox.max - _bbox.min; in Set() 114 Set(_oBegin,_oEnd,_bbox,_siz); in Set() 165 const vcg::Box2<ScalarType> _bbox, in GetInBox() argument 169 (*this,_marker,_bbox,_objectPtrs)); in GetInBox()
|
H A D | spatial_hashing2d.h | 337 void InitEmpty(const Box2x &_bbox, vcg::Point2i grid_size) in InitEmpty() argument 345 assert(!_bbox.IsNull()); in InitEmpty() 346 bbox=_bbox; in InitEmpty() 397 bool subdivideBox=false,const Box2x &_bbox=Box2x() ) 407 if(!_bbox.IsNull()) this->bbox=_bbox; 435 … const Point2i & cellsize=Point2i(-1,-1), bool subdivideBox=false,const Box2x &_bbox=Box2x() ) 445 if(!_bbox.IsNull()) this->bbox=_bbox; 543 const Box2x _bbox, in GetInBox() argument 548 (*this,_marker,_bbox,_objectPtrs)); in GetInBox() 553 const std::vector<Box2x> &_bbox, in GetInBoxes() argument [all …]
|
/dports/graphics/wdune/wdune-1.926/vcglib/vcg/space/index/ |
H A D | grid_static_ptr.h | 247 Box3<FLT> _bbox; variable 252 _bbox.Add(b); 262 Set(_oBegin,_oEnd,_bbox,_size); 274 Box3<FLT> _bbox; in SetWithRadius() local 279 _bbox.Add(b); in SetWithRadius() 286 Point3<FLT> _dim = _bbox.max - _bbox.min; in SetWithRadius() 293 Set(_oBegin,_oEnd, _bbox,_siz); in SetWithRadius() 307 Point3<FLT> _dim = _bbox.max - _bbox.min; 311 Set(_oBegin,_oEnd,_bbox,_siz); 322 this->bbox=_bbox; in Set() [all …]
|
H A D | grid_static_ptr2d.h | 67 const Box2x &_bbox, in Set() argument 70 this->bbox=_bbox; in Set() 104 const Box2x &_bbox) in Set() argument 108 Point2<FLT> _dim = _bbox.max - _bbox.min; in Set() 114 Set(_oBegin,_oEnd,_bbox,_siz); in Set() 165 const vcg::Box2<ScalarType> _bbox, in GetInBox() argument 169 (*this,_marker,_bbox,_objectPtrs)); in GetInBox()
|
H A D | spatial_hashing2d.h | 337 void InitEmpty(const Box2x &_bbox, vcg::Point2i grid_size) in InitEmpty() argument 345 assert(!_bbox.IsNull()); in InitEmpty() 346 bbox=_bbox; in InitEmpty() 397 bool subdivideBox=false,const Box2x &_bbox=Box2x() ) 407 if(!_bbox.IsNull()) this->bbox=_bbox; 435 … const Point2i & cellsize=Point2i(-1,-1), bool subdivideBox=false,const Box2x &_bbox=Box2x() ) 445 if(!_bbox.IsNull()) this->bbox=_bbox; 543 const Box2x _bbox, in GetInBox() argument 548 (*this,_marker,_bbox,_objectPtrs)); in GetInBox() 553 const std::vector<Box2x> &_bbox, in GetInBoxes() argument [all …]
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osg/ |
H A D | Geode.cpp | 68 _bbox.init(); in computeBound() 79 _bbox.expandBy(drawable->getBoundingBox()); in computeBound() 83 _bbox.expandBy((*itr)->getBound()); in computeBound() 88 if (_bbox.valid()) in computeBound() 90 bsphere.expandBy(_bbox); in computeBound()
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osg/ |
H A D | Geode.cpp | 68 _bbox.init(); in computeBound() 79 _bbox.expandBy(drawable->getBoundingBox()); in computeBound() 83 _bbox.expandBy((*itr)->getBound()); in computeBound() 88 if (_bbox.valid()) in computeBound() 90 bsphere.expandBy(_bbox); in computeBound()
|
/dports/cad/openroad/OpenROAD-2.0/src/OpenDB/src/db/ |
H A D | dbObstruction.cpp | 54 _bbox(o._bbox), in _dbObstruction() 81 stream << obs._bbox; in operator <<() 92 stream >> obs._bbox; in operator >>() 119 if (_bbox != rhs._bbox) in operator ==() 161 DIFF_OBJECT(_bbox, lhs_blk->_box_tbl, rhs_blk->_box_tbl); in differences() 190 DIFF_OUT_OBJECT(_bbox, blk->_box_tbl); in out() 198 _dbBox* lhs_box = lhs_block->_box_tbl->getPtr(_bbox); in operator <() 199 _dbBox* rhs_box = rhs_block->_box_tbl->getPtr(rhs._bbox); in operator <() 279 return (dbBox*) block->_box_tbl->getPtr(obs->_bbox); in getBBox() 394 obs->_bbox = box->getOID(); in create()
|