/dports/devel/juce/JUCE-f37e9a1/modules/juce_gui_basics/layout/ |
H A D | juce_ComponentBoundsConstrainer.cpp | 112 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 …]
|
/dports/math/gfan/gfan0.6.2/src/ |
H A D | linalg.cpp | 215 int FieldMatrix::getWidth()const in getWidth() function in FieldMatrix 578 assert(getWidth()==getHeight()); in inverse() 579 int n=getWidth(); in inverse() 625 assert(v.size()==getWidth()); in canonicalize() 678 assert(a.getWidth()==b.getWidth()); in operator +() 729 if(getWidth()!=b.getWidth())return false; in operator ==() 784 assert(endColumn<=getWidth()); in submatrix() 816 int width=m.getWidth(); in integerMatrixToFieldMatrix() 901 assert(bottom.getWidth()==top.getWidth()); in combineOnTop() 913 FieldMatrix ret(left.theField,left.getHeight(),left.getWidth()+right.getWidth()); in combineLeftRight() [all …]
|
/dports/math/gfanlib/gfan0.6.2/src/ |
H A D | linalg.cpp | 215 int FieldMatrix::getWidth()const in getWidth() function in FieldMatrix 578 assert(getWidth()==getHeight()); in inverse() 579 int n=getWidth(); in inverse() 625 assert(v.size()==getWidth()); in canonicalize() 678 assert(a.getWidth()==b.getWidth()); in operator +() 729 if(getWidth()!=b.getWidth())return false; in operator ==() 784 assert(endColumn<=getWidth()); in submatrix() 816 int width=m.getWidth(); in integerMatrixToFieldMatrix() 901 assert(bottom.getWidth()==top.getWidth()); in combineOnTop() 913 FieldMatrix ret(left.theField,left.getHeight(),left.getWidth()+right.getWidth()); in combineLeftRight() [all …]
|
/dports/graphics/art/ART-1.9.3/rtengine/ |
H A D | imagedimensions.cc | 42 int PreviewProps::getWidth() const in getWidth() function in PreviewProps 84 ppx = sw - pp.getX() - pp.getWidth(); in transform() 93 sx2 = ppx + pp.getWidth(); in transform() 97 sx1 = width - ppx - pp.getWidth(); in transform() 99 sx2 = sx1 + pp.getWidth(); in transform() 103 sy1 = height - ppx - pp.getWidth(); in transform() 105 sy2 = sy1 + pp.getWidth(); in transform() 110 sy2 = sy1 + pp.getWidth(); in transform()
|
/dports/devel/fifechan/fifechan-0.1.5/src/widgets/ |
H A D | tab.cpp | 113 rec.width = getWidth() - 2 * getBorderSize() - getPaddingLeft() - getPaddingRight(); in getChildrenArea() 135 graphics->drawLine(0, 0, getWidth() - 1, 0); in draw() 138 graphics->drawLine(getWidth() - 1, 1, getWidth() - 1, getHeight() - 1); in draw() 147 graphics->drawLine(0, 0, getWidth() - 1, 0); in draw() 149 graphics->drawLine(getWidth() - 1, 1, getWidth() - 1, getHeight() - 1); in draw() 157 graphics->pushClipArea(Rectangle(1, 1, getWidth() - 2, getHeight() - 1)); in draw()
|
/dports/games/spacejunk/spacejunk-1.0.5/guichan/widgets/ |
H A D | tab.cpp | 76 setSize(mLabel->getWidth() + 8, in adjustSize() 124 graphics->drawLine(0, 0, getWidth() - 1, 0); in draw() 127 graphics->drawLine(getWidth() - 1, 1, getWidth() - 1, getHeight() - 1); in draw() 136 graphics->drawLine(0, 0, getWidth() - 1, 0); in draw() 138 graphics->drawLine(getWidth() - 1, 1, getWidth() - 1, getHeight() - 1); in draw() 146 graphics->pushClipArea(Rectangle(1, 1, getWidth() - 2, getHeight() - 1)); in draw()
|
/dports/devel/guichan/guichan-0.8.2/src/widgets/ |
H A D | tab.cpp | 76 setSize(mLabel->getWidth() + 8, in adjustSize() 124 graphics->drawLine(0, 0, getWidth() - 1, 0); in draw() 127 graphics->drawLine(getWidth() - 1, 1, getWidth() - 1, getHeight() - 1); in draw() 136 graphics->drawLine(0, 0, getWidth() - 1, 0); in draw() 138 graphics->drawLine(getWidth() - 1, 1, getWidth() - 1, getHeight() - 1); in draw() 146 graphics->pushClipArea(Rectangle(1, 1, getWidth() - 2, getHeight() - 1)); in draw()
|
/dports/x11-wm/pekwm/pekwm-release-0.2.0/src/ |
H A D | WinLayouter.cc | 57 if ((wvec[i]->getX() < signed(x + wo->getWidth())) && in isEmptySpace() 58 (signed(wvec[i]->getX() + wvec[i]->getWidth()) > x) && in isEmptySpace() 98 uint wo_width = wo->getWidth() + pekwm::config()->getPlacementOffsetX(); in layout_impl() 119 wo_e->getX() + wo_e->getWidth() : wo_e->getX() - wo_width; in layout_impl() 170 if (wo->getWidth() < unsigned(_ptr_x) && wo->getHeight() < _gm.height) { in layout_impl() 175 if (wo->getWidth() < _gm.width && wo->getHeight() < unsigned(_ptr_y)) { in layout_impl() 176 wo->move(_gm.x + _gm.width - wo->getWidth(), _gm.y); in layout_impl() 180 if (wo->getWidth() < _gm.width - _ptr_x && wo->getHeight() < _gm.height) { in layout_impl() 204 wo->getWidth(), wo->getHeight()); in layout_impl() 223 Geometry gm(_ptr_x, _ptr_y, wo->getWidth(), wo->getHeight()); in layout_impl() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/wechat_qrcode/src/zxing/common/ |
H A D | greyscale_rotated_luminance_source.cpp | 41 if (!row || row->size() < getWidth()) { in getRow() 42 row = ArrayRef<char>(getWidth()); in getRow() 45 for (int x = 0; x < getWidth(); x++) { in getRow() 53 ArrayRef<char> result(getWidth() * getHeight()); in getMatrix() 55 char* row = &result[y * getWidth()]; in getMatrix() 57 for (int x = 0; x < getWidth(); x++) { in getMatrix() 66 return Ref<ByteMatrix>(new ByteMatrix(getWidth(), getHeight(), getMatrix())); in getByteMatrix()
|
/dports/audio/bjumblr-lv2/BJumblr-1.6.8/src/ |
H A D | MonitorWidget.hpp | 72 double x1 = getWidth() * s / (WAVEFORMSIZE - 1); in redrawRange() 73 double w = getWidth() * (e - s) / (WAVEFORMSIZE - 1); in redrawRange() 80 double w2 = getWidth() * e2 / (WAVEFORMSIZE - 1); in redrawRange() 120 const double p0 = ceil (getWidth() * start / (WAVEFORMSIZE - 1)); in drawData() 121 const double p1 = floor (getWidth() * end / (WAVEFORMSIZE - 1)); in drawData() 128 cairo_rectangle (cr, 0, p0, getWidth(), p1 - p0); in drawData() 137 …if (!flipped) cairo_move_to (cr, getWidth() * double (start) / (WAVEFORMSIZE - 1), getHeight() * (… in drawData() 138 …else cairo_move_to (cr, getWidth() * (0.5 - (0.48 * data[start] / zoom)), getHeight() * double (s… in drawData() 141 …if (!flipped) cairo_line_to (cr, getWidth() * double (i) / (WAVEFORMSIZE - 1), getHeight() * (0.5 … in drawData() 142 …else cairo_line_to (cr, getWidth() * (0.5 - (0.48 * data[i] / zoom)), getHeight() * double (i) / … in drawData()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/chart2/source/controller/main/ |
H A D | PositionAndSizeHelper.cxx | 48 if (aPageRect.getWidth() == 0 || aPageRect.getHeight() == 0) in moveObject() 58 …osition.Primary = (double(aPos.X())+double(aObjectRect.getWidth())/2.0)/double(aPageRect.getWidth(… in moveObject() 69 aRelativePosition.Primary = double(aPos.X())/double(aPageRect.getWidth()); in moveObject() 82 static_cast< double >( aPageRect.getWidth() ); in moveObject() 90 static_cast< double >( aObjectRect.getWidth()) / in moveObject() 91 static_cast< double >( aPageRect.getWidth() ); in moveObject() 111 aRelativePosition.Primary = double(aPos.X())/double(aPageRect.getWidth()); in moveObject() 119 aRelativeSize.Primary = double(aObjectRect.getWidth())/double(aPageRect.getWidth()); in moveObject()
|
/dports/multimedia/vlc/vlc-3.0.16/modules/gui/skins2/controls/ |
H A D | ctrl_image.cpp | 66 m_pBitmap->getWidth(), in CtrlImage() 107 if( x >= 0 && x < getPosition()->getWidth() && in mouseOver() 115 x %= m_pImage->getWidth(); in mouseOver() 140 int width = pPos->getWidth(); in draw() 146 pPos->getWidth(), pPos->getHeight() ); in draw() 155 if( width != m_pImage->getWidth() || in draw() 199 width -= m_pImage->getWidth(); in draw() 204 int w0 = m_pBitmap->getWidth(); in draw() 229 if( w != m_pImage->getWidth() || in draw() 268 m_pBitmap->getWidth(), in onUpdate() [all …]
|
/dports/devel/fifechan/fifechan-0.1.5/src/ |
H A D | imagefont.cpp | 95 if (i >= mImage->getWidth()) in ImageFont() 147 if (i >= mImage->getWidth()) in ImageFont() 191 && i < mImage->getWidth(); ++i) in ImageFont() 195 if (i >= mImage->getWidth()) in ImageFont() 231 int ImageFont::getWidth(unsigned char glyph) const in getWidth() function in fcn::ImageFont 285 x += getWidth(text.at(i)); in drawString() 319 if (x >= mImage->getWidth()) in scanForGlyph() 347 if (x + width >= mImage->getWidth()) in scanForGlyph() 366 int ImageFont::getWidth(const std::string& text) const in getWidth() function in fcn::ImageFont 373 size += getWidth(text.at(i)); in getWidth() [all …]
|
/dports/devel/guichan/guichan-0.8.2/src/ |
H A D | imagefont.cpp | 74 if (i >= mImage->getWidth()) in ImageFont() 126 if (i >= mImage->getWidth()) in ImageFont() 170 && i < mImage->getWidth(); ++i) in ImageFont() 174 if (i >= mImage->getWidth()) in ImageFont() 210 int ImageFont::getWidth(unsigned char glyph) const in getWidth() function in gcn::ImageFont 264 x += getWidth(text.at(i)); in drawString() 298 if (x >= mImage->getWidth()) in scanForGlyph() 326 if (x + width >= mImage->getWidth()) in scanForGlyph() 345 int ImageFont::getWidth(const std::string& text) const in getWidth() function in gcn::ImageFont 352 size += getWidth(text.at(i)); in getWidth() [all …]
|
/dports/graphics/openjpeg15/openjpeg-version.1.5.2/applications/jpip/util/opj_viewer/src/ |
H A D | ResizeListener.java | 52 if( largest.getWidth() < cursize.getWidth() || largest.getHeight() < cursize.getHeight()){ in componentResized() 60 if( largest.getWidth() < cursize.getWidth()) in update_largest() 61 largest.setSize( cursize.getWidth(), largest.getHeight()); in update_largest() 63 largest.setSize( largest.getWidth(), cursize.getHeight()); in update_largest()
|
/dports/graphics/openjpeg/openjpeg-2.4.0/src/bin/jpip/opj_viewer/src/ |
H A D | ResizeListener.java | 52 if( largest.getWidth() < cursize.getWidth() || largest.getHeight() < cursize.getHeight()){ in componentResized() 60 if( largest.getWidth() < cursize.getWidth()) in update_largest() 61 largest.setSize( cursize.getWidth(), largest.getHeight()); in update_largest() 63 largest.setSize( largest.getWidth(), cursize.getHeight()); in update_largest()
|
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/java/awt/geom/ |
H A D | RectangularShape.java | 86 public abstract double getWidth(); in getWidth() method in RectangularShape 128 return getX() + getWidth(); in getMaxX() 150 return getX() + getWidth() / 2; in getCenterX() 172 return new Rectangle2D.Double(getX(), getY(), getWidth(), getHeight()); in getFrame() 203 setFrame(p.getX(), p.getY(), d.getWidth(), d.getHeight()); in setFrame() 215 setFrame(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in setFrame() 311 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in intersects() 324 return contains(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in contains() 337 double maxx = Math.ceil(x + getWidth()); in getBounds()
|
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/java/awt/geom/ |
H A D | RectangularShape.java | 86 public abstract double getWidth(); in getWidth() method in RectangularShape 128 return getX() + getWidth(); in getMaxX() 150 return getX() + getWidth() / 2; in getCenterX() 172 return new Rectangle2D.Double(getX(), getY(), getWidth(), getHeight()); in getFrame() 203 setFrame(p.getX(), p.getY(), d.getWidth(), d.getHeight()); in setFrame() 215 setFrame(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in setFrame() 311 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in intersects() 324 return contains(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in contains() 337 double maxx = Math.ceil(x + getWidth()); in getBounds()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/java/awt/geom/ |
H A D | RectangularShape.java | 83 public abstract double getWidth(); in getWidth() method in RectangularShape 126 return getX() + getWidth(); in getMaxX() 150 return getX() + getWidth() / 2.0; in getCenterX() 177 return new Rectangle2D.Double(getX(), getY(), getWidth(), getHeight()); in getFrame() 217 setFrame(loc.getX(), loc.getY(), size.getWidth(), size.getHeight()); in setFrame() 230 setFrame(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in setFrame() 320 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in intersects() 328 return contains(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in contains() 336 double width = getWidth(); in getBounds()
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/libjava/java/awt/geom/ |
H A D | RectangularShape.java | 86 public abstract double getWidth(); in getWidth() method in RectangularShape 128 return getX() + getWidth(); in getMaxX() 150 return getX() + getWidth() / 2; in getCenterX() 172 return new Rectangle2D.Double(getX(), getY(), getWidth(), getHeight()); in getFrame() 203 setFrame(p.getX(), p.getY(), d.getWidth(), d.getHeight()); in setFrame() 215 setFrame(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in setFrame() 311 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in intersects() 324 return contains(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in contains() 340 double maxx = Math.ceil(x + getWidth()); in getBounds()
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/java/awt/geom/ |
H A D | RectangularShape.java | 86 public abstract double getWidth(); in getWidth() method in RectangularShape 128 return getX() + getWidth(); in getMaxX() 150 return getX() + getWidth() / 2; in getCenterX() 172 return new Rectangle2D.Double(getX(), getY(), getWidth(), getHeight()); in getFrame() 203 setFrame(p.getX(), p.getY(), d.getWidth(), d.getHeight()); in setFrame() 215 setFrame(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in setFrame() 311 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in intersects() 324 return contains(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in contains() 337 double maxx = Math.ceil(x + getWidth()); in getBounds()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/java/awt/geom/ |
H A D | RectangularShape.java | 83 public abstract double getWidth(); in getWidth() method in RectangularShape 126 return getX() + getWidth(); in getMaxX() 150 return getX() + getWidth() / 2.0; in getCenterX() 177 return new Rectangle2D.Double(getX(), getY(), getWidth(), getHeight()); in getFrame() 217 setFrame(loc.getX(), loc.getY(), size.getWidth(), size.getHeight()); in setFrame() 230 setFrame(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in setFrame() 320 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in intersects() 328 return contains(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in contains() 336 double width = getWidth(); in getBounds()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/awt/geom/ |
H A D | RectangularShape.java | 83 public abstract double getWidth(); in getWidth() method in RectangularShape 126 return getX() + getWidth(); in getMaxX() 150 return getX() + getWidth() / 2.0; in getCenterX() 177 return new Rectangle2D.Double(getX(), getY(), getWidth(), getHeight()); in getFrame() 217 setFrame(loc.getX(), loc.getY(), size.getWidth(), size.getHeight()); in setFrame() 230 setFrame(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in setFrame() 320 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in intersects() 328 return contains(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in contains() 336 double width = getWidth(); in getBounds()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/java/awt/geom/ |
H A D | RectangularShape.java | 83 public abstract double getWidth(); in getWidth() method in RectangularShape 126 return getX() + getWidth(); in getMaxX() 150 return getX() + getWidth() / 2.0; in getCenterX() 177 return new Rectangle2D.Double(getX(), getY(), getWidth(), getHeight()); in getFrame() 217 setFrame(loc.getX(), loc.getY(), size.getWidth(), size.getHeight()); in setFrame() 230 setFrame(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in setFrame() 320 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in intersects() 328 return contains(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in contains() 336 double width = getWidth(); in getBounds()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/java/awt/geom/ |
H A D | RectangularShape.java | 83 public abstract double getWidth(); in getWidth() method in RectangularShape 126 return getX() + getWidth(); in getMaxX() 150 return getX() + getWidth() / 2.0; in getCenterX() 177 return new Rectangle2D.Double(getX(), getY(), getWidth(), getHeight()); in getFrame() 217 setFrame(loc.getX(), loc.getY(), size.getWidth(), size.getHeight()); in setFrame() 230 setFrame(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in setFrame() 320 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in intersects() 328 return contains(r.getX(), r.getY(), r.getWidth(), r.getHeight()); in contains() 336 double width = getWidth(); in getBounds()
|