Home
last modified time | relevance | path

Searched refs:getWidth (Results 76 – 100 of 15968) sorted by relevance

12345678910>>...639

/dports/java/jfreechart/jfreechart-1.0.17/source/org/jfree/chart/plot/
H A DWaferMapPlot.java283 if (plotArea.getWidth() != plotArea.getHeight()) { in drawChipGrid()
285 if (plotArea.getWidth() > plotArea.getHeight()) { in drawChipGrid()
286 major = plotArea.getWidth(); in drawChipGrid()
291 minor = plotArea.getWidth(); in drawChipGrid()
294 if (plotArea.getWidth() == minor) { // x is minor in drawChipGrid()
342 double diameter = plotArea.getWidth(); in getWaferEdge()
346 if (plotArea.getWidth() != plotArea.getHeight()) { in getWaferEdge()
348 if (plotArea.getWidth() > plotArea.getHeight()) { in getWaferEdge()
349 major = plotArea.getWidth(); in getWaferEdge()
354 minor = plotArea.getWidth(); in getWaferEdge()
[all …]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES2/src/
H A DOgreGLES2HardwarePixelBuffer.cpp135 if (src.getWidth() != dstBox.getWidth() || in blitFromMemory()
198 dst.getWidth() == getWidth() && in blitToMemory()
213 if(srcBox.getWidth() != dst.getWidth() || in blitToMemory()
436 if(data.getWidth() != data.rowPitch) in upload()
493 if(data.getWidth() != getWidth() || in download()
526 if(data.getWidth() != data.rowPitch) in download()
627 if (data.getWidth() != data.rowPitch) in upload()
686 if(data.getWidth() != getWidth() || in download()
807 if(srcBox.getWidth() == dstBox.getWidth() && in blitFromTexture()
1015 (src_orig.getWidth() == dstBox.getWidth() && in blitFromMemory()
[all …]
/dports/misc/visp/visp-3.4.0/modules/core/include/visp3/core/
H A DvpImageMorphology.h117 vpImage<Type> J(I.getHeight() + 2, I.getWidth() + 2); in erosion()
121 for (unsigned int j = 0; j < J.getWidth(); j++) { in erosion()
126 memcpy(J[i] + 1, I[i - 1], sizeof(unsigned char) * I.getWidth()); in erosion()
127 J[i][J.getWidth() - 1] = value; in erosion()
133 for (unsigned int j = 0; j < I.getWidth(); j++) { in erosion()
147 for (unsigned int j = 0; j < I.getWidth(); j++) { in erosion()
185 vpImage<Type> J(I.getHeight() + 2, I.getWidth() + 2); in dilatation()
189 for (unsigned int j = 0; j < J.getWidth(); j++) { in dilatation()
195 J[i][J.getWidth() - 1] = value_out; in dilatation()
201 for (unsigned int j = 0; j < I.getWidth(); j++) { in dilatation()
[all …]
/dports/games/spacejunk/spacejunk-1.0.5/src/
H A Dgcnlayouts.cpp32 w=(*i)->getWidth(); in calculateBB()
44 if ((*i)->getX()+(*i)->getWidth()>x+w) w=(*i)->getX()+(*i)->getWidth()-x; in calculateBB()
68 w=(*i)->getWidth(); in calculateBB()
72 if (w<(*i)->getWidth()) w=(*i)->getWidth(); in calculateBB()
83 (*i)->setX(getX()+(getWidth()-(*i)->getWidth())/2); in fitWidgets()
114 setWidth(l+r+c->getWidth()); in fitWidgets()
123 w=(*i)->getWidth(); in calculateBB()
128 w+=(*i)->getWidth()+spacing; in calculateBB()
142 x+=spacing+(*i)->getWidth(); in fitWidgets()
/dports/games/scummvm/scummvm-2.5.1/engines/asylum/views/
H A Dmenu.cpp1292 int16 sizeMinus = getText()->getWidth("-"); in updateAudioOptions()
1293 int16 sizePlus = getText()->getWidth("+"); in updateAudioOptions()
1378 int16 sizeMinus = getText()->getWidth("-"); in updateSettings()
1379 int16 sizePlus = getText()->getWidth("+"); in updateSettings()
1642 if (cursor.x <= (30 + getText()->getWidth((char *)&text)) in clickLoadGame()
1752 if (cursor.x <= (30 + getText()->getWidth((char *)&text)) in clickSaveGame()
1858 if (cursor.x <= (30 + getText()->getWidth((char *)&text)) in clickDeleteGame()
2020 int32 sizeMinus = getText()->getWidth("-"); in clickAudioOptions()
2021 int32 sizePlus = getText()->getWidth("+"); in clickAudioOptions()
2143 int32 sizeMinus = getText()->getWidth("-"); in clickSettings()
[all …]
/dports/misc/visp/visp-3.4.0/modules/ar/src/coin-simulator/
H A DvpAR.cpp113 if ((internal_width != I.getWidth()) || (internal_height != I.getHeight())) { in setImage()
121 for (unsigned int j = 0; j < I.getWidth(); j++) in setImage()
124 image_background[i * I.getWidth() + j] = I[I.getHeight() - i - 1][j]; in setImage()
136 if ((internal_width != I.getWidth()) || (internal_height != I.getHeight())) { in setImage()
145 for (unsigned int j = 0; j < I.getWidth(); j++) in setImage()
148 image_background[i * I.getWidth() * 3 + k + 0] = I[I.getHeight() - i - 1][j].R; in setImage()
149 image_background[i * I.getWidth() * 3 + k + 1] = I[I.getHeight() - i - 1][j].G; in setImage()
150 image_background[i * I.getWidth() * 3 + k + 2] = I[I.getHeight() - i - 1][j].B; in setImage()
/dports/java/jgraph/jgraph-java-5.13.0.4/src/com/jgraph/util/
H A DJGraphPrintingScrollPane.java143 int w = (int) (pageFormat.getWidth() * pageScale); in updateMinimumSize()
167 return Math.min((double) size.getWidth() in computeWindowScale()
168 / (p.getX() + p.getWidth() + border), (double) size in computeWindowScale()
184 return Math.min((double) size.getWidth() / (double) p.getWidth(), in computePageScale()
202 return (double) size.getWidth() / (double) p.getWidth(); in computePageWidthScale()
222 int w = (int) (printFormat.getWidth() * pageScale); in print()
235 int dx = (int) ((page % cols) * printFormat.getWidth()); in print()
238 g.setClip(dx, dy, (int) (dx + printFormat.getWidth()), in print()
289 g2.fillRect(0, 0, graph.getWidth(), graph.getHeight()); in paintBackgroundImage()
309 pageFormat.getWidth(), pageFormat.getHeight())); in paintBackgroundPages()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/chart2/source/controller/main/
H A DPositionAndSizeHelper.cxx49 if (aPageRect.getWidth() == 0 || aPageRect.getHeight() == 0) in moveObject()
59 …osition.Primary = (double(aPos.X())+double(aObjectRect.getWidth())/2.0)/double(aPageRect.getWidth(… in moveObject()
67 aAbsolutePosition.Primary = double(rOldPositionAndSize.X) / double(aPageRect.getWidth()); in moveObject()
85 …aCustomLabelPosition.Primary = double(aPos.X()) / double(aPageRect.getWidth()) - aAbsolutePosition… in moveObject()
96 aRelativePosition.Primary = double(aPos.X())/double(aPageRect.getWidth()); in moveObject()
109 static_cast< double >( aPageRect.getWidth() ); in moveObject()
117 static_cast< double >( aObjectRect.getWidth()) / in moveObject()
118 static_cast< double >( aPageRect.getWidth() ); in moveObject()
138 aRelativePosition.Primary = double(aPos.X())/double(aPageRect.getWidth()); in moveObject()
146 aRelativeSize.Primary = double(aObjectRect.getWidth())/double(aPageRect.getWidth()); in moveObject()
/dports/audio/bshapr-lv2/BShapr-0.13/src/
H A DMonitorWidget.cpp61 double x1 = getWidth() * s / (MONITORBUFFERSIZE - 1); in redrawRange()
62 double w = getWidth() * (e - s) / (MONITORBUFFERSIZE - 1); in redrawRange()
109 double x0 = ceil (getWidth() * start / (MONITORBUFFERSIZE - 1)); in drawData()
110 double x1 = floor (getWidth() * end / (MONITORBUFFERSIZE - 1)); in drawData()
119 …cairo_move_to (cr, getWidth() * double (start) / (MONITORBUFFERSIZE - 1), getHeight() * (0.5 - (0… in drawData()
122 …cairo_line_to (cr, getWidth() * double (i) / (MONITORBUFFERSIZE - 1), getHeight() * (0.5 - (0.48 … in drawData()
127 … cairo_line_to (cr, getWidth() * double (end) / (MONITORBUFFERSIZE - 1), getHeight() * 0.5); in drawData()
128 … cairo_line_to (cr, getWidth() * double (start) / (MONITORBUFFERSIZE - 1), getHeight() * 0.5); in drawData()
134 …cairo_move_to (cr, getWidth() * double (start) / (MONITORBUFFERSIZE - 1), getHeight() * (0.5 - (0… in drawData()
142 … cairo_line_to (cr, getWidth() * double (end) / (MONITORBUFFERSIZE - 1), getHeight() * 0.5); in drawData()
[all …]
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/common/
H A DCollisionMapTest.java45 assertThat(map.getWidth(), is(1)); in testCollissionMap()
48 assertThat(map2x2.getWidth(), is(2)); in testCollissionMap()
257 assertThat(map.getWidth(), is(3)); in testCreateLayerDefintion()
284 assertThat(bob.getWidth(), is(1.0)); in testCollidesEntity()
285 assertThat(bob.getWidth(), is(1.0)); in testCollidesEntity()
290 .getWidth(), (int) bob.getHeight())); in testCollidesEntity()
297 .getWidth(), (int) bob.getHeight())); in testCollidesEntity()
301 .getWidth(), (int) bob.getHeight())); in testCollidesEntity()
305 .getWidth(), (int) bob.getHeight())); in testCollidesEntity()
309 .getWidth(), (int) bob.getHeight())); in testCollidesEntity()
[all …]
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/
H A Dimagedimensions.cc42 int PreviewProps::getWidth() const in getWidth() function in PreviewProps
76 ppx = sw - pp.getX() - pp.getWidth(); in transform()
85 sx2 = ppx + pp.getWidth(); in transform()
89 sx1 = width - ppx - pp.getWidth(); in transform()
91 sx2 = sx1 + pp.getWidth(); in transform()
95 sy1 = height - ppx - pp.getWidth(); in transform()
97 sy2 = sy1 + pp.getWidth(); in transform()
102 sy2 = sy1 + pp.getWidth(); in transform()
/dports/misc/visp/visp-3.4.0/modules/java/generator/android/java/org/visp/android/
H A DCameraBridgeViewBase.java360 if (!connectCamera(getWidth(), getHeight())) { in onEnterStartedState()
404 … Log.e(TAG, "Bitmap type: " + mCacheBitmap.getWidth() + "*" + mCacheBitmap.getHeight()); in deliverAndDrawFrame()
413 … Log.e(TAG, "Bitmap type: " + mCacheBitmap.getWidth() + "*" + mCacheBitmap.getHeight()); in deliverAndDrawFrame()
427 … canvas.drawBitmap(mCacheBitmap, new Rect(0,0,mCacheBitmap.getWidth(), mCacheBitmap.getHeight()), in deliverAndDrawFrame()
428 new Rect((int)((canvas.getWidth() - mScale*mCacheBitmap.getWidth()) / 2), in deliverAndDrawFrame()
430 … (int)((canvas.getWidth() - mScale*mCacheBitmap.getWidth()) / 2 + mScale*mCacheBitmap.getWidth()), in deliverAndDrawFrame()
433 … canvas.drawBitmap(mCacheBitmap, new Rect(0,0,mCacheBitmap.getWidth(), mCacheBitmap.getHeight()), in deliverAndDrawFrame()
434 new Rect((canvas.getWidth() - mCacheBitmap.getWidth()) / 2, in deliverAndDrawFrame()
436 … (canvas.getWidth() - mCacheBitmap.getWidth()) / 2 + mCacheBitmap.getWidth(), in deliverAndDrawFrame()
473 public int getWidth(Object obj); in getWidth() method
[all …]
/dports/graphics/opencv/opencv-4.5.3/modules/java/generator/android/java/org/opencv/android/
H A DCameraBridgeViewBase.java376 if (!connectCamera(getWidth(), getHeight())) { in onEnterStartedState()
419 … Log.e(TAG, "Bitmap type: " + mCacheBitmap.getWidth() + "*" + mCacheBitmap.getHeight()); in deliverAndDrawFrame()
433 … canvas.drawBitmap(mCacheBitmap, new Rect(0,0,mCacheBitmap.getWidth(), mCacheBitmap.getHeight()), in deliverAndDrawFrame()
434 new Rect((int)((canvas.getWidth() - mScale*mCacheBitmap.getWidth()) / 2), in deliverAndDrawFrame()
436 … (int)((canvas.getWidth() - mScale*mCacheBitmap.getWidth()) / 2 + mScale*mCacheBitmap.getWidth()), in deliverAndDrawFrame()
439 … canvas.drawBitmap(mCacheBitmap, new Rect(0,0,mCacheBitmap.getWidth(), mCacheBitmap.getHeight()), in deliverAndDrawFrame()
440 new Rect((canvas.getWidth() - mCacheBitmap.getWidth()) / 2, in deliverAndDrawFrame()
442 … (canvas.getWidth() - mCacheBitmap.getWidth()) / 2 + mCacheBitmap.getWidth(), in deliverAndDrawFrame()
477 public int getWidth(Object obj); in getWidth() method
498 int width = accessor.getWidth(size); in calculateCameraFrameSize()
[all …]
/dports/audio/dpf-plugins-lv2/DPF-Plugins-1.4/plugins/glBars/
H A DDistrhoUIGLBars.cpp100 if (getWidth() != 512 || getHeight() != 512) in onKeyboard()
105 /**/ if (getWidth() < 1100 && getHeight() < 1100) in onKeyboard()
106 setSize(getWidth()+100, getHeight()+100); in onKeyboard()
107 else if (getWidth() != 1100 || getHeight() != 1100) in onKeyboard()
112 /**/ if (getWidth() >= 200 && getHeight() >= 200) in onKeyboard()
113 setSize(getWidth()-100, getHeight()-100); in onKeyboard()
114 else if (getWidth() != 100 || getHeight() != 100) in onKeyboard()
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/android/src/org/yabause/android/
H A DYabausePad.java194 float xu = (float) getWidth() / 160; in onMeasure()
202 …dEvent.BUTTON_START].updateRect((int) (getWidth() / 2 - (8 * xu)), (int) (getHeight() - 20 * yu), … in onMeasure()
204 …tons[PadEvent.BUTTON_A].updateRect((int) (getWidth() - 46 * xu), (int) (getHeight() - 24 * yu), (i… in onMeasure()
205 …tons[PadEvent.BUTTON_B].updateRect((int) (getWidth() - 31 * xu), (int) (getHeight() - 41 * yu), (i… in onMeasure()
206 …tons[PadEvent.BUTTON_C].updateRect((int) (getWidth() - 14 * xu), (int) (getHeight() - 51 * yu), (i… in onMeasure()
208 …tons[PadEvent.BUTTON_X].updateRect((int) (getWidth() - 55 * xu), (int) (getHeight() - 46 * yu), (i… in onMeasure()
209 …tons[PadEvent.BUTTON_Y].updateRect((int) (getWidth() - 40 * xu), (int) (getHeight() - 63 * yu), (i… in onMeasure()
210 …tons[PadEvent.BUTTON_Z].updateRect((int) (getWidth() - 23 * xu), (int) (getHeight() - 73 * yu), (i… in onMeasure()
/dports/games/stratagus/stratagus-3.2.0/src/guichan/
H A Dimagefont.cpp82 && i < imageLoader->getWidth(); ++i) in ImageFont()
86 if (i >= imageLoader->getWidth()) in ImageFont()
111 int w = imageLoader->getWidth(); in ImageFont()
135 && i < imageLoader->getWidth(); ++i) in ImageFont()
139 if (i >= imageLoader->getWidth()) in ImageFont()
162 int w = imageLoader->getWidth(); in ImageFont()
218 x += getWidth(text.at(i)); in drawString()
252 if (x >= il->getWidth()) in addGlyph()
281 if (x+w >= il->getWidth()) in addGlyph()
310 size += getWidth(text.at(i)); in getWidth()
[all …]
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/guichan/
H A Dimagefont.cpp82 && i < imageLoader->getWidth(); ++i) in ImageFont()
86 if (i >= imageLoader->getWidth()) in ImageFont()
111 int w = imageLoader->getWidth(); in ImageFont()
135 && i < imageLoader->getWidth(); ++i) in ImageFont()
139 if (i >= imageLoader->getWidth()) in ImageFont()
162 int w = imageLoader->getWidth(); in ImageFont()
221 x += getWidth(text.at(i)); in drawString()
255 if (x >= il->getWidth()) in addGlyph()
284 if (x+w >= il->getWidth()) in addGlyph()
313 size += getWidth(text.at(i)); in getWidth()
[all …]
/dports/misc/visp/visp-3.4.0/modules/core/test/image/
H A DtestImageGetValue.cpp49 for (unsigned int j = 0; j < I.getWidth(); j++) { in checkPixelAccess()
60 for (unsigned int j = 0; j < I.getWidth(); j++) { in checkPixelAccess()
86 if (I.getHeight() * I.getWidth() == 0) { in getValue()
175 for (unsigned int j = 0; j < I.getWidth(); j++) { in main()
183 for (unsigned int j = 0; j < I.getWidth(); j++) { in main()
185 double idx2 = randomDouble(0, I.getWidth() - 1); in main()
211 for (unsigned int j = 0; j < I.getWidth(); j++) { in main()
219 double idx2 = randomDouble(0, I.getWidth() - 1); in main()
249 for (unsigned int j = 0; j < I.getWidth(); j++) { in main()
257 double idx2 = randomDouble(0, I.getWidth() - 1); in main()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/base/java/org/mozilla/gecko/widget/
H A DFaviconView.java156 … final boolean canImageBeShown = (mIconBitmap != null && getWidth() != 0 && getHeight() != 0); in formatImage()
164 if (mScalingExpected && getWidth() != mIconBitmap.getWidth()) { in formatImage()
174 if (getWidth() < mIconBitmap.getWidth()) { in formatImage()
189 if (Math.abs(mIconBitmap.getWidth() - getWidth()) < 3) { in formatImage()
197 int doubledSize = mIconBitmap.getWidth() * 2; in scaleBitmap()
198 if (getWidth() > doubledSize) { in scaleBitmap()
204 mIconBitmap = Bitmap.createScaledBitmap(mIconBitmap, getWidth(), getWidth(), true); in scaleBitmap()
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GL3Plus/src/
H A DOgreGL3PlusTextureBuffer.cpp172 dest.getWidth(), in upload()
182 dest.getWidth(), dest.getHeight(), in upload()
191 dest.getWidth(), dest.getHeight(), dest.getDepth(), in upload()
201 if (data.getWidth() != data.rowPitch) in upload()
203 if (data.getHeight() * data.getWidth() != data.slicePitch) in upload()
235 dest.getWidth(), in upload()
246 dest.getWidth(), dest.getHeight(), in upload()
256 dest.getWidth(), dest.getHeight(), dest.getDepth(), in upload()
280 if (data.getWidth() != getWidth() || in download()
412 if (srcBox.getWidth()==dstBox.getWidth() && in blitFromTexture()
[all …]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES/src/
H A DOgreGLESHardwarePixelBuffer.cpp130 if (src.getWidth() != dstBox.getWidth() || in blitFromMemory()
178 if (srcBox.left == 0 && srcBox.right == getWidth() && in blitToMemory()
181 dst.getWidth() == getWidth() && in blitToMemory()
196 if(srcBox.getWidth() != dst.getWidth() || in blitToMemory()
339 dest.getWidth(), in upload()
359 if (data.getWidth() != data.rowPitch) in upload()
381 if(data.getWidth() != data.rowPitch) in upload()
411 dest.getWidth(), dest.getHeight(), in upload()
522 if(srcBox.getWidth()==dstBox.getWidth() && in blitFromTexture()
672 (src_orig.getWidth() == dstBox.getWidth() && in blitFromMemory()
[all …]
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/lib/
H A Dcscrollview.cpp118 if (containerSize.getWidth () >= getViewSize ().getWidth ()) in setScrollOffset()
120 if (newOffset.x < containerSize.left - (containerSize.getWidth () - getViewSize ().getWidth ())) in setScrollOffset()
121 newOffset.x = containerSize.left - (containerSize.getWidth () - getViewSize ().getWidth ()); in setScrollOffset()
367 activeScrollbarStyle |= containerSize.getWidth () <= r.getWidth () ? 0 : kHorizontalScrollbar; in recalculateSubViews()
543 if (cs.getWidth () <= getViewSize ().getWidth ()) in setContainerSize()
545 else if (sc && keepVisibleArea && oldScrollSize.getWidth () != cs.getWidth ()) in setContainerSize()
548 …oat)(oldValue * ((float)(oldScrollSize.getWidth () - vSize.getWidth ()) / ((float)cs.getWidth () -… in setContainerSize()
575 cs.setWidth (vs.getWidth ()); in makeRectVisible()
608 if (containerSize.getWidth () == vs.getWidth ()) in makeRectVisible()
710 if (csize.getWidth () > vsize.getWidth ()) in valueChanged()
[all …]
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vstgui.surge/vstgui/lib/
H A Dcscrollview.cpp118 if (containerSize.getWidth () >= getViewSize ().getWidth ()) in setScrollOffset()
120 if (newOffset.x < containerSize.left - (containerSize.getWidth () - getViewSize ().getWidth ())) in setScrollOffset()
121 newOffset.x = containerSize.left - (containerSize.getWidth () - getViewSize ().getWidth ()); in setScrollOffset()
367 activeScrollbarStyle |= containerSize.getWidth () <= r.getWidth () ? 0 : kHorizontalScrollbar; in recalculateSubViews()
545 if (cs.getWidth () <= getViewSize ().getWidth ()) in setContainerSize()
547 else if (sc && keepVisibleArea && oldScrollSize.getWidth () != cs.getWidth ()) in setContainerSize()
550 …oat)(oldValue * ((float)(oldScrollSize.getWidth () - vSize.getWidth ()) / ((float)cs.getWidth () -… in setContainerSize()
577 cs.setWidth (vs.getWidth ()); in makeRectVisible()
610 if (containerSize.getWidth () == vs.getWidth ()) in makeRectVisible()
712 if (csize.getWidth () > vsize.getWidth ()) in valueChanged()
[all …]
/dports/misc/visp/visp-3.4.0/tutorial/imgproc/autothreshold/
H A Dtutorial-autothreshold.cpp37 vpImage<unsigned char> I_res(3 * I.getHeight(), 3 * I.getWidth()); in main()
38 I_res.insert(I, vpImagePoint(I.getHeight(), I.getWidth())); in main()
60 I_res.insert(I_intermodes, vpImagePoint(0, I.getWidth())); in main()
66 I_res.insert(I_isodata, vpImagePoint(0, 2 * I.getWidth())); in main()
78 I_res.insert(I_otsu, vpImagePoint(I.getHeight(), 2 * I.getWidth())); in main()
89 vpDisplay::displayText(I_res, 30, 20 + I.getWidth(), "Intermodes", vpColor::red); in main()
90 vpDisplay::displayText(I_res, 30, 20 + 2 * I.getWidth(), "IsoData", vpColor::red); in main()
92 vpDisplay::displayText(I_res, 30 + I.getHeight(), 20 + I.getWidth(), "Original", vpColor::red); in main()
93 vpDisplay::displayText(I_res, 30 + I.getHeight(), 20 + 2 * I.getWidth(), "Otsu", vpColor::red); in main()
/dports/audio/carla/Carla-2.4.1/source/modules/juce_gui_basics/layout/
H A Djuce_ComponentBoundsConstrainer.cpp112 limits.setSize (parent->getWidth(), parent->getHeight()); in setBoundsForComponent()
171 bounds.setWidth (jlimit (minW, maxW, bounds.getWidth())); in checkBounds()
196 const int limit = limits.getX() + jmin (minOffLeft - bounds.getWidth(), 0); in checkBounds()
222 const int limit = limits.getRight() - jmin (minOffRight, bounds.getWidth()); in checkBounds()
249 const double newRatio = std::abs (bounds.getWidth() / (double) bounds.getHeight()); in checkBounds()
258 if (bounds.getWidth() > maxW || bounds.getWidth() < minW) in checkBounds()
260 bounds.setWidth (jlimit (minW, maxW, bounds.getWidth())); in checkBounds()
261 bounds.setHeight (roundToInt (bounds.getWidth() / aspectRatio)); in checkBounds()
266 bounds.setHeight (roundToInt (bounds.getWidth() / aspectRatio)); in checkBounds()
277 bounds.setX (old.getX() + (old.getWidth() - bounds.getWidth()) / 2); in checkBounds()
[all …]

12345678910>>...639