Home
last modified time | relevance | path

Searched refs:newBounds (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/dports/www/gohugo/hugo-0.91.2/vendor/github.com/nfnt/resize/
H A Dconverter.go50 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
51 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
99 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
101 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
141 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
143 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
192 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
194 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
242 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
301 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
[all …]
H A Dnearest.go41 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
42 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
86 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
88 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
125 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
127 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
164 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
166 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
211 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
258 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
[all …]
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/nfnt/resize/
H A Dconverter.go50 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
51 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
99 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
101 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
141 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
143 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
192 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
194 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
242 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
301 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
[all …]
H A Dnearest.go41 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
42 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
86 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
88 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
125 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
127 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
164 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
166 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
211 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
258 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
[all …]
/dports/security/keybase/client-v5.7.1/go/vendor/github.com/nfnt/resize/
H A Dconverter.go50 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
51 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
99 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
101 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
141 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
143 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
192 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
194 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
242 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
301 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
[all …]
H A Dnearest.go41 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
42 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
86 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
88 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
125 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
127 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
164 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
166 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
211 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
258 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
[all …]
/dports/www/gitea/gitea-1.16.5/vendor/github.com/nfnt/resize/
H A Dconverter.go50 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
51 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
99 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
101 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
141 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
143 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
192 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
194 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
242 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
301 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
[all …]
H A Dnearest.go41 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
42 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
86 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
88 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
125 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
127 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
164 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
166 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
211 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
258 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
[all …]
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/nfnt/resize/
H A Dconverter.go50 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
51 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
99 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
101 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
141 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
143 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
192 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
194 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
242 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
301 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
[all …]
H A Dnearest.go41 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
42 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
86 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
88 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
125 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
127 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
164 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
166 for y := newBounds.Min.Y; y < newBounds.Max.Y; y++ {
211 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
258 for x := newBounds.Min.X; x < newBounds.Max.X; x++ {
[all …]
/dports/audio/carla/Carla-2.4.1/source/modules/juce_gui_basics/layout/
H A Djuce_ResizableEdgeComponent.cpp77 auto newBounds = originalBounds; in mouseDrag() local
81 …case leftEdge: newBounds.setLeft (jmin (newBounds.getRight(), newBounds.getX() + e.getDistanc… in mouseDrag()
82 …case rightEdge: newBounds.setWidth (jmax (0, newBounds.getWidth() + e.getDistanceFromDragStart… in mouseDrag()
83 …case topEdge: newBounds.setTop (jmin (newBounds.getBottom(), newBounds.getY() + e.getDistanc… in mouseDrag()
84 …case bottomEdge: newBounds.setHeight (jmax (0, newBounds.getHeight() + e.getDistanceFromDragSta… in mouseDrag()
90 constrainer->setBoundsForComponent (component, newBounds, in mouseDrag()
99 p->applyNewBounds (newBounds); in mouseDrag()
101 component->setBounds (newBounds); in mouseDrag()
/dports/devel/juce/JUCE-f37e9a1/modules/juce_gui_basics/layout/
H A Djuce_ResizableEdgeComponent.cpp77 auto newBounds = originalBounds; in mouseDrag() local
81 …case leftEdge: newBounds.setLeft (jmin (newBounds.getRight(), newBounds.getX() + e.getDistanc… in mouseDrag()
82 …case rightEdge: newBounds.setWidth (jmax (0, newBounds.getWidth() + e.getDistanceFromDragStart… in mouseDrag()
83 …case topEdge: newBounds.setTop (jmin (newBounds.getBottom(), newBounds.getY() + e.getDistanc… in mouseDrag()
84 …case bottomEdge: newBounds.setHeight (jmax (0, newBounds.getHeight() + e.getDistanceFromDragSta… in mouseDrag()
90 constrainer->setBoundsForComponent (component, newBounds, in mouseDrag()
99 p->applyNewBounds (newBounds); in mouseDrag()
101 component->setBounds (newBounds); in mouseDrag()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/pegasus/
H A Dtransition.cpp139 Common::Rect oldBounds, newBounds; in draw() local
141 adjustSlideRects(oldBounds, newBounds); in draw()
142 drawElements(r, oldBounds, newBounds); in draw()
147 newBounds = _bounds; in adjustSlideRects()
152 drawSlideElement(drawRect, newBounds, _inPicture); in drawElements()
166 newBounds.right = newBounds.left + _boundsWidth; in adjustSlideRects()
172 newBounds.left = newBounds.right - _boundsWidth; in adjustSlideRects()
175 newBounds.left = oldBounds.left = _bounds.left; in adjustSlideRects()
184 newBounds.top = newBounds.bottom - _boundsHeight; in adjustSlideRects()
188 newBounds.bottom = newBounds.top + _boundsHeight; in adjustSlideRects()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/pegasus/
H A Dtransition.cpp139 Common::Rect oldBounds, newBounds; in draw() local
141 adjustSlideRects(oldBounds, newBounds); in draw()
142 drawElements(r, oldBounds, newBounds); in draw()
147 newBounds = _bounds; in adjustSlideRects()
152 drawSlideElement(drawRect, newBounds, _inPicture); in drawElements()
166 newBounds.right = newBounds.left + _boundsWidth; in adjustSlideRects()
172 newBounds.left = newBounds.right - _boundsWidth; in adjustSlideRects()
175 newBounds.left = oldBounds.left = _bounds.left; in adjustSlideRects()
184 newBounds.top = newBounds.bottom - _boundsHeight; in adjustSlideRects()
188 newBounds.bottom = newBounds.top + _boundsHeight; in adjustSlideRects()
[all …]
/dports/science/cdk/cdk-cdk-2.3/display/renderbasic/src/test/java/org/openscience/cdk/renderer/generators/standard/
H A DAtomSymbolTest.java114 Rectangle2D newBounds = transformed.getOutlines().get(0).getBounds2D(); in testResize() local
127 Rectangle2D newBounds = transformed.getOutlines().get(0).getBounds2D(); in testCenter() local
132 assertThat(newBounds.getX(), closeTo(oBounds.getMinX() + dx, 0.01)); in testCenter()
133 assertThat(newBounds.getY(), closeTo(oBounds.getMinY() + dy, 0.01)); in testCenter()
134 assertThat(newBounds.getMaxX(), closeTo(oBounds.getMaxX() + dx, 0.01)); in testCenter()
135 assertThat(newBounds.getMaxY(), closeTo(oBounds.getMaxY() + dy, 0.01)); in testCenter()
144 Rectangle2D newBounds = transformed.getOutlines().get(0).getBounds2D(); in testTranslate() local
145 assertThat(newBounds.getX(), closeTo(orgBounds.getX() + 4, 0.01)); in testTranslate()
146 assertThat(newBounds.getY(), closeTo(orgBounds.getY() + 2, 0.01)); in testTranslate()
159 assertThat(newBounds.getX(), closeTo(orgBounds.getX() + 4, 0.01)); in testTranslateAdjunct()
[all …]
/dports/devel/juce/JUCE-f37e9a1/modules/juce_audio_processors/processors/
H A Djuce_AudioProcessorEditor.cpp147 void AudioProcessorEditor::setBoundsConstrained (Rectangle<int> newBounds) in setBoundsConstrained() argument
151 setBounds (newBounds); in setBoundsConstrained()
158 newBounds, in setBoundsConstrained()
159newBounds.getY() != currentBounds.getY() && newBounds.getBottom() == currentBounds.getBottom(), in setBoundsConstrained()
160newBounds.getX() != currentBounds.getX() && newBounds.getRight() == currentBounds.getRight(), in setBoundsConstrained()
161newBounds.getY() == currentBounds.getY() && newBounds.getBottom() != currentBounds.getBottom(), in setBoundsConstrained()
162newBounds.getX() == currentBounds.getX() && newBounds.getRight() != currentBounds.getRight()); in setBoundsConstrained()
/dports/devel/juce/JUCE-f37e9a1/extras/Projucer/Source/ComponentEditor/PaintElements/
H A Djucer_PaintElement.cpp126 newBounds (bounds), in ChangePaintElementBoundsAction()
134 getElement()->setBounds (newBounds); in perform()
146 Rectangle<int> newBounds, oldBounds; member in ChangePaintElementBoundsAction
155 newBounds (bounds), in ChangePaintElementBoundsAndPropertiesAction()
185 Rectangle<int> newBounds, oldBounds; member in ChangePaintElementBoundsAndPropertiesAction
210 if (getBounds() != newBounds) in setPaintElementBounds()
218 setBounds (newBounds); in setPaintElementBounds()
275 jmax (1, newBounds.getWidth()), in setCurrentBounds()
570 if (getBounds() != newBounds) in applyBoundsToComponent()
574 auto dX = newBounds.getX() - getX(); in applyBoundsToComponent()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sherlock/
H A Dscreen.cpp224 slamRect(newBounds); in flushImage()
229 *xp = newBounds.left; in flushImage()
230 *yp = newBounds.top; in flushImage()
231 *width_ = newBounds.width(); in flushImage()
232 *height_ = newBounds.height(); in flushImage()
253 slamRect(newBounds); in flushScaleImage()
258 *xp = newBounds.left; in flushScaleImage()
259 *yp = newBounds.top; in flushScaleImage()
260 *width_ = newBounds.width(); in flushScaleImage()
265 Common::Point newPos(newBounds.left, newBounds.top); in flushImage()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/sherlock/
H A Dscreen.cpp224 slamRect(newBounds); in flushImage()
229 *xp = newBounds.left; in flushImage()
230 *yp = newBounds.top; in flushImage()
231 *width_ = newBounds.width(); in flushImage()
232 *height_ = newBounds.height(); in flushImage()
253 slamRect(newBounds); in flushScaleImage()
258 *xp = newBounds.left; in flushScaleImage()
259 *yp = newBounds.top; in flushScaleImage()
260 *width_ = newBounds.width(); in flushScaleImage()
265 Common::Point newPos(newBounds.left, newBounds.top); in flushImage()
[all …]
/dports/audio/carla/Carla-2.4.1/source/modules/juce_gui_extra/native/
H A Djuce_linux_XEmbedComponent.cpp204 auto newBounds = getX11BoundsFromJuce(); in setClient() local
287 auto newBounds = getX11BoundsFromJuce(); in componentMovedOrResized() local
293 if (currentBounds != newBounds) in componentMovedOrResized()
295 … X11Symbols::getInstance()->xMoveResizeWindow (dpy, host, newBounds.getX(), newBounds.getY(), in componentMovedOrResized()
305 if ((currentBounds.getWidth() != newBounds.getWidth() in componentMovedOrResized()
453 newBounds = owner.getLocalArea (&peer->getComponent(), newBounds); in configureNotify()
455 jassert (newBounds.getX() == 0 && newBounds.getY() == 0); in configureNotify()
457 if (newBounds != owner.getLocalBounds()) in configureNotify()
458 owner.setSize (newBounds.getWidth(), newBounds.getHeight()); in configureNotify()
471 Rectangle<int> newBounds = getX11BoundsFromJuce(); in peerChanged() local
[all …]
/dports/devel/juce/JUCE-f37e9a1/modules/juce_gui_extra/native/
H A Djuce_linux_XEmbedComponent.cpp204 auto newBounds = getX11BoundsFromJuce(); in setClient() local
287 auto newBounds = getX11BoundsFromJuce(); in componentMovedOrResized() local
293 if (currentBounds != newBounds) in componentMovedOrResized()
295 … X11Symbols::getInstance()->xMoveResizeWindow (dpy, host, newBounds.getX(), newBounds.getY(), in componentMovedOrResized()
305 if ((currentBounds.getWidth() != newBounds.getWidth() in componentMovedOrResized()
453 newBounds = owner.getLocalArea (&peer->getComponent(), newBounds); in configureNotify()
455 jassert (newBounds.getX() == 0 && newBounds.getY() == 0); in configureNotify()
457 if (newBounds != owner.getLocalBounds()) in configureNotify()
458 owner.setSize (newBounds.getWidth(), newBounds.getHeight()); in configureNotify()
471 Rectangle<int> newBounds = getX11BoundsFromJuce(); in peerChanged() local
[all …]
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/ui/editor/
H A DCropRotateManager.java56 newBounds = limitRotation(newBounds); in cropCommitted()
57 engine.setCropBounds(newBounds); in cropCommitted()
58 double angle = newBounds.getAngle(); in cropCommitted()
69 CropBounds newBounds = getUncroppedBounds(); in unCrop() local
70 engine.setCropBounds(newBounds); in unCrop()
133 engine.setCropBounds(newBounds); in angleChanged()
134 if (! newBounds.isAngleOnly()) { in angleChanged()
135 cropMode.setCrop(newBounds); in angleChanged()
138 postEdit(newBounds, LOCALE.get("RotateEditName"), true ); in angleChanged()
163 bounds = newBounds; in postEdit()
[all …]
/dports/graphics/aseprite/aseprite-1.2.9/src/app/commands/
H A Dcmd_rotate.cpp58 void rotate_rect(gfx::RectT<T>& newBounds) { in rotate_rect() argument
59 const gfx::RectT<T> bounds = newBounds; in rotate_rect()
62 newBounds.x = sprite()->width() - bounds.x - bounds.w; in rotate_rect()
63 newBounds.y = sprite()->height() - bounds.y - bounds.h; in rotate_rect()
67 newBounds.y = bounds.x; in rotate_rect()
68 newBounds.w = bounds.h; in rotate_rect()
69 newBounds.h = bounds.w; in rotate_rect()
72 newBounds.x = bounds.y; in rotate_rect()
73 newBounds.y = sprite()->width() - bounds.x - bounds.w; in rotate_rect()
74 newBounds.w = bounds.h; in rotate_rect()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/
H A DTrimmedPartLayout.java124 if (!newBounds.equals(top.getBounds())) { in layout()
125 top.setBounds(newBounds); in layout()
139 Rectangle newBounds = new Rectangle(caRect.x, caRect.y in layout() local
141 if (!newBounds.equals(bottom.getBounds())) { in layout()
142 bottom.setBounds(newBounds); in layout()
154 Rectangle newBounds = new Rectangle(caRect.x - leftSize.x, in layout() local
156 if (!newBounds.equals(left.getBounds())) { in layout()
157 left.setBounds(newBounds); in layout()
170 Rectangle newBounds = new Rectangle(caRect.x + caRect.width, in layout() local
172 if (!newBounds.equals(right.getBounds())) { in layout()
[all …]
/dports/audio/carla/Carla-2.4.1/source/modules/juce_gui_basics/buttons/
H A Djuce_ShapeButton.cpp84 auto newBounds = shape.getBounds(); in setShape() local
87 newBounds = newBounds.expanded (4.0f); in setShape()
89 shape.applyTransform (AffineTransform::translation (-newBounds.getX(), in setShape()
90 -newBounds.getY())); in setShape()
92 setSize (1 + (int) (newBounds.getWidth() + outlineWidth) + border.getLeftAndRight(), in setShape()
93 1 + (int) (newBounds.getHeight() + outlineWidth) + border.getTopAndBottom()); in setShape()

12345678910>>...19