/dports/java/jgraphx/jgraphx-4.2.2/src/com/mxgraph/util/svg/ |
H A D | AWTPathProducer.java | 56 protected float yCenter; field in AWTPathProducer 113 yCenter = 0; in startPath() 172 path.lineTo(xCenter = currentX += x, yCenter = currentY); in linetoHorizontalRel() 180 path.lineTo(xCenter = currentX = x, yCenter = currentY); in linetoHorizontalAbs() 188 path.lineTo(xCenter = currentX, yCenter = currentY += y); in linetoVerticalRel() 196 path.lineTo(xCenter = currentX, yCenter = currentY = y); in linetoVerticalAbs() 229 xCenter = currentX + x2, yCenter = currentY + y2, in curvetoCubicSmoothRel() 272 - yCenter, currentX += x, currentY += y); in curvetoQuadraticSmoothRel() 282 - yCenter, currentX = x, currentY = y); in curvetoQuadraticSmoothAbs() 294 xCenter = currentX += x, yCenter = currentY += y); in arcRel() [all …]
|
/dports/science/jmol/jmol-14.32.7/src/org/jmol/g3d/ |
H A D | CircleRenderer.java | 54 void plotCircleCenteredClipped(int xCenter, int yCenter, int zCenter, in plotCircleCenteredClipped() argument 70 g.plotPixelClippedArgb(c, xCenter + x - sizeCorrection, yCenter + y in plotCircleCenteredClipped() 72 g.plotPixelClippedArgb(c, xCenter + x - sizeCorrection, yCenter - y, in plotCircleCenteredClipped() 79 g.plotPixelClippedArgb(c, xCenter + y - sizeCorrection, yCenter + x in plotCircleCenteredClipped() 98 void plotCircleCenteredUnclipped(int xCenter, int yCenter, int zCenter, in plotCircleCenteredUnclipped() argument 114 g.plotPixelUnclipped(c, xCenter + x - sizeCorrection, yCenter + y in plotCircleCenteredUnclipped() 116 g.plotPixelUnclipped(c, xCenter + x - sizeCorrection, yCenter - y, in plotCircleCenteredUnclipped() 118 g.plotPixelUnclipped(c, xCenter - x, yCenter + y - sizeCorrection, in plotCircleCenteredUnclipped() 122 g.plotPixelUnclipped(c, xCenter + y - sizeCorrection, yCenter + x in plotCircleCenteredUnclipped() 124 g.plotPixelUnclipped(c, xCenter + y - sizeCorrection, yCenter - x, in plotCircleCenteredUnclipped() [all …]
|
/dports/graphics/kdiagram/kdiagram-2.8.0/src/KChart/ |
H A D | KChartZoomParameters.h | 45 yCenter( 0.5) in ZoomParameters() 53 yCenter( center.y() ) in ZoomParameters() 60 yCenter = center.y(); in setCenter() 64 return QPointF( xCenter, yCenter ); in center() 71 qreal yCenter; variable
|
/dports/x11-toolkits/qt5-quickcontrols/kde-qtquickcontrols-5.15.2p3/src/extras/Private/ |
H A D | CircularButtonStyleHelper.qml | 92 var yCenter = ctx.canvas.height / 2; 97 ctx.arc(xCenter, yCenter, outerArcRadius, 0, Math.PI * 2, false); 98 var gradient = ctx.createRadialGradient(xCenter, yCenter - halfRadius, 99 0, xCenter, yCenter - halfRadius, radius * 1.5); 108 ctx.arc(xCenter, yCenter, shineArcRadius, 0, Math.PI, false); 109 gradient = ctx.createLinearGradient(xCenter, yCenter + radius, xCenter, yCenter); 118 ctx.arc(xCenter, yCenter, innerArcRadius, 0, Math.PI * 2, false); 119 gradient = ctx.createLinearGradient(xCenter, yCenter - halfRadius, 120 xCenter, yCenter + halfRadius); 128 ctx.ellipse(xCenter - radius, yCenter - radius, radius * 2, radius * 2); [all …]
|
/dports/science/siconos/siconos-4.4.0/mechanics/src/collision/native/bodies/ |
H A D | DiskPlanR.cpp | 38 yCenter = -C / B; in init() 49 yCenter = - (A * xCenter + C) / B; in init() 51 xCenter = - (B * yCenter + C) / A; in init() 61 y1 = yCenter - copysign(1, B) * halfWidth * A / sqrA2pB2; in init() 63 y2 = yCenter + copysign(1, B) * halfWidth * A / sqrA2pB2; in init() 80 xCenter(xC), yCenter(yC), width(w) in DiskPlanR() 82 init(r, A, B, C, xCenter, yCenter, width); in DiskPlanR() 99 if(hypot(xCenter - x0, yCenter - y0) >= halfWidth) in distance() 215 pXc == xCenter && pYc == yCenter && pw == width); in equal()
|
H A D | DiskPlanR.hpp | 40 AC, B2, A2, AB, BC, xCenter, yCenter, width, halfWidth, x1, x2, y1, y2; member in DiskPlanR 69 double xCenter, double yCenter, double width); 110 return yCenter; in getYCenter()
|
/dports/science/py-paida/paida-3.2.1_2.10.1/paida/paida_core/ |
H A D | IFitData.py | 112 centers.append([xCenter, yCenter]) 136 center[yIndex] = yCenter 148 yCenter = cloud.valueY(entryNumber) 149 centers.append([xCenter, yCenter]) 181 yCenter = profile.binMeanY(xBinNumber, yBinNumber) 182 centers.append([xCenter, yCenter]) 206 center[yIndex] = yCenter 259 centers.append([xCenter, yCenter, zCenter]) 288 center[yIndex] = yCenter 301 yCenter = cloud.valueY(entryNumber) [all …]
|
/dports/x11-toolkits/gnocl/gnocl-0.9.96/demo/canvas/ |
H A D | test-canvas-lines.tcl-bcp20040921 | 140 set yCenter 0 150 global lastX lastY xCenter yCenter 151 set a1 [expr {atan2($y-$yCenter,$x-$xCenter)}] 152 set a2 [expr {atan2($lastY-$yCenter,$lastX-$xCenter)}] 153 $canv rotate $item [list $xCenter $yCenter [expr {$a1-$a2}]] 159 global lastX lastY xCenter yCenter 160 set a1 [expr {pow($y-$yCenter,2)+pow($x-$xCenter,2)}] 161 set a2 [expr {pow($lastY-$yCenter,2)+pow($lastX-$xCenter,2)}] 163 $canv scale $item [list $xCenter $yCenter [expr {sqrt($a1/$a2)}]] 170 global buttonPress lastX lastY xCenter yCenter [all …]
|
H A D | test-canvas-lines.tcl | 132 set yCenter 0 142 global lastX lastY xCenter yCenter 145 $canv rotate $item [list $xCenter $yCenter [expr {$a1-$a2}]] 151 global lastX lastY xCenter yCenter 155 $canv scale $item [list $xCenter $yCenter [expr {sqrt($a1/$a2)}]] 162 global buttonPress lastX lastY xCenter yCenter 178 set yCenter [expr {($y1+$y0)/2.}]
|
/dports/graphics/libdmtx/libdmtx-0.7.5/ |
H A D | dmtxscangrid.c | 112 grid->yCenter += grid->jumpSize; in GetGridCoordinates() 116 if(grid->yCenter > grid->maxExtent) { in GetGridCoordinates() 134 loc.Y = grid->yCenter; in GetGridCoordinates() 143 loc.Y = grid->yCenter; in GetGridCoordinates() 149 loc.Y = grid->yCenter + ((count < quarter) ? (count - quarter) : (half - count)); in GetGridCoordinates() 177 grid->xCenter = grid->yCenter = grid->startPos; in SetDerivedFields()
|
/dports/editors/calligra/calligra-3.2.1/libs/vectorimage/libwmf/ |
H A D | WmfWriter.cpp | 313 int xCenter, yCenter; in drawArc() local 318 yCenter = top + (height / 2); in drawArc() 321 d->mSt << (quint16)(yCenter + offYEnd) << (quint16)(xCenter + offXEnd); in drawArc() 322 d->mSt << (quint16)(yCenter + offYStart) << (quint16)(xCenter + offXStart); in drawArc() 332 int xCenter, yCenter; in drawPie() local 337 yCenter = top + (height / 2); in drawPie() 340 d->mSt << (quint16)(yCenter + offYEnd) << (quint16)(xCenter + offXEnd); in drawPie() 341 d->mSt << (quint16)(yCenter + offYStart) << (quint16)(xCenter + offXStart); in drawPie() 351 int xCenter, yCenter; in drawChord() local 356 yCenter = top + (height / 2); in drawChord() [all …]
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/QtCollider/widgets/ |
H A D | QcScope.cpp | 96 float yCenter = area.height() * 0.5; in paint1D() local 98 yCenter *= (c * 2 + 1); in paint1D() 99 yCenter /= buffer.channels; in paint1D() 101 yCenter += area.y(); in paint1D() 103 setPoint(pt1, 0, buffer.data[c], xRatio, yRatio, area.x(), yCenter); in paint1D() 106 setPoint(pt2, f, buffer.data[s], xRatio, yRatio, area.x(), yCenter); in paint1D()
|
/dports/deskutils/lumina-photo/lumina-1.6.0/src-qt5/src-qml/test/ |
H A D | CPUGaugeStyle.qml | 62 property real yCenter: outerRadius 95 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 101 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 105 …var gradient = ctx.createRadialGradient(xCenter, yCenter, outerRadius * 0.8, xCenter, yCenter, out… 110 …ctx.arc(xCenter, yCenter, outerRadius - tickmarkInset, outerRadius - tickmarkInset, 0, Math.PI * 2… 128 property real yCenter: height / 2 138 ctx.lineTo(xCenter, yCenter - needleLength);
|
/dports/deskutils/lumina-mediaplayer/lumina-1.6.0/src-qt5/src-qml/test/ |
H A D | CPUGaugeStyle.qml | 62 property real yCenter: outerRadius 95 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 101 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 105 …var gradient = ctx.createRadialGradient(xCenter, yCenter, outerRadius * 0.8, xCenter, yCenter, out… 110 …ctx.arc(xCenter, yCenter, outerRadius - tickmarkInset, outerRadius - tickmarkInset, 0, Math.PI * 2… 128 property real yCenter: height / 2 138 ctx.lineTo(xCenter, yCenter - needleLength);
|
/dports/deskutils/lumina-fileinfo/lumina-1.6.0/src-qt5/src-qml/test/ |
H A D | CPUGaugeStyle.qml | 62 property real yCenter: outerRadius 95 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 101 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 105 …var gradient = ctx.createRadialGradient(xCenter, yCenter, outerRadius * 0.8, xCenter, yCenter, out… 110 …ctx.arc(xCenter, yCenter, outerRadius - tickmarkInset, outerRadius - tickmarkInset, 0, Math.PI * 2… 128 property real yCenter: height / 2 138 ctx.lineTo(xCenter, yCenter - needleLength);
|
/dports/deskutils/lumina-textedit/lumina-1.6.0/src-qt5/src-qml/test/ |
H A D | CPUGaugeStyle.qml | 62 property real yCenter: outerRadius 95 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 101 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 105 …var gradient = ctx.createRadialGradient(xCenter, yCenter, outerRadius * 0.8, xCenter, yCenter, out… 110 …ctx.arc(xCenter, yCenter, outerRadius - tickmarkInset, outerRadius - tickmarkInset, 0, Math.PI * 2… 128 property real yCenter: height / 2 138 ctx.lineTo(xCenter, yCenter - needleLength);
|
/dports/deskutils/lumina-archiver/lumina-1.6.0/src-qt5/src-qml/test/ |
H A D | CPUGaugeStyle.qml | 62 property real yCenter: outerRadius 95 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 101 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 105 …var gradient = ctx.createRadialGradient(xCenter, yCenter, outerRadius * 0.8, xCenter, yCenter, out… 110 …ctx.arc(xCenter, yCenter, outerRadius - tickmarkInset, outerRadius - tickmarkInset, 0, Math.PI * 2… 128 property real yCenter: height / 2 138 ctx.lineTo(xCenter, yCenter - needleLength);
|
/dports/deskutils/lumina-fm/lumina-1.6.0/src-qt5/src-qml/test/ |
H A D | CPUGaugeStyle.qml | 62 property real yCenter: outerRadius 95 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 101 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 105 …var gradient = ctx.createRadialGradient(xCenter, yCenter, outerRadius * 0.8, xCenter, yCenter, out… 110 …ctx.arc(xCenter, yCenter, outerRadius - tickmarkInset, outerRadius - tickmarkInset, 0, Math.PI * 2… 128 property real yCenter: height / 2 138 ctx.lineTo(xCenter, yCenter - needleLength);
|
/dports/deskutils/lumina-screenshot/lumina-1.6.0/src-qt5/src-qml/test/ |
H A D | CPUGaugeStyle.qml | 62 property real yCenter: outerRadius 95 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 101 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 105 …var gradient = ctx.createRadialGradient(xCenter, yCenter, outerRadius * 0.8, xCenter, yCenter, out… 110 …ctx.arc(xCenter, yCenter, outerRadius - tickmarkInset, outerRadius - tickmarkInset, 0, Math.PI * 2… 128 property real yCenter: height / 2 138 ctx.lineTo(xCenter, yCenter - needleLength);
|
/dports/x11/lumina-coreutils/lumina-1.6.0/src-qt5/src-qml/test/ |
H A D | CPUGaugeStyle.qml | 62 property real yCenter: outerRadius 95 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 101 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 105 …var gradient = ctx.createRadialGradient(xCenter, yCenter, outerRadius * 0.8, xCenter, yCenter, out… 110 …ctx.arc(xCenter, yCenter, outerRadius - tickmarkInset, outerRadius - tickmarkInset, 0, Math.PI * 2… 128 property real yCenter: height / 2 138 ctx.lineTo(xCenter, yCenter - needleLength);
|
/dports/x11/lumina-core/lumina-1.6.0/src-qt5/src-qml/test/ |
H A D | CPUGaugeStyle.qml | 62 property real yCenter: outerRadius 95 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 101 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 105 …var gradient = ctx.createRadialGradient(xCenter, yCenter, outerRadius * 0.8, xCenter, yCenter, out… 110 …ctx.arc(xCenter, yCenter, outerRadius - tickmarkInset, outerRadius - tickmarkInset, 0, Math.PI * 2… 128 property real yCenter: height / 2 138 ctx.lineTo(xCenter, yCenter - needleLength);
|
/dports/math/vtk6/VTK-6.2.0/Examples/ImageProcessing/Tcl/ |
H A D | ImageSlicing.tcl | 41 set yCenter [expr $y0 + $ySpacing * 0.5 * ($yMin + $yMax)] 47 0 1 0 $yCenter 56 0 0 1 $yCenter 65 1 0 0 $yCenter 75 0 0.866025 -0.5 $yCenter
|
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtquickcontrols/examples/quickcontrols/extras/dashboard/qml/ |
H A D | DashboardGaugeStyle.qml | 61 property real yCenter: outerRadius 94 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 100 …ctx.arc(xCenter, yCenter, outerRadius - ctx.lineWidth / 2, outerRadius - ctx.lineWidth / 2, 0, Mat… 104 … var gradient = ctx.createRadialGradient(xCenter, yCenter, 0, xCenter, yCenter, outerRadius * 1.5); 109 …ctx.arc(xCenter, yCenter, outerRadius - tickmarkInset, outerRadius - tickmarkInset, 0, Math.PI * 2… 146 property real yCenter: height / 2 156 ctx.lineTo(xCenter, yCenter - needleLength);
|
/dports/science/jmol/jmol-14.32.7/src/org/jmol/render/ |
H A D | AxesRenderer.java | 161 float yCenter = ptTemp.y; in render() local 172 + Math.abs(yCenter - p3Screens[i].y) <= 2) in render() 182 xCenter, yCenter); in render() 201 renderLabel(label0, xCenter, yCenter, ptTemp.z, xCenter, yCenter); in render() 209 private void renderLabel(String str, float x, float y, float z, float xCenter, float yCenter) { in renderLabel() argument 213 float dy = y - yCenter; in renderLabel()
|
/dports/multimedia/webcamoid/webcamoid-8.8.0/libAvKys/Plugins/Swirl/src/ |
H A D | swirlelement.cpp | 78 qreal yCenter = src.height() >> 1; in iVideoStream() local 79 qreal radius = qMax(xCenter, yCenter); in iVideoStream() 91 qreal yDistance = yScale * (y - yCenter); in iVideoStream() 105 int yp = int((sine * xDistance + cosine * yDistance) / yScale + yCenter); in iVideoStream()
|