Home
last modified time | relevance | path

Searched refs:xScale (Results 1 – 25 of 1145) sorted by relevance

12345678910>>...46

/dports/www/firefox-esr/firefox-91.8.0/gfx/2d/
H A DScaleFactors2D.h27 float xScale; member
32 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D()
34 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D()
53 return ScaleFactor<src, dst>(xScale); in ToScaleFactor()
60 return xScale == aOther.xScale && yScale == aOther.yScale;
70 return aStream << aScale.xScale;
79 return ScaleFactors2D<other, dst>(xScale / aOther.xScale,
86 return ScaleFactors2D<src, other>(xScale / aOther.xScale,
93 return ScaleFactors2D<src, other>(xScale * aOther.xScale,
100 return ScaleFactors2D<other, dst>(xScale * aOther.xScale,
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/2d/
H A DScaleFactors2D.h27 float xScale; member
32 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D()
34 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D()
53 return ScaleFactor<src, dst>(xScale); in ToScaleFactor()
60 return xScale == aOther.xScale && yScale == aOther.yScale;
70 return aStream << aScale.xScale;
79 return ScaleFactors2D<other, dst>(xScale / aOther.xScale,
86 return ScaleFactors2D<src, other>(xScale / aOther.xScale,
93 return ScaleFactors2D<src, other>(xScale * aOther.xScale,
100 return ScaleFactors2D<other, dst>(xScale * aOther.xScale,
[all …]
/dports/www/firefox/firefox-99.0/gfx/2d/
H A DScaleFactors2D.h27 float xScale; member
32 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D()
34 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D()
53 return ScaleFactor<src, dst>(xScale); in ToScaleFactor()
60 return xScale == aOther.xScale && yScale == aOther.yScale;
70 return aStream << aScale.xScale;
79 return ScaleFactors2D<other, dst>(xScale / aOther.xScale,
86 return ScaleFactors2D<src, other>(xScale / aOther.xScale,
93 return ScaleFactors2D<src, other>(xScale * aOther.xScale,
100 return ScaleFactors2D<other, dst>(xScale * aOther.xScale,
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/2d/
H A DScaleFactors2D.h27 float xScale; member
32 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D()
34 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D()
53 return ScaleFactor<src, dst>(xScale); in ToScaleFactor()
60 return xScale == aOther.xScale && yScale == aOther.yScale;
70 return aStream << aScale.xScale;
79 return ScaleFactors2D<other, dst>(xScale / aOther.xScale,
86 return ScaleFactors2D<src, other>(xScale / aOther.xScale,
93 return ScaleFactors2D<src, other>(xScale * aOther.xScale,
100 return ScaleFactors2D<other, dst>(xScale * aOther.xScale,
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/2d/
H A DScaleFactors2D.h27 float xScale; member
32 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D()
34 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D()
53 return ScaleFactor<src, dst>(xScale); in ToScaleFactor()
57 return xScale == aOther.xScale && yScale == aOther.yScale;
67 return aStream << aScale.xScale;
76 return ScaleFactors2D<other, dst>(xScale / aOther.xScale,
83 return ScaleFactors2D<src, other>(xScale / aOther.xScale,
90 return ScaleFactors2D<src, other>(xScale * aOther.xScale,
97 return ScaleFactors2D<other, dst>(xScale * aOther.xScale,
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/2d/
H A DScaleFactors2D.h26 float xScale; member
31 : xScale(aCopy.xScale), yScale(aCopy.yScale) {} in ScaleFactors2D()
33 : xScale(aXScale), yScale(aYScale) {} in ScaleFactors2D()
52 return ScaleFactor<src, dst>(xScale); in ToScaleFactor()
56 return xScale == aOther.xScale && yScale == aOther.yScale;
66 return aStream << aScale.xScale;
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 Daction.cpp81 if ( cache[i].xScale == matrix.xScale in CalculateBounds()
85 m.xScale = 1; in CalculateBounds()
114 if ( cache[i].xScale == matrix.xScale && cache[i].yScale == matrix.yScale ) in Draw()
117 m.xScale = 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()
189 block.xScale = xScale; in CacheScale()
[all …]
H A Dkrmath.h50 GlFixed xScale, yScale; variable
58 if ( other.xScale.v == GlFixed_1 in Composite()
66 x = other.x + other.xScale * x; in Composite()
68 xScale = other.xScale * xScale; in Composite()
77 xScale.v = _xScale.v;
82 bool IsScaled() const { return ( xScale.v != GlFixed_1 ) || ( yScale.v != GlFixed_1 ); } in IsScaled()
84 … KrMatrix2& b) { return (a.x.v == b.x.v && a.y.v == b.y.v && a.xScale.v == b.xScale.v && a.ySca…
85 … KrMatrix2& b) { return (a.x.v != b.x.v || a.y.v != b.y.v || a.xScale.v != b.xScale.v || a.ySca…
98 xmin *= matrix.xScale; in ScaleTranslate()
100 xmax *= matrix.xScale; in ScaleTranslate()
H A Dtileresource.cpp211 if ( cache[i].xScale == matrix.xScale in Draw()
215 matrix.xScale = 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()
373 block.xScale = xScale; in CacheScale()
380 bool KrTileResource::IsScaleCached( GlFixed xScale, GlFixed yScale ) in IsScaleCached() argument
[all …]
/dports/graphics/okular/okular-21.12.3/core/
H A Darea.cpp34 : x((double)iX / (double)xScale) in NormalizedPoint()
79 thisDistance = end.distanceSqr(x, y, xScale, yScale); in distanceSqr()
136 : left((double)r.left() / xScale) in NormalizedRect()
138 , right((double)r.right() / xScale) in NormalizedRect()
236 …int l = (int)(left * xScale), t = (int)(top * yScale), r = (int)(right * xScale), b = (int)(bottom… in geometry()
243 …int l = (int)(left * xScale + 0.5), t = (int)(top * yScale + 0.5), r = (int)(right * xScale + 0.5)… in roundedGeometry()
364 …return QRect((int)(br.left() * xScale), (int)(br.top() * yScale), (int)(br.width() * xScale), (int… in boundingRect()
394 return pow((x - point.x) * xScale, 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 Darea.h133 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/games/egl/egl-0.3.1_9/renderer/
H A Drf_font.c353 if (xScale >= fs->minScale && xScale > bestScale) { in R_ShaderForFont()
374 if (!xScale && !yScale) { in R_GetFontDimensions()
375 xScale = r_fontScale->floatVal; in R_GetFontDimensions()
382 dest[0] = font->charWidth * xScale; in R_GetFontDimensions()
386 dest[0] = font->charHeight * xScale; in R_GetFontDimensions()
391 dest[0] = font->charWidth * xScale; in R_GetFontDimensions()
419 if (!xScale && !yScale) { in R_DrawString()
420 xScale = r_fontScale->floatVal; in R_DrawString()
427 shader = R_ShaderForFont (font, xScale, yScale); in R_DrawString()
550 if (!xScale && !yScale) { in R_DrawChar()
[all …]
/dports/audio/milkytracker/MilkyTracker-1.03.00/src/tracker/
H A DSampleEditorControl.cpp74 xScale(1.0f), in SampleEditorControl()
1378 xScale = 1.0f; in attachSampleEditor()
1410 xScale = minScale; in showRange()
1509 xScale*=factor; in zoomOut()
1516 xScale = xScale2; in zoomOut()
1544 xScale*=factor; in zoomIn()
1551 xScale = minScale; in zoomIn()
1558 xScale = xScale2; in zoomIn()
1584 xScale = minScale; in showAll()
1891 xScale = 1.0f; in editorNotification()
[all …]
/dports/graphics/tiled/tiled-1.7.2/src/tmxrasterizer/
H A Dtmxrasterizer.cpp147 qreal xScale, yScale; in renderMap() local
150 xScale = static_cast<qreal>(mSize) / mapSize.width(); in renderMap()
152 xScale = yScale = qMin(1.0, qMin(xScale, yScale)); in renderMap()
157 xScale = yScale = mScale; in renderMap()
167 mapSize.rwidth() *= xScale; in renderMap()
176 painter.setTransform(QTransform::fromScale(xScale, yScale)); in renderMap()
241 qreal xScale, yScale; in renderWorld() local
243 xScale = static_cast<qreal>(mSize) / worldSize.width(); 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 Dtest_screen_paint_data.cpp40 QCOMPARE(data.xScale(), 1.0); in testCtor()
58 QCOMPARE(data2.xScale(), 1.0); in testCopyCtor()
76 QCOMPARE(data3.xScale(), 0.5); in testCopyCtor()
101 QCOMPARE(data.xScale(), 0.5); in testAssignmentOperator()
128 QCOMPARE(data.xScale(), 1.0); in testSetScale()
133 QCOMPARE(data.xScale(), 2.0); in testSetScale()
138 QCOMPARE(data.xScale(), 2.0); in testSetScale()
143 QCOMPARE(data.xScale(), 2.0); in testSetScale()
148 QCOMPARE(data.xScale(), 0.5); in testSetScale()
153 QCOMPARE(data.xScale(), 1.5); in testSetScale()
[all …]
/dports/java/java3d/java3d-1.5.2/j3d-core-utils/src/classes/share/com/sun/j3d/loaders/lw3d/
H A DLwsFrame.java67 double xScale, yScale, zScale; field in LwsFrame
90 xScale = getNumber(st); in LwsFrame()
93 debugOutputLn(VALUES, "xs, ys, zs " + xScale +", " + yScale + ", " + zScale); in LwsFrame()
123 xScale = prevFrame.xScale + in LwsFrame()
124 (nextFrame.xScale - prevFrame.xScale) * ratio; in LwsFrame()
211 xScale = frame1.xScale + (frame2.xScale - frame1.xScale) * u; in LwsFrame()
276 m.setColumn(0, xScale, 0, 0, 0); // setScale not yet implemented in setMatrix()
309 if ((xScale < -0.0001 || xScale > 0.0001) && in getScale()
312 return (new Point3f((float)xScale, (float)yScale, (float)zScale)); in getScale()
326 debugOutputLn(VALUES, " xScale = " + xScale); in printVals()
/dports/devel/upp/upp/bazaar/PixRaster/
H A DLept-Scale.cpp24 double xScale = (double)width / (double)w; in Fit() local
28 xScale = min(xScale, yScale); in Fit()
29 yScale = xScale; in Fit()
31 return Scale(xScale, yScale); in Fit()
/dports/science/rdkit/rdkit-Release_2021_03_5/rdkit/ML/MLUtils/
H A DVoteImg.py66 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)
187 xScale = 10 variable
199 xScale = int(val) variable
219 img = VoteAndBuildImage(model, dataSet, badOnly=badOnly, sortTrueVals=sortTrueVals, xScale=xScale,
/dports/science/wxmacmolplt/wxmacmolplt-7.7-43-g9a46f7a/src/ming-src/
H A Dposition.c50 p->xScale = 1.0;
75 SWFMatrix_set(m, p->xScale * (cRot - xS*sRot),
76 p->xScale * (yS*cRot - (xS*yS+1)*sRot),
119 p->xScale *= x;
127 p->xScale = x;
185 p->xScale *= x;
194 p->xScale = x;
253 return position->xScale;
268 *outXScale = position->xScale;
/dports/graphics/ming/libming-ming-0_4_8/src/
H A Dposition.c50 p->xScale = 1.0; in newSWFPosition()
75 SWFMatrix_set(m, p->xScale * (cRot - xS*sRot), in updateMatrix()
76 p->xScale * (yS*cRot - (xS*yS+1)*sRot), in updateMatrix()
119 p->xScale *= x; in SWFPosition_scaleX()
127 p->xScale = x; in SWFPosition_scaleXTo()
185 p->xScale *= x; in SWFPosition_scaleXY()
194 p->xScale = x; in SWFPosition_scaleXYTo()
253 return position->xScale; in SWFPosition_getXScale()
268 *outXScale = position->xScale; in SWFPosition_getXYScale()
/dports/graphics/p5-ming/libming-ming-0_4_8/src/
H A Dposition.c50 p->xScale = 1.0; in newSWFPosition()
75 SWFMatrix_set(m, p->xScale * (cRot - xS*sRot), in updateMatrix()
76 p->xScale * (yS*cRot - (xS*yS+1)*sRot), in updateMatrix()
119 p->xScale *= x; in SWFPosition_scaleX()
127 p->xScale = x; in SWFPosition_scaleXTo()
185 p->xScale *= x; in SWFPosition_scaleXY()
194 p->xScale = x; in SWFPosition_scaleXYTo()
253 return position->xScale; in SWFPosition_getXScale()
268 *outXScale = position->xScale; in SWFPosition_getXYScale()
/dports/graphics/py-ming/libming-ming-0_4_8/src/
H A Dposition.c50 p->xScale = 1.0; in newSWFPosition()
75 SWFMatrix_set(m, p->xScale * (cRot - xS*sRot), in updateMatrix()
76 p->xScale * (yS*cRot - (xS*yS+1)*sRot), in updateMatrix()
119 p->xScale *= x; in SWFPosition_scaleX()
127 p->xScale = x; in SWFPosition_scaleXTo()
185 p->xScale *= x; in SWFPosition_scaleXY()
194 p->xScale = x; in SWFPosition_scaleXYTo()
253 return position->xScale; in SWFPosition_getXScale()
268 *outXScale = position->xScale; in SWFPosition_getXYScale()
/dports/textproc/p5-PDF-Reuse/PDF-Reuse-0.39/lib/PDF/Util/
H A DreuseComponent_pl41 my ($xDim, $yDim, $xScale, $yScale, $pdf);
62 $xScale = 100 / $xDim;
64 if ($xScale < $yScale)
65 { $yScale = $xScale;
68 { $xScale = $yScale;
71 $string .= "$xScale 0 0 $yScale $x $y cm\n"; # scale and "move to"
104 $xScale = 100 / $width;
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 DImageFunctionOpImage.java36 protected float xScale; field in ImageFunctionOpImage
76 float xScale, float yScale, in ImageFunctionOpImage() argument
89 this.xScale = xScale; in ImageFunctionOpImage()
125 function.getElements(xScale*(destRect.x - xTrans), in computeRect()
127 xScale, yScale, in computeRect()
149 function.getElements(xScale*(destRect.x - xTrans), in computeRect()
151 xScale, yScale, in computeRect()
/dports/graphics/cenon/Cenon/graphicsUndo.subproj/
H A DScaleGraphicsChange.h31 float xScale, yScale; variable
34 - initGraphicView:aGraphicView xScale:(float)xScale yScale:(float)yScale center:(NSPoint)p;
37 - (float)xScale;

12345678910>>...46