/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/sun/swing/ |
H A D | CachedPainter.java | 119 int baseWidth, int baseHeight, in getImage() argument 144 if( config != null && (w != baseHeight || h != baseWidth)) { in getImage() 150 if (Math.abs(sx * baseWidth - w) < 1 && in getImage() 152 w = baseWidth; in getImage() 171 if ((w != baseWidth || h != baseHeight)) { in getImage() 172 g2.scale((double) w / baseWidth, in getImage() 290 private final int baseWidth; field in CachedPainter.PainterMultiResolutionCachedImage 296 this.baseWidth = baseWidth; in PainterMultiResolutionCachedImage() 307 return baseWidth; in getWidth() 320 c, baseWidth, baseHeight, w, h, args); in getResolutionVariant() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/sun/swing/ |
H A D | CachedPainter.java | 119 int baseWidth, int baseHeight, in getImage() argument 144 if( config != null && (w != baseHeight || h != baseWidth)) { in getImage() 150 if (Math.abs(sx * baseWidth - w) < 1 && in getImage() 152 w = baseWidth; in getImage() 171 if ((w != baseWidth || h != baseHeight)) { in getImage() 172 g2.scale((double) w / baseWidth, in getImage() 290 private final int baseWidth; field in CachedPainter.PainterMultiResolutionCachedImage 296 this.baseWidth = baseWidth; in PainterMultiResolutionCachedImage() 307 return baseWidth; in getWidth() 320 c, baseWidth, baseHeight, w, h, args); in getResolutionVariant() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/sun/swing/ |
H A D | CachedPainter.java | 119 int baseWidth, int baseHeight, in getImage() argument 144 if( config != null && (w != baseHeight || h != baseWidth)) { in getImage() 150 if (Math.abs(sx * baseWidth - w) < 1 && in getImage() 152 w = baseWidth; in getImage() 171 if ((w != baseWidth || h != baseHeight)) { in getImage() 172 g2.scale((double) w / baseWidth, in getImage() 290 private final int baseWidth; field in CachedPainter.PainterMultiResolutionCachedImage 296 this.baseWidth = baseWidth; in PainterMultiResolutionCachedImage() 307 return baseWidth; in getWidth() 320 c, baseWidth, baseHeight, w, h, args); in getResolutionVariant() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/sun/swing/ |
H A D | CachedPainter.java | 119 int baseWidth, int baseHeight, in getImage() argument 144 if( config != null && (w != baseHeight || h != baseWidth)) { in getImage() 150 if (Math.abs(sx * baseWidth - w) < 1 && in getImage() 152 w = baseWidth; in getImage() 171 if ((w != baseWidth || h != baseHeight)) { in getImage() 172 g2.scale((double) w / baseWidth, in getImage() 290 private final int baseWidth; field in CachedPainter.PainterMultiResolutionCachedImage 296 this.baseWidth = baseWidth; in PainterMultiResolutionCachedImage() 307 return baseWidth; in getWidth() 320 c, baseWidth, baseHeight, w, h, args); in getResolutionVariant() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/classes/sun/swing/ |
H A D | CachedPainter.java | 119 int baseWidth, int baseHeight, in getImage() argument 144 if( config != null && (w != baseHeight || h != baseWidth)) { in getImage() 150 if (Math.abs(sx * baseWidth - w) < 1 && in getImage() 152 w = baseWidth; in getImage() 171 if ((w != baseWidth || h != baseHeight)) { in getImage() 172 g2.scale((double) w / baseWidth, in getImage() 290 private final int baseWidth; field in CachedPainter.PainterMultiResolutionCachedImage 296 this.baseWidth = baseWidth; in PainterMultiResolutionCachedImage() 307 return baseWidth; in getWidth() 320 c, baseWidth, baseHeight, w, h, args); in getResolutionVariant() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/sun/swing/ |
H A D | CachedPainter.java | 119 int baseWidth, int baseHeight, in getImage() argument 144 if( config != null && (w != baseHeight || h != baseWidth)) { in getImage() 150 if (Math.abs(sx * baseWidth - w) < 1 && in getImage() 152 w = baseWidth; in getImage() 171 if ((w != baseWidth || h != baseHeight)) { in getImage() 172 g2.scale((double) w / baseWidth, in getImage() 290 private final int baseWidth; field in CachedPainter.PainterMultiResolutionCachedImage 296 this.baseWidth = baseWidth; in PainterMultiResolutionCachedImage() 307 return baseWidth; in getWidth() 320 c, baseWidth, baseHeight, w, h, args); in getResolutionVariant() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/classes/sun/swing/ |
H A D | CachedPainter.java | 119 int baseWidth, int baseHeight, in getImage() argument 144 if( config != null && (w != baseHeight || h != baseWidth)) { in getImage() 150 if (Math.abs(sx * baseWidth - w) < 1 && in getImage() 152 w = baseWidth; in getImage() 171 if ((w != baseWidth || h != baseHeight)) { in getImage() 172 g2.scale((double) w / baseWidth, in getImage() 290 private final int baseWidth; field in CachedPainter.PainterMultiResolutionCachedImage 296 this.baseWidth = baseWidth; in PainterMultiResolutionCachedImage() 307 return baseWidth; in getWidth() 320 c, baseWidth, baseHeight, w, h, args); in getResolutionVariant() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/classes/sun/swing/ |
H A D | CachedPainter.java | 119 int baseWidth, int baseHeight, in getImage() argument 144 if( config != null && (w != baseHeight || h != baseWidth)) { in getImage() 150 if (Math.abs(sx * baseWidth - w) < 1 && in getImage() 152 w = baseWidth; in getImage() 171 if ((w != baseWidth || h != baseHeight)) { in getImage() 172 g2.scale((double) w / baseWidth, in getImage() 290 private final int baseWidth; field in CachedPainter.PainterMultiResolutionCachedImage 296 this.baseWidth = baseWidth; in PainterMultiResolutionCachedImage() 307 return baseWidth; in getWidth() 320 c, baseWidth, baseHeight, w, h, args); in getResolutionVariant() [all …]
|
/dports/editors/calligra/calligra-3.2.1/libs/flake/ |
H A D | KoMarkerData.cpp | 53 Private(KoMarker *marker, qreal baseWidth, KoMarkerData::MarkerPosition position, bool center) in Private() argument 55 , baseWidth(baseWidth) in Private() 61 qreal baseWidth; member in KoMarkerData::Private 83 : d(new Private(other.d->marker.data(), other.d->baseWidth, other.d->position, other.d->center)) in KoMarkerData() 105 return d->baseWidth + penWidth * ResizeFactor; in width() 110 d->baseWidth = qMax(qreal(0.0), width - penWidth * ResizeFactor); in setWidth() 137 d->baseWidth = other.d->baseWidth; in operator =()
|
/dports/astro/kstars/kstars-3.5.6/kstars/tools/ |
H A D | exporteyepieceview.cpp | 100 float baseWidth = m_renderChart->width(); in render() local 104 m_output = QImage(int(baseWidth * 2.25), int(baseHeight), in render() 107 m_output = QImage(int(baseWidth), int(baseHeight), QImage::Format_ARGB32); in render() 113 op.drawPixmap(QPointF(baseWidth * 1.25, 0), *m_renderImage); in render() 118 QImage tickOverlay(baseWidth, baseHeight, QImage::Format_ARGB32); in render() 123 double rEnd = 0.85 * (baseWidth / 2.); in render() 124 double rStart = 0.8 * (baseWidth / 2.); in render() 150 p.translate(baseWidth / 2.0, baseHeight / 2.0); in render() 154 …p.drawText(QPointF(rEnd + 0.01 * baseWidth, 0), QString::asprintf("%02d:%02d", ct.hour(), ct.minut… in render() 161 op.drawImage(QPointF(baseWidth * 1.25, 0), tickOverlay); in render()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/source/helpers/ |
H A D | mipmap.cpp | 74 auto baseWidth = image->getImageDesc().image_width; in getMipOffset() local 78 size_t mipWidth = baseWidth; in getMipOffset() 82 mipWidth += std::max<size_t>(baseWidth >> 2, 1); in getMipOffset() 86 mipWidth += std::max<size_t>(baseWidth >> currentLod, 1); in getMipOffset() 91 offset = baseWidth * mipHeight; in getMipOffset() 93 offset += std::max<size_t>(baseWidth >> 1, 1); in getMipOffset()
|
/dports/x11-wm/fvwm3/fvwm3-1.0.4/modules/FvwmButtons/ |
H A D | misc.c | 41 int baseWidth, baseHeight; in ConstrainSize() local 50 baseWidth = hints->base_width; in ConstrainSize() 55 baseWidth = hints->min_width; in ConstrainSize() 63 baseWidth = hints->base_width; in ConstrainSize() 70 baseWidth = 1; in ConstrainSize() 120 dwidth = ((dwidth - baseWidth) / xinc * xinc) + baseWidth; in ConstrainSize()
|
/dports/x11-wm/fvwm2/fvwm-2.6.9/modules/FvwmButtons/ |
H A D | misc.c | 41 int baseWidth, baseHeight; in ConstrainSize() local 50 baseWidth = hints->base_width; in ConstrainSize() 55 baseWidth = hints->min_width; in ConstrainSize() 63 baseWidth = hints->base_width; in ConstrainSize() 70 baseWidth = 1; in ConstrainSize() 120 dwidth = ((dwidth - baseWidth) / xinc * xinc) + baseWidth; in ConstrainSize()
|
/dports/misc/dartsim/dart-6.11.1/dart/dynamics/ |
H A D | PyramidShape.cpp | 45 PyramidShape::PyramidShape(double baseWidth, double baseDepth, double height) in PyramidShape() argument 47 mBaseWidth(baseWidth), in PyramidShape() 51 assert(0.0 < baseWidth); in PyramidShape() 122 double baseWidth, double baseDepth, double height) in computeVolume() argument 124 return (1.0 / 3.0) * baseWidth * baseDepth * height; in computeVolume()
|
H A D | PyramidShape.hpp | 59 PyramidShape(double baseWidth, double baseDepth, double height); 93 double baseWidth, double baseDepth, double height);
|
/dports/audio/rosegarden/rosegarden-21.06.1/src/gui/editors/segment/compositionview/ |
H A D | SegmentRect.h | 48 baseWidth(0), in SegmentRect() 58 baseWidth(0), in SegmentRect() 68 baseWidth(0), in SegmentRect() 86 int baseWidth; variable
|
H A D | ChangingSegment.cpp | 45 res.setWidth(m_rect.baseWidth); in rect() 75 int curW = m_rect.baseWidth; in setStartTime() 76 m_rect.baseWidth = curW + deltaX; in setStartTime() 98 m_rect.baseWidth = r.width(); in setEndTime()
|
H A D | AudioPreviewPainter.cpp | 57 int pixWidth = std::min(m_rect.baseWidth, tileWidth()); in AudioPreviewPainter() 117 double sampleScaleFactor = samplePoints / double(m_rect.baseWidth); in paintPreviewImage() 166 for (int i = 0; i < m_rect.baseWidth; ++i) { in paintPreviewImage() 189 position = offset * m_rect.baseWidth / (endTime - startTime); in paintPreviewImage() 272 if (((i+1) % tileWidth()) == 0 || i == (m_rect.baseWidth - 1)) { in paintPreviewImage()
|
/dports/devel/ispc/ispc-1.16.1/examples/cpu/rt/ |
H A D | rt.cpp | 54 extern void raytrace_serial(int width, int height, int baseWidth, int baseHeight, const float raste… 138 int baseWidth, baseHeight; in main() local 140 READ(baseWidth, 1); in main() 199 int width = int(baseWidth * scale); in main() 212 …raytrace_ispc(width, height, baseWidth, baseHeight, raster2camera, camera2world, image, id, nodes,… in main() 230 …raytrace_ispc_tasks(width, height, baseWidth, baseHeight, raster2camera, camera2world, image, id, … in main() 250 …raytrace_serial(width, height, baseWidth, baseHeight, raster2camera, camera2world, image, id, node… in main()
|
/dports/math/xgraph/xgraph/ |
H A D | ps.c | 86 int baseWidth; member 141 ui->baseWidth = rd( VDPI / POINTS_PER_INCH * BASE_WIDTH ); 475 newwidth = PS_AXIS_WBASE * ui->baseWidth; 479 newwidth = PS_ZERO_WBASE * ui->baseWidth; 483 newwidth = PS_DATA_WBASE * ui->baseWidth; 531 if (ui->currentWidth != PS_ZERO_WBASE * ui->baseWidth) { 532 ui->currentWidth = PS_ZERO_WBASE * ui->baseWidth; 539 x, IY(y), x, IY(y), PS_PIXEL * ui->baseWidth); 543 x, IY(y), x, IY(y), PS_DOT * ui->baseWidth); 547 x, IY(y), PS_MARK * ui->baseWidth, type);
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/ |
H A D | GrDataUtils.h | 26 size_t GrComputeTightCombinedBufferSize(size_t bytesPerPixel, int baseWidth, int baseHeight, 29 void GrFillInData(GrColorType, int baseWidth, int baseHeight,
|
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/ |
H A D | GrDataUtils.h | 26 size_t GrComputeTightCombinedBufferSize(size_t bytesPerPixel, int baseWidth, int baseHeight, 29 void GrFillInData(GrColorType, int baseWidth, int baseHeight,
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/ |
H A D | GrDataUtils.h | 26 size_t GrComputeTightCombinedBufferSize(size_t bytesPerPixel, int baseWidth, int baseHeight, 29 void GrFillInData(GrColorType, int baseWidth, int baseHeight,
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/ |
H A D | GrDataUtils.h | 26 size_t GrComputeTightCombinedBufferSize(size_t bytesPerPixel, int baseWidth, int baseHeight, 29 void GrFillInData(GrColorType, int baseWidth, int baseHeight,
|
/dports/games/warzone2100/warzone2100/src/ |
H A D | featuredef.h | 54 UWORD baseWidth = 0; ///< The width of the base in tiles member 64 inline Vector2i size() const { return Vector2i(baseWidth, baseBreadth); } in size()
|