/dports/games/scummvm/scummvm-2.5.1/engines/titanic/pet_control/ |
H A D | pet_element.cpp | 36 bool result = _bounds.contains(pt); in MouseButtonDownMsg() 43 bool result = _bounds.contains(pt); in MouseButtonUpMsg() 50 return _bounds.contains(pt); in MouseDoubleClickMsg() 54 bool result = _bounds.contains(pt); in MouseMoveMsg() 61 return _bounds.contains(pt); in contains2()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/titanic/gfx/ |
H A D | edit_control.cpp | 79 _editHeight = _bounds.height(); in EditControlMsg() 80 _editBottom = _bounds.bottom; in EditControlMsg() 81 _editLeft = _bounds.left + _bounds.width() / 2; in EditControlMsg() 200 _bounds.left = _editLeft - textWidth / 2; in EditControlMsg() 201 _bounds.setWidth(textWidth + 16); in EditControlMsg() 209 textCursor->setPos(Point(_bounds.left + textWidth + 1, _bounds.top + 3)); in EditControlMsg()
|
/dports/games/scummvm/scummvm-2.5.1/engines/titanic/gfx/ |
H A D | edit_control.cpp | 79 _editHeight = _bounds.height(); in EditControlMsg() 80 _editBottom = _bounds.bottom; in EditControlMsg() 81 _editLeft = _bounds.left + _bounds.width() / 2; in EditControlMsg() 200 _bounds.left = _editLeft - textWidth / 2; in EditControlMsg() 201 _bounds.setWidth(textWidth + 16); in EditControlMsg() 209 textCursor->setPos(Point(_bounds.left + textWidth + 1, _bounds.top + 3)); in EditControlMsg()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/titanic/carry/ |
H A D | arm.cpp | 91 Point newPos(_bounds.left + msg->_delta.x, _bounds.top + msg->_delta.y); in TranslateObjectMsg() 103 hookedMsg._rect.translate(_bounds.left, _bounds.top); in UseWithOtherMsg() 113 hookedMsg._rect.translate(_bounds.left, _bounds.top); in UseWithOtherMsg() 134 _centroid = msg->_mousePos - _bounds; in MouseDragStartMsg()
|
/dports/science/py-scipy/scipy-1.7.1/benchmarks/benchmarks/go_benchmark_functions/ |
H A D | go_funcs_A.py | 36 self._bounds = list(zip([-35.0] * self.N, [35.0] * self.N)) 74 self._bounds = list(zip([-32.0] * self.N, [32.0] * self.N)) 113 self._bounds = list(zip([-32.0] * self.N, [32.0] * self.N)) 149 self._bounds = ([-1.0, 2.0], [-1.0, 1.0]) 186 self._bounds = list(zip([-10.0] * self.N, [10.0] * self.N)) 226 self._bounds = list(zip([0.0] * self.N, [10.0] * self.N)) 265 self._bounds = list(zip([0.0] * self.N, [10.0] * self.N))
|
H A D | go_funcs_E.py | 37 self._bounds = list(zip([-100.0] * self.N, 64 self._bounds = list(zip([0., 1., 10.], 128 self._bounds = list(zip([-5.0] * self.N, [5.0] * self.N)) 169 self._bounds = list(zip([-512.1] * self.N, 210 self._bounds = list(zip([-100.0] * self.N, 250 self._bounds = list(zip([0.0] * self.N, [20.0] * self.N)) 295 self._bounds = list(zip([-1.0] * self.N, [1.0] * self.N))
|
H A D | go_funcs_H.py | 36 self._bounds = list(zip([-10.0] * self.N, [10.0] * self.N)) 96 self._bounds = list(zip([0.0] * self.N, [1.0] * self.N)) 180 self._bounds = list(zip([0.0] * self.N, [1.0] * self.N)) 244 self._bounds = list(zip([-10.] * self.N, [10.] * self.N)) 283 self._bounds = list(zip([-5.] * self.N, [5.] * self.N)) 323 self._bounds = list(zip([-10.0] * self.N, [10.0] * self.N)) 364 self._bounds = ([0., 5.], [0., 6.])
|
H A D | go_funcs_W.py | 42 self._bounds = list(zip([-5.0] * self.N, [5.0] * self.N)) 93 self._bounds = list(zip([-pi] * self.N, [pi] * self.N)) 131 self._bounds = list(zip([-5.0] * self.N, [5.0] * self.N)) 170 self._bounds = list(zip([-500.0] * self.N, 222 self._bounds = list(zip([-0.5] * self.N, [0.5] * self.N)) 271 self._bounds = list(zip([-10.24] * self.N, 315 self._bounds = list(zip([0.0] * self.N, [2.0] * self.N))
|
/dports/games/scummvm/scummvm-2.5.1/engines/titanic/carry/ |
H A D | arm.cpp | 91 Point newPos(_bounds.left + msg->_delta.x, _bounds.top + msg->_delta.y); in TranslateObjectMsg() 103 hookedMsg._rect.translate(_bounds.left, _bounds.top); in UseWithOtherMsg() 113 hookedMsg._rect.translate(_bounds.left, _bounds.top); in UseWithOtherMsg() 134 _centroid = msg->_mousePos - _bounds; in MouseDragStartMsg()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/titanic/core/ |
H A D | game_object.cpp | 211 if (_text && _bounds.intersects(getGameManager()->_bounds)) in draw() 227 if (!_bounds.width() || !_bounds.height()) in draw() 238 if (_bounds.intersects(getGameManager()->_bounds)) { in draw() 240 Point destPos(_bounds.left, _bounds.top); in draw() 288 pixelPos.y = ((_bounds.height() - _bounds.top) / 2) * 2 - pixelPos.y; in checkPoint() 305 for (; pt.y < _bounds.bottom; ++pt.y, pt.x = _bounds.left) { in findPoint() 455 makeDirty(_bounds); in makeDirty() 732 _savedPos = _bounds; in savePosition() 1108 Rect rect = _bounds; in setTextBounds() 1242 return Point(_bounds.left + _bounds.width() / 2, in getControid() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/titanic/core/ |
H A D | game_object.cpp | 211 if (_text && _bounds.intersects(getGameManager()->_bounds)) in draw() 227 if (!_bounds.width() || !_bounds.height()) in draw() 238 if (_bounds.intersects(getGameManager()->_bounds)) { in draw() 240 Point destPos(_bounds.left, _bounds.top); in draw() 288 pixelPos.y = ((_bounds.height() - _bounds.top) / 2) * 2 - pixelPos.y; in checkPoint() 305 for (; pt.y < _bounds.bottom; ++pt.y, pt.x = _bounds.left) { in findPoint() 455 makeDirty(_bounds); in makeDirty() 732 _savedPos = _bounds; in savePosition() 1108 Rect rect = _bounds; in setTextBounds() 1242 return Point(_bounds.left + _bounds.width() / 2, in getControid() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/voyeur/ |
H A D | screen.cpp | 154 …Common::Point offset = Common::Point(initialOffset.x + srcPic->_bounds.left - destPic->_bounds.lef… in sDrawPic() 155 initialOffset.y + srcPic->_bounds.top - destPic->_bounds.top); in sDrawPic() 156 width1 = width2 = srcPic->_bounds.width(); in sDrawPic() 157 height1 = srcPic->_bounds.height(); in sDrawPic() 174 newBounds = Common::Rect(0, 0, destPic->_bounds.width(), destPic->_bounds.height()); in sDrawPic() 375 width2 = srcPic->_bounds.width(); in sDrawPic() 452 width2 = srcPic->_bounds.width(); in sDrawPic() 579 width2 = srcPic->_bounds.width(); in sDrawPic() 661 width2 = srcPic->_bounds.width(); in sDrawPic() 739 width2 = srcPic->_bounds.width(); in sDrawPic() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/voyeur/ |
H A D | screen.cpp | 154 …Common::Point offset = Common::Point(initialOffset.x + srcPic->_bounds.left - destPic->_bounds.lef… in sDrawPic() 155 initialOffset.y + srcPic->_bounds.top - destPic->_bounds.top); in sDrawPic() 156 width1 = width2 = srcPic->_bounds.width(); in sDrawPic() 157 height1 = srcPic->_bounds.height(); in sDrawPic() 174 newBounds = Common::Rect(0, 0, destPic->_bounds.width(), destPic->_bounds.height()); in sDrawPic() 375 width2 = srcPic->_bounds.width(); in sDrawPic() 452 width2 = srcPic->_bounds.width(); in sDrawPic() 579 width2 = srcPic->_bounds.width(); in sDrawPic() 661 width2 = srcPic->_bounds.width(); in sDrawPic() 739 width2 = srcPic->_bounds.width(); in sDrawPic() [all …]
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/display/control/ |
H A D | canvas-item-rect.cpp | 112 _canvas->redraw_area(_bounds); in update() 118 _bounds = _rect; in update() 119 _bounds *= _affine; in update() 120 _bounds.expandBy(2*_shadow_width + 2); // Room for stroke. in update() 123 _canvas->redraw_area(_bounds); in update() 138 if (!_bounds.intersects(buf->rect)) { in render() 265 _canvas->redraw_area(_bounds); in set_dashed() 273 _canvas->redraw_area(_bounds); in set_inverted() 282 _canvas->redraw_area(_bounds); in set_shadow()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/mads/ |
H A D | assets.h | 43 Common::Rect _bounds; member 102 …index < _frameCount); return Common::Point(_frames[index]._bounds.left, _frames[index]._bounds.top… in getFramePos() 103 …int getFrameWidth(int index) { assert (index < _frameCount); return _frames[index]._bounds.width()… in getFrameWidth() 104 …int getFrameHeight(int index) { assert (index < _frameCount); return _frames[index]._bounds.height… in getFrameHeight()
|
/dports/games/scummvm/scummvm-2.5.1/engines/mads/ |
H A D | assets.h | 42 Common::Rect _bounds; member 102 …index < _frameCount); return Common::Point(_frames[index]._bounds.left, _frames[index]._bounds.top… in getFramePos() 103 …int getFrameWidth(int index) { assert (index < _frameCount); return _frames[index]._bounds.width()… in getFrameWidth() 104 …int getFrameHeight(int index) { assert (index < _frameCount); return _frames[index]._bounds.height… in getFrameHeight()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/pink/objects/actions/ |
H A D | action_cel.cpp | 86 _bounds = Common::Rect::center(point.x, point.y, _decoder.getWidth(), _decoder.getHeight()); in loadDecoder() 98 _actor->getPage()->getGame()->getDirector()->addDirtyRect(_bounds); in setFrame() 107 _actor->getPage()->getGame()->getDirector()->addDirtyRect(_bounds); in setCenter() 108 _bounds = Common::Rect::center(center.x, center.y, _decoder.getWidth(), _decoder.getHeight()); in setCenter() 109 _actor->getPage()->getGame()->getDirector()->addDirtyRect(_bounds); in setCenter()
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/shared/gfx/ |
H A D | text_input.cpp | 41 _bounds = Rect(pt.x, pt.y, pt.x + 8 * (maxCharacters + 1), pt.y + 8); in BEGIN_MESSAGE_MAP() 44 _game->_textCursor->setPosition(Point(_bounds.left, _bounds.top)); in BEGIN_MESSAGE_MAP() 54 _game->_textCursor->setPosition(Point(_bounds.left + _text.size() * 8, _bounds.top)); in draw()
|
H A D | visual_item.cpp | 58 Graphics::ManagedSurface src(*g_vm->_screen, _bounds); in getSurface() 59 return VisualSurface(src, _bounds, getGame()); in getSurface() 63 _bounds = r; in setBounds() 68 _bounds.moveTo(pt); in setPosition()
|
/dports/games/scummvm/scummvm-2.5.1/engines/pink/objects/actions/ |
H A D | action_cel.cpp | 86 _bounds = Common::Rect::center(point.x, point.y, _decoder.getWidth(), _decoder.getHeight()); in loadDecoder() 98 _actor->getPage()->getGame()->getDirector()->addDirtyRect(_bounds); in setFrame() 107 _actor->getPage()->getGame()->getDirector()->addDirtyRect(_bounds); in setCenter() 108 _bounds = Common::Rect::center(center.x, center.y, _decoder.getWidth(), _decoder.getHeight()); in setCenter() 109 _actor->getPage()->getGame()->getDirector()->addDirtyRect(_bounds); in setCenter()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/wage/ |
H A D | design.cpp | 76 _bounds = NULL; in Design() 93 _bounds->debugPrint(4, "Internal bounds:"); in paint() 96 if (_bounds->right == -10000) { in paint() 97 _bounds->left = _bounds->top = _bounds->right = _bounds->bottom = 0; in paint() 99 _bounds->debugPrint(4, "Calculated bounds:"); in paint() 102 _surface->create(_bounds->width(), _bounds->height(), Graphics::PixelFormat::createFormatCLUT8()); in paint() 109 _bounds->debugPrint(4, "Using bounds:"); in paint() 135 if (_bounds->width() && _bounds->height()) { in paint() 137 …Common::Rect from(padding, padding, _bounds->width() - 2 * padding, _bounds->height() - 2 * paddin… in paint() 197 _bounds->right = MAX(x, _bounds->right); in adjustBounds() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/wage/ |
H A D | design.cpp | 76 _bounds = NULL; in Design() 93 _bounds->debugPrint(4, "Internal bounds:"); in paint() 96 if (_bounds->right == -10000) { in paint() 97 _bounds->left = _bounds->top = _bounds->right = _bounds->bottom = 0; in paint() 99 _bounds->debugPrint(4, "Calculated bounds:"); in paint() 102 _surface->create(_bounds->width(), _bounds->height(), Graphics::PixelFormat::createFormatCLUT8()); in paint() 109 _bounds->debugPrint(4, "Using bounds:"); in paint() 135 if (_bounds->width() && _bounds->height()) { in paint() 139 Common::Rect from(padding, padding, _bounds->width(), _bounds->height()); in paint() 199 _bounds->right = MAX(x, _bounds->right); in adjustBounds() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima4/views/ |
H A D | imageview.cpp | 40 info->_image->draw(SCALED(_bounds.left + x), SCALED(_bounds.top + y)); in draw() 49 info->_image->drawSubRect(SCALED(_bounds.left + x), SCALED(_bounds.top + y), in draw()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/access/ |
H A D | bubble_box.cpp | 209 xp = (_bounds.width() - width) / 2 + _bounds.left - 4; in printBubble_v2() 221 _bounds = _bubbles[index]; in drawBubble() 263 _vm->_screen->_orgY1 = _bounds.top; in doBox() 265 _vm->_screen->_orgY2 = _bounds.bottom; in doBox() 270 int w = _bounds.width() - 24; in doBox() 319 _bounds.left + (_bounds.width() / 2) - (titleWidth / 2), _bounds.top + 1)); in doBox() 456 Common::Rect r = _bounds; in doBox_v1() 463 _vm->_screen->_orgY1 = _bounds.top; in doBox_v1() 589 int newX = _bounds.top >> 3; in doBox_v1() 592 _boxPStartX = _bounds.left >> 3; in doBox_v1() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/access/ |
H A D | bubble_box.cpp | 209 xp = (_bounds.width() - width) / 2 + _bounds.left - 4; in printBubble_v2() 221 _bounds = _bubbles[index]; in drawBubble() 263 _vm->_screen->_orgY1 = _bounds.top; in doBox() 265 _vm->_screen->_orgY2 = _bounds.bottom; in doBox() 270 int w = _bounds.width() - 24; in doBox() 319 _bounds.left + (_bounds.width() / 2) - (titleWidth / 2), _bounds.top + 1)); in doBox() 456 Common::Rect r = _bounds; in doBox_v1() 463 _vm->_screen->_orgY1 = _bounds.top; in doBox_v1() 589 int newX = _bounds.top >> 3; in doBox_v1() 592 _boxPStartX = _bounds.left >> 3; in doBox_v1() [all …]
|