/dports/www/firefox-esr/firefox-91.8.0/gfx/2d/ |
H A D | ScaleFactors2D.h | 28 float yScale; member 32 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D() 34 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D() 37 : xScale(aSize.width), yScale(aSize.height) {} in ScaleFactors2D() 44 : xScale(aScale.scale), yScale(aScale.scale) {} in ScaleFactors2D() 60 return xScale == aOther.xScale && yScale == aOther.yScale; 80 yScale / aOther.yScale); 87 yScale / aOther.yScale); 94 yScale * aOther.yScale); 101 yScale * aOther.yScale); [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/2d/ |
H A D | ScaleFactors2D.h | 28 float yScale; member 32 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D() 34 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D() 37 : xScale(aSize.width), yScale(aSize.height) {} in ScaleFactors2D() 44 : xScale(aScale.scale), yScale(aScale.scale) {} in ScaleFactors2D() 60 return xScale == aOther.xScale && yScale == aOther.yScale; 80 yScale / aOther.yScale); 87 yScale / aOther.yScale); 94 yScale * aOther.yScale); 101 yScale * aOther.yScale); [all …]
|
/dports/www/firefox/firefox-99.0/gfx/2d/ |
H A D | ScaleFactors2D.h | 28 float yScale; member 32 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D() 34 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D() 37 : xScale(aSize.width), yScale(aSize.height) {} in ScaleFactors2D() 44 : xScale(aScale.scale), yScale(aScale.scale) {} in ScaleFactors2D() 60 return xScale == aOther.xScale && yScale == aOther.yScale; 80 yScale / aOther.yScale); 87 yScale / aOther.yScale); 94 yScale * aOther.yScale); 101 yScale * aOther.yScale); [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/2d/ |
H A D | ScaleFactors2D.h | 28 float yScale; member 32 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D() 34 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D() 37 : xScale(aSize.width), yScale(aSize.height) {} in ScaleFactors2D() 44 : xScale(aScale.scale), yScale(aScale.scale) {} in ScaleFactors2D() 60 return xScale == aOther.xScale && yScale == aOther.yScale; 80 yScale / aOther.yScale); 87 yScale / aOther.yScale); 94 yScale * aOther.yScale); 101 yScale * aOther.yScale); [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/2d/ |
H A D | ScaleFactors2D.h | 28 float yScale; member 32 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D() 34 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D() 37 : xScale(aSize.width), yScale(aSize.height) {} in ScaleFactors2D() 44 : xScale(aScale.scale), yScale(aScale.scale) {} in ScaleFactors2D() 57 return xScale == aOther.xScale && yScale == aOther.yScale; 77 yScale / aOther.yScale); 84 yScale / aOther.yScale); 91 yScale * aOther.yScale); 98 yScale * aOther.yScale); [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/2d/ |
H A D | ScaleFactors2D.h | 27 float yScale; member 31 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D() 33 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D() 36 : xScale(aSize.width), yScale(aSize.height) {} in ScaleFactors2D() 43 : xScale(aScale.scale), yScale(aScale.scale) {} in ScaleFactors2D() 56 return xScale == aOther.xScale && yScale == aOther.yScale; 74 return ScaleFactors2D<other, dst>(xScale / aOther.xScale, yScale / aOther.yScale); 79 return ScaleFactors2D<src, other>(xScale / aOther.xScale, yScale / aOther.yScale); 84 return ScaleFactors2D<src, other>(xScale * aOther.xScale, yScale * aOther.yScale); 89 return ScaleFactors2D<other, dst>(xScale * aOther.xScale, yScale * aOther.yScale); [all …]
|
/dports/devel/kyra/kyra/engine/ |
H A D | action.cpp | 82 && cache[i].yScale == matrix.yScale ) in CalculateBounds() 86 m.yScale = 1; in CalculateBounds() 114 if ( cache[i].xScale == matrix.xScale && cache[i].yScale == matrix.yScale ) in Draw() 118 m.yScale = 1; in Draw() 151 if ( xScale == 1 && yScale == 1 ) in GetCollisionMap() 153 return frame[index].GetCollisionMap( xScale, yScale ); in GetCollisionMap() 161 if ( cache[i].xScale == xScale && cache[i].yScale == yScale ) in GetCollisionMap() 173 void KrAction::CacheScale( GlFixed xScale, GlFixed yScale ) in CacheScale() argument 180 if ( cache[i].xScale == xScale && cache[i].yScale == yScale ) in CacheScale() 190 block.yScale = yScale; in CacheScale() [all …]
|
H A D | krmath.h | 50 GlFixed xScale, yScale; variable 59 && other.yScale.v == GlFixed_1 ) in Composite() 67 y = other.y + other.yScale * y; in Composite() 69 yScale = other.yScale * yScale; in Composite() 78 yScale.v = _yScale.v; 82 bool IsScaled() const { return ( xScale.v != GlFixed_1 ) || ( yScale.v != GlFixed_1 ); } in IsScaled() 84 …turn (a.x.v == b.x.v && a.y.v == b.y.v && a.xScale.v == b.xScale.v && a.yScale.v == b.yScale.v ); } 85 …turn (a.x.v != b.x.v || a.y.v != b.y.v || a.xScale.v != b.xScale.v || a.yScale.v != b.yScale.v ); } 99 ymin *= matrix.yScale; in ScaleTranslate() 101 ymax *= matrix.yScale; in ScaleTranslate()
|
H A D | tileresource.cpp | 212 && cache[i].yScale == matrix.yScale ) in Draw() 216 matrix.yScale = 1; in Draw() 332 void KrTileResource::CacheScale( GlFixed xScale, GlFixed yScale ) in CacheScale() argument 334 GLASSERT( xScale == yScale ); in CacheScale() 335 xScale = yScale; in CacheScale() 342 if ( cache[i].xScale == xScale && cache[i].yScale == yScale ) in CacheScale() 344 …GLOUTPUT(( "Scale %f %f already cached in tile resource.\n", xScale.ToDouble(), yScale.ToDouble() … in CacheScale() 358 xForm.Set( 0, 0, xScale, yScale ); in CacheScale() 374 block.yScale = yScale; in CacheScale() 380 bool KrTileResource::IsScaleCached( GlFixed xScale, GlFixed yScale ) in IsScaleCached() argument [all …]
|
/dports/graphics/okular/okular-21.12.3/core/ |
H A D | area.cpp | 35 , y((double)iY / (double)yScale) in NormalizedPoint() 79 thisDistance = end.distanceSqr(x, y, xScale, yScale); in distanceSqr() 137 , top((double)r.top() / yScale) in NormalizedRect() 139 , bottom((double)r.bottom() / yScale) in NormalizedRect() 236 …int l = (int)(left * xScale), t = (int)(top * yScale), r = (int)(right * xScale), b = (int)(bottom… in geometry() 243 …)(left * xScale + 0.5), t = (int)(top * yScale + 0.5), r = (int)(right * xScale + 0.5), b = (int)(… in roundedGeometry() 364 …((int)(br.left() * xScale), (int)(br.top() * yScale), (int)(br.width() * xScale), (int)(br.height(… in boundingRect() 392 return pow((y - point.y) * yScale, 2); in distanceSqr() 444 return boundingRect(xScale, yScale).contains((int)(x * xScale), (int)(y * yScale), false); in contains() 478 return QRect(x * xScale, y * yScale, 1, 1); in boundingRect() [all …]
|
H A D | area.h | 133 NormalizedPoint(int x, int y, int xScale, int yScale); 154 double distanceSqr(double x, double y, double xScale, double yScale) const; 226 NormalizedRect(const QRect &rectangle, double xScale, double yScale); 278 QRect geometry(int xScale, int yScale) const; 285 QRect roundedGeometry(int xScale, int yScale) const; 384 double distanceSqr(double x, double y, double xScale, double yScale) const in distanceSqr() argument 397 return pow(distX * xScale, 2) + pow(distY * yScale, 2); in distanceSqr() 516 virtual QRect boundingRect(double xScale, double yScale) const; 573 QRect boundingRect(double xScale, double yScale) const override; 610 QRect boundingRect(double xScale, double yScale) const override; [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/thebes/ |
H A D | gfxFT2Utils.cpp | 86 gfxFloat yScale = 0.0; in GetMetrics() local 96 emHeight = mFace->units_per_EM * yScale; in GetMetrics() 107 yScale = emHeight / emUnit; in GetMetrics() 119 if (os2 && os2->sTypoAscender && yScale > 0.0) { in GetMetrics() 120 aMetrics->emAscent = os2->sTypoAscender * yScale; in GetMetrics() 121 aMetrics->emDescent = -os2->sTypoDescender * yScale; in GetMetrics() 124 lineHeight = typoHeight * yScale; in GetMetrics() 169 if (os2 && os2->sxHeight && yScale > 0.0) { in GetMetrics() 170 aMetrics->xHeight = os2->sxHeight * yScale; in GetMetrics() 183 if (os2 && os2->sCapHeight && yScale > 0.0) { in GetMetrics() [all …]
|
/dports/games/egl/egl-0.3.1_9/renderer/ |
H A D | rf_font.c | 374 if (!xScale && !yScale) { in R_GetFontDimensions() 376 yScale = r_fontScale->floatVal; in R_GetFontDimensions() 383 dest[1] = font->charWidth * yScale; in R_GetFontDimensions() 387 dest[1] = font->charHeight * yScale; in R_GetFontDimensions() 392 dest[1] = font->charHeight * yScale; in R_GetFontDimensions() 419 if (!xScale && !yScale) { in R_DrawString() 421 yScale = r_fontScale->floatVal; in R_DrawString() 427 shader = R_ShaderForFont (font, xScale, yScale); in R_DrawString() 550 if (!xScale && !yScale) { in R_DrawChar() 552 yScale = r_fontScale->floatVal; in R_DrawChar() [all …]
|
/dports/graphics/tiled/tiled-1.7.2/src/tmxrasterizer/ |
H A D | tmxrasterizer.cpp | 147 qreal xScale, yScale; in renderMap() local 151 yScale = static_cast<qreal>(mSize) / mapSize.height(); in renderMap() 152 xScale = yScale = qMin(1.0, qMin(xScale, yScale)); in renderMap() 157 xScale = yScale = mScale; in renderMap() 168 mapSize.rheight() *= yScale; in renderMap() 176 painter.setTransform(QTransform::fromScale(xScale, yScale)); in renderMap() 241 qreal xScale, yScale; in renderWorld() local 244 yScale = static_cast<qreal>(mSize) / worldSize.height(); in renderWorld() 245 xScale = yScale = qMin(1.0, qMin(xScale, yScale)); in renderWorld() 247 xScale = yScale = mScale; in renderWorld() [all …]
|
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/autotests/ |
H A D | test_screen_paint_data.cpp | 41 QCOMPARE(data.yScale(), 1.0); in testCtor() 59 QCOMPARE(data2.yScale(), 1.0); in testCopyCtor() 77 QCOMPARE(data3.yScale(), 2.0); in testCopyCtor() 102 QCOMPARE(data.yScale(), 2.0); in testAssignmentOperator() 129 QCOMPARE(data.yScale(), 1.0); in testSetScale() 134 QCOMPARE(data.yScale(), 1.0); in testSetScale() 139 QCOMPARE(data.yScale(), 3.0); in testSetScale() 144 QCOMPARE(data.yScale(), 3.0); in testSetScale() 149 QCOMPARE(data.yScale(), 2.0); in testSetScale() 154 QCOMPARE(data.yScale(), 2.5); in testSetScale() [all …]
|
/dports/java/java3d/java3d-1.5.2/j3d-core-utils/src/classes/share/com/sun/j3d/loaders/lw3d/ |
H A D | LwsFrame.java | 67 double xScale, yScale, zScale; field in LwsFrame 91 yScale = getNumber(st); in LwsFrame() 93 debugOutputLn(VALUES, "xs, ys, zs " + xScale +", " + yScale + ", " + zScale); in LwsFrame() 125 yScale = prevFrame.yScale + in LwsFrame() 126 (nextFrame.yScale - prevFrame.yScale) * ratio; in LwsFrame() 212 yScale = frame1.yScale + (frame2.yScale - frame1.yScale) * u; in LwsFrame() 277 m.setColumn(1, 0, yScale, 0, 0); in setMatrix() 310 (yScale < -0.0001 || yScale > 0.0001) && in getScale() 312 return (new Point3f((float)xScale, (float)yScale, (float)zScale)); in getScale() 327 debugOutputLn(VALUES, " yScale = " + yScale); in printVals()
|
/dports/science/rdkit/rdkit-Release_2021_03_5/rdkit/ML/MLUtils/ |
H A D | VoteImg.py | 66 def BuildVoteImage(nModels, data, values, trueValues=[], sortTrueVals=0, xScale=10, yScale=2, argument 115 img = img.resize((nModels * xScale, nData * yScale)) 119 def VoteAndBuildImage(composite, data, badOnly=0, sortTrueVals=0, xScale=10, yScale=2, addLine=1): argument 151 img = BuildVoteImage(nModels, res, values, trueValues, sortTrueVals, xScale, yScale, addLine) 188 yScale = 2 variable 201 yScale = int(val) variable 220 yScale=yScale)
|
/dports/science/wxmacmolplt/wxmacmolplt-7.7-43-g9a46f7a/src/ming-src/ |
H A D | position.c | 51 p->yScale = 1.0; 77 p->yScale * (sRot + xS*cRot), 78 p->yScale * (yS*sRot + (xS*yS+1)*cRot), 135 p->yScale *= y; 143 p->yScale = y; 186 p->yScale *= y; 195 p->yScale = y; 260 return position->yScale; 271 *outYScale = position->yScale;
|
/dports/graphics/ming/libming-ming-0_4_8/src/ |
H A D | position.c | 51 p->yScale = 1.0; in newSWFPosition() 77 p->yScale * (sRot + xS*cRot), in updateMatrix() 78 p->yScale * (yS*sRot + (xS*yS+1)*cRot), in updateMatrix() 135 p->yScale *= y; in SWFPosition_scaleY() 143 p->yScale = y; in SWFPosition_scaleYTo() 186 p->yScale *= y; in SWFPosition_scaleXY() 195 p->yScale = y; in SWFPosition_scaleXYTo() 260 return position->yScale; in SWFPosition_getYScale() 271 *outYScale = position->yScale; in SWFPosition_getXYScale()
|
/dports/graphics/p5-ming/libming-ming-0_4_8/src/ |
H A D | position.c | 51 p->yScale = 1.0; in newSWFPosition() 77 p->yScale * (sRot + xS*cRot), in updateMatrix() 78 p->yScale * (yS*sRot + (xS*yS+1)*cRot), in updateMatrix() 135 p->yScale *= y; in SWFPosition_scaleY() 143 p->yScale = y; in SWFPosition_scaleYTo() 186 p->yScale *= y; in SWFPosition_scaleXY() 195 p->yScale = y; in SWFPosition_scaleXYTo() 260 return position->yScale; in SWFPosition_getYScale() 271 *outYScale = position->yScale; in SWFPosition_getXYScale()
|
/dports/graphics/py-ming/libming-ming-0_4_8/src/ |
H A D | position.c | 51 p->yScale = 1.0; in newSWFPosition() 77 p->yScale * (sRot + xS*cRot), in updateMatrix() 78 p->yScale * (yS*sRot + (xS*yS+1)*cRot), in updateMatrix() 135 p->yScale *= y; in SWFPosition_scaleY() 143 p->yScale = y; in SWFPosition_scaleYTo() 186 p->yScale *= y; in SWFPosition_scaleXY() 195 p->yScale = y; in SWFPosition_scaleXYTo() 260 return position->yScale; in SWFPosition_getYScale() 271 *outYScale = position->yScale; in SWFPosition_getXYScale()
|
/dports/textproc/p5-PDF-Reuse/PDF-Reuse-0.39/lib/PDF/Util/ |
H A D | reuseComponent_pl | 41 my ($xDim, $yDim, $xScale, $yScale, $pdf); 63 $yScale = 100 / $yDim; 64 if ($xScale < $yScale) 65 { $yScale = $xScale; 68 { $xScale = $yScale; 71 $string .= "$xScale 0 0 $yScale $x $y cm\n"; # scale and "move to" 105 $yScale = 100 / $height; 108 if ($xScale < $yScale) 109 { $yScale = $xScale; 112 { $xScale = $yScale; [all …]
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/media/jai/opimage/ |
H A D | ImageFunctionOpImage.java | 39 protected float yScale; field in ImageFunctionOpImage 76 float xScale, float yScale, in ImageFunctionOpImage() argument 90 this.yScale = yScale; in ImageFunctionOpImage() 126 yScale*(destRect.y - yTrans), in computeRect() 127 xScale, yScale, in computeRect() 150 yScale*(destRect.y - yTrans), in computeRect() 151 xScale, yScale, in computeRect()
|
/dports/graphics/cenon/Cenon/graphicsUndo.subproj/ |
H A D | ScaleGraphicsChange.h | 31 float xScale, yScale; variable 34 - initGraphicView:aGraphicView xScale:(float)xScale yScale:(float)yScale center:(NSPoint)p; 38 - (float)yScale;
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/thebes/ |
H A D | gfxFT2FontBase.cpp | 260 gfxFloat yScale = 0.0; in InitMetrics() local 271 emHeight = face->units_per_EM * yScale; in InitMetrics() 297 yScale = emHeight / emUnit; in InitMetrics() 303 if (os2 && os2->sTypoAscender && yScale > 0.0) { in InitMetrics() 304 mMetrics.emAscent = os2->sTypoAscender * yScale; in InitMetrics() 305 mMetrics.emDescent = -os2->sTypoDescender * yScale; in InitMetrics() 308 lineHeight = typoHeight * yScale; in InitMetrics() 371 if (os2 && os2->sxHeight && yScale > 0.0) { in InitMetrics() 372 mMetrics.xHeight = os2->sxHeight * yScale; in InitMetrics() 391 if (os2 && os2->sCapHeight && yScale > 0.0) { in InitMetrics() [all …]
|