Home
last modified time | relevance | path

Searched refs:lastPoint (Results 1 – 25 of 648) sorted by relevance

12345678910>>...26

/dports/graphics/reallyslick/rss-glx_0.9.1/src/
H A DsplinePath.cpp186 float tempx = basexyz[lastPoint-1][0] - basexyz[lastPoint-2][0]; in makeNewPoint()
187 float tempz = basexyz[lastPoint-1][2] - basexyz[lastPoint-2][2]; in makeNewPoint()
192 …at dist_from_center = sqrtf(basexyz[lastPoint][0] * basexyz[lastPoint][0] + basexyz[lastPoint][2] … in makeNewPoint()
194 const float angleToCenter = atan2f(-basexyz[lastPoint][0], -basexyz[lastPoint][2]); in makeNewPoint()
212 basexyz[lastPoint][1] = 0.0f; in makeNewPoint()
218 + basexyz[lastPoint][2] * basexyz[lastPoint][2]); in makeNewPoint()
223 movevec[lastPoint][0] = rsRandf(0.25f) * -basexyz[lastPoint][2]; in makeNewPoint()
224 movevec[lastPoint][1] = 0.3f; in makeNewPoint()
225 movevec[lastPoint][2] = rsRandf(0.25f) * basexyz[lastPoint][0]; in makeNewPoint()
228 basexyz[lastPoint][0] += basexyz[lastPoint-1][0]; in makeNewPoint()
[all …]
/dports/misc/visp/visp-3.4.0/modules/gui/src/plot/
H A DvpPlotCurve.cpp51 …: color(vpColor::red), curveStyle(point), thickness(1), nbPoint(0), lastPoint(), pointListx(), poi… in vpPlotCurve()
68 vpDisplay::displayLine(I, lastPoint, iP, color, thickness); in plotPoint()
76 if (iP.get_i() <= lastPoint.get_i()) { in plotPoint()
78 height = lastPoint.get_i() - top + 10; in plotPoint()
80 top = lastPoint.get_i() - 5; in plotPoint()
83 if (iP.get_j() <= lastPoint.get_j()) { in plotPoint()
85 width = lastPoint.get_j() - left + 10; in plotPoint()
87 left = lastPoint.get_j() - 5; in plotPoint()
92 lastPoint = iP; in plotPoint()
109 vpDisplay::displayLine(I, lastPoint, iP, color, thickness); in plotList()
[all …]
/dports/graphics/jogamp-jogl/jogl/src/jogl/classes/jogamp/graph/font/typecast/t2/
H A DT2Interpreter.java63 moveTo(lastPoint.x + dx1, lastPoint.y + dy1); in _rmoveto()
73 moveTo(lastPoint.x + dx1, lastPoint.y); in _hmoveto()
83 moveTo(lastPoint.x, lastPoint.y + dy1); in _vmoveto()
102 lineTo(lastPoint.x + dx[i], lastPoint.y + dy[i]); in _rlineto()
126 lineTo(lastPoint.x + nums[i].intValue(), lastPoint.y); in _hlineto()
128 lineTo(lastPoint.x, lastPoint.y + nums[i].intValue()); in _hlineto()
153 lineTo(lastPoint.x, lastPoint.y + nums[i].intValue()); in _vlineto()
155 lineTo(lastPoint.x + nums[i].intValue(), lastPoint.y); in _vlineto()
411 xa = lastPoint.x + dxa[i]; in _rlinecurve()
412 ya = lastPoint.y + dya[i]; in _rlinecurve()
[all …]
/dports/graphics/kdiagram/kdiagram-2.8.0/src/KChart/Cartesian/DiagramFlavors/
H A DKChartNormalPlotter_p.cpp63 PlotterDiagramCompressor::DataPoint lastPoint; in paint() local
81 lastPoint = PlotterDiagramCompressor::DataPoint(); in paint()
90 … const QPointF a( plane->translate( QPointF( lastPoint.key, lastPoint.value ) ) ); in paint()
91 const QPointF c( plane->translate( QPointF( lastPoint.key, 0.0 ) ) ); in paint()
111 … attributesModel()->mapToSource( lastPoint.index ), in paint()
117 lastPoint = point; in paint()
129 CartesianDiagramDataCompressor::DataPoint lastPoint; in paint() local
149 lastPoint = CartesianDiagramDataCompressor::DataPoint(); in paint()
158 … const QPointF a( plane->translate( QPointF( lastPoint.key, lastPoint.value ) ) ); in paint()
159 const QPointF c( plane->translate( QPointF( lastPoint.key, 0.0 ) ) ); in paint()
[all …]
H A DKChartNormalLineDiagram_p.cpp68 CartesianDiagramDataCompressor::DataPoint lastPoint; in paint() local
121 … const QPointF a( plane->translate( QPointF( lastPoint.key + offset, lastPoint.value ) ) ); in paint()
123 … const QPointF c( plane->translate( QPointF( lastPoint.key + offset, lastAreaBoundingValue ) ) ); in paint()
132 if ( !ISNAN( lastPoint.value ) ) { in paint()
138 … PaintingHelpers::paintAreas( m_private, ctx, attributesModel()->mapToSource( lastPoint.index ), in paint()
147 lastPoint = point; in paint()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/src/share/tools/IdealGraphVisualizer/ServerCompiler/src/com/sun/hotspot/igv/servercompiler/
H A DJavaGroupOrganizer.java121 int lastPoint = tmp.lastIndexOf(".");
122 if (lastPoint == -1) {
126 name = name.substring(0, current + 1) + name.substring(lastPoint + 1);
153 int lastPoint = fullClassName.lastIndexOf(".");
154 if (lastPoint == -1) {
157 lastPoint = fullClassName.lastIndexOf(".", lastPoint - 1);
158 if (lastPoint == -1) {
162 String packageName = fullClassName.substring(0, lastPoint);
190 int lastPoint = fullClassName.lastIndexOf(".");
191 if (lastPoint == -1) {
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/src/share/tools/IdealGraphVisualizer/ServerCompiler/src/com/sun/hotspot/igv/servercompiler/
H A DJavaGroupOrganizer.java121 int lastPoint = tmp.lastIndexOf(".");
122 if (lastPoint == -1) {
126 name = name.substring(0, current + 1) + name.substring(lastPoint + 1);
153 int lastPoint = fullClassName.lastIndexOf(".");
154 if (lastPoint == -1) {
157 lastPoint = fullClassName.lastIndexOf(".", lastPoint - 1);
158 if (lastPoint == -1) {
162 String packageName = fullClassName.substring(0, lastPoint);
190 int lastPoint = fullClassName.lastIndexOf(".");
191 if (lastPoint == -1) {
[all …]
/dports/graphics/kolourpaint/kolourpaint-21.12.3/tools/flow/
H A DkpToolSpraycan.cpp119 const QPoint &lastPoint, in drawLineWithProbability() argument
124 << ",lastPoint=" << lastPoint in drawLineWithProbability()
128 QList <QPoint> docPoints = kpPainter::interpolatePoints (lastPoint, thisPoint, in drawLineWithProbability()
143 QRect docRect = kpPainter::normalizedRect(thisPoint, lastPoint); in drawLineWithProbability()
177 << " lastPoint=" << lastPoint (); in drawPoint()
182 if (point != lastPoint ()) in drawPoint()
193 QRect kpToolSpraycan::drawLine (const QPoint &thisPoint, const QPoint &lastPoint) in drawLine() argument
196 qCDebug(kpLogTools) << "CALL(thisPoint=" << thisPoint << ",lastPoint=" << lastPoint; in drawLine()
200 return drawLineWithProbability (thisPoint, lastPoint, in drawLine()
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtbase/examples/widgets/widgets/tablet/
H A Dtabletcanvas.cpp102 lastPoint.pos = event->posF(); in tabletEvent()
103 lastPoint.pressure = event->pressure(); in tabletEvent()
104 lastPoint.rotation = event->rotation(); in tabletEvent()
116 lastPoint.pos = event->posF(); in tabletEvent()
117 lastPoint.pressure = event->pressure(); in tabletEvent()
118 lastPoint.rotation = event->rotation(); in tabletEvent()
169 QRadialGradient grad(lastPoint.pos, m_pen.widthF() * 10.0); in paintPixmap()
186 qreal halfWidth = pressureToWidth(lastPoint.pressure); in paintPixmap()
189 poly << lastPoint.pos + brushAdjust; in paintPixmap()
190 poly << lastPoint.pos - brushAdjust; in paintPixmap()
[all …]
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vtools/visualization/path/
H A Dvistoolsplinepath.cpp91 const int lastPoint = preLastPoint + 1; in RefreshGeometry() local
98 ctrlPoints[lastPoint]->RefreshCtrlPoint(i, SplinePointPosition::LastPoint, in RefreshGeometry()
202 int lastPoint = 0; in Creating() local
207 lastPoint = (size - 1) * 2; in Creating()
208 preLastPoint = lastPoint - 1; in Creating()
217 if (not ctrlPoints[lastPoint]->isVisible()) in Creating()
225 ctrlPoints[lastPoint]->show(); in Creating()
230 ctrlPoints[lastPoint]->show(); in Creating()
244 … ctrlPoints[lastPoint]->RefreshCtrlPoint(size, SplinePointPosition::FirstPoint, ctrlPoint, pSpl); in Creating()
249 … ctrlPoints[lastPoint]->RefreshCtrlPoint(size, SplinePointPosition::FirstPoint, ctrlPoint, pSpl); in Creating()
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/main/java/org/apache/commons/math3/geometry/euclidean/twod/hull/
H A DConvexHull2D.java140 Vector2D lastPoint = null; in retrieveLineSegments() local
143 if (lastPoint == null) { in retrieveLineSegments()
145 lastPoint = point; in retrieveLineSegments()
148 … new Segment(lastPoint, point, new Line(lastPoint, point, tolerance)); in retrieveLineSegments()
149 lastPoint = point; in retrieveLineSegments()
153 … new Segment(lastPoint, firstPoint, new Line(lastPoint, firstPoint, tolerance)); in retrieveLineSegments()
/dports/graphics/kolourpaint/kolourpaint-21.12.3/tools/
H A DkpTool_Utilities.cpp167 draw (d->currentPoint, d->lastPoint, normalizedRect ()); in somethingBelowTheCursorChanged()
168 d->lastPoint = d->currentPoint; in somethingBelowTheCursorChanged()
181 if (d->lastPoint == QPoint (-1, -1)) { in currentPointNextToLast()
185 int dx = qAbs (d->currentPoint.x () - d->lastPoint.x ()); in currentPointNextToLast()
186 int dy = qAbs (d->currentPoint.y () - d->lastPoint.y ()); in currentPointNextToLast()
195 if (d->lastPoint == QPoint (-1, -1)) { in currentPointCardinallyNextToLast()
199 return (d->currentPoint == d->lastPoint || in currentPointCardinallyNextToLast()
200 kpPainter::pointsAreCardinallyAdjacent (d->currentPoint, d->lastPoint)); in currentPointCardinallyNextToLast()
/dports/graphics/krita/krita-4.4.8/libs/ui/tool/
H A Dkis_speed_smoother.cpp62 QPointF lastPoint; member
84 if (m_d->lastPoint.isNull()) { in getNextSpeed()
85 m_d->lastPoint = pt; in getNextSpeed()
90 qreal dist = kisDistance(pt, m_d->lastPoint); in getNextSpeed()
91 m_d->lastPoint = pt; in getNextSpeed()
137 m_d->lastPoint = QPointF(); in clear()
/dports/graphics/krita/krita-4.4.8/plugins/flake/pathshapes/enhancedpath/
H A DEnhancedPathCommand.cpp179 KoPathPoint *lastPoint = lastPathPoint(); in execute() local
182 qreal rx = point.x() - lastPoint->point().x(); in execute()
183 qreal ry = point.y() - lastPoint->point().y(); in execute()
186 lastPoint = m_parent->arcTo(fabs(rx), fabs(ry), startAngle, sweepAngle); in execute()
193 KoPathPoint *lastPoint = lastPathPoint(); in execute() local
196 qreal rx = point.x() - lastPoint->point().x(); in execute()
197 qreal ry = point.y() - lastPoint->point().y(); in execute()
200 lastPoint = m_parent->arcTo(fabs(rx), fabs(ry), startAngle, sweepAngle); in execute()
308 KoPathPoint *lastPoint = 0; in lastPathPoint() local
312lastPoint = m_parent->pointByIndex(KoPathPointIndex(subpathCount - 1, subpathPointCount - 1)); in lastPathPoint()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/tessellate/
H A DGrPathParser.cpp97 SkPoint lastPoint = parser.startPoint(); in EmitCenterWedgePatches() local
102 if (parser.startPoint() != lastPoint) { in EmitCenterWedgePatches()
103 lastPoint = write_line_as_cubic( in EmitCenterWedgePatches()
104 vertexData + vertexCount, lastPoint, parser.startPoint()); in EmitCenterWedgePatches()
115 lastPoint = write_line_as_cubic(vertexData + vertexCount, lastPoint, in EmitCenterWedgePatches()
120 lastPoint = write_quadratic_as_cubic(vertexData + vertexCount, lastPoint, in EmitCenterWedgePatches()
126 lastPoint = write_cubic(vertexData + vertexCount, lastPoint, in EmitCenterWedgePatches()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/utils/idftools/
H A Dvrml_layer.cpp1229 int lastPoint; in Write3DIndices() local
1254 lastPoint = *(cbeg++); in Write3DIndices()
1300 << lastPoint; in Write3DIndices()
1307 lastPoint = curPoint; in Write3DIndices()
1315 lastPoint = *(cend); in Write3DIndices()
1865 int lastPoint; in Get3DTriangles() local
1890 lastPoint = *(cbeg++); in Get3DTriangles()
1917 lastPoint = curPoint; in Get3DTriangles()
1925 lastPoint = *(cend); in Get3DTriangles()
1930 aIndexSide.push_back( lastPoint ); in Get3DTriangles()
[all …]
/dports/editors/calligra/calligra-3.2.1/plugins/pathshapes/enhancedpath/
H A DEnhancedPathCommand.cpp176 KoPathPoint * lastPoint = lastPathPoint(); in execute() local
181 qreal rx = point.x() - lastPoint->point().x(); in execute()
182 qreal ry = point.y() - lastPoint->point().y(); in execute()
185 lastPoint = m_parent->arcTo(fabs(rx), fabs(ry), startAngle, sweepAngle); in execute()
192 KoPathPoint * lastPoint = lastPathPoint(); in execute() local
197 qreal rx = point.x() - lastPoint->point().x(); in execute()
198 qreal ry = point.y() - lastPoint->point().y(); in execute()
201 lastPoint = m_parent->arcTo(fabs(rx), fabs(ry), startAngle, sweepAngle); in execute()
303 KoPathPoint *lastPoint = 0; in lastPathPoint() local
307 lastPoint = m_parent->pointByIndex(KoPathPointIndex(subpathCount-1, subpathPointCount-1)); in lastPathPoint()
[all …]
/dports/graphics/Coin/coin-Coin-4.0.0/src/projectors/
H A DSbLineProjector.cpp71 lastPoint(0.0f, 0.0f, 0.0f) in SbLineProjector()
161 this->lastPoint = projpt; in tryProject()
172 this->lastPoint = ret; in project()
204 this->lastPoint = mp2; in getVector()
215 SbVec3f lp = this->lastPoint; // lastPoint is updated in project() in getVector()
226 this->lastPoint = this->project(viewpos); in setStartPosition()
236 this->lastPoint = point; in setStartPosition()
/dports/graphics/okular/okular-21.12.3/part/
H A Dannotationtools.cpp109 lastPoint.x = nX; in event()
110 lastPoint.y = nY; in event()
111 totalRect.left = totalRect.right = lastPoint.x; in event()
112 totalRect.top = totalRect.bottom = lastPoint.y; in event()
113 points.append(lastPoint); in event()
132 incrementalRect.left = qMin(nextPoint.x, lastPoint.x) - dX; in event()
133 incrementalRect.right = qMax(nextPoint.x, lastPoint.x) + dX; in event()
134 incrementalRect.top = qMin(nextPoint.y, lastPoint.y) - dY; in event()
135 incrementalRect.bottom = qMax(nextPoint.y, lastPoint.y) + dY; in event()
136 lastPoint = nextPoint; in event()
/dports/java/jgraph/jgraph-java-5.13.0.4/examples/com/jgraph/example/fastgraph/
H A DFastGraphUI.java55 Point2D lastPoint = null; in paintCell() local
59 g2.drawLine((int) lastPoint.getX(), (int) lastPoint.getY(), in paintCell()
63 lastPoint = currentPoint; in paintCell()
71 g2.drawLine((int) lastPoint.getX(), (int) lastPoint.getY(), in paintCell()
75 lastPoint = currentPoint; in paintCell()
/dports/editors/calligra/calligra-3.2.1/sheets/ui/
H A DHyperlinkStrategy.cpp43 QPointF lastPoint; member in HyperlinkStrategy::Private
54 d->lastPoint = documentPos; in HyperlinkStrategy()
56 …d->textRect.moveTo(d->lastPoint); // turn textRect which is relative to the cell to an absolute co… in HyperlinkStrategy()
68 d->lastPoint = position; in handleMouseMove()
76 if (!d->textRect.contains(d->lastPoint)) { in finishInteraction()
/dports/x11-fonts/roboto-fonts-ttf/roboto-2.134/scripts/lib/fontbuild/
H A DcurveFitPen.py95 self.lastPoint = (0,0)
108 self.lastPoint = (x,y)
115 self.lastPoint = (x,y)
163 self.lastPoint = (x3, y3)
250 self.lastPoint = (x,y)
254 count = self.stepsForSegment((x,y),self.lastPoint)
260 x1 = self.lastPoint[0] + (x - self.lastPoint[0]) * i/float(count)
261 y1 = self.lastPoint[1] + (y - self.lastPoint[1]) * i/float(count)
263 self.lastPoint = (x,y)
278 self.lastPoint = (x3,y3)
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/gui/src/java/org/scilab/modules/gui/events/callback/
H A DJavaCallBack.java75 int lastPoint = cmd.lastIndexOf(DOT); in create() local
77 invokedClass = Class.forName(cmd.substring(0, lastPoint)); in create()
78 String methName = cmd.substring(lastPoint + 1); in create()
122 int lastPoint = getCommand().lastIndexOf(DOT); in createOutOfXclickAndXgetmouse() local
124 invokedClass = Class.forName(getCommand().substring(0, lastPoint)); in createOutOfXclickAndXgetmouse()
125 Method runMe = invokedClass.getMethod(getCommand().substring(lastPoint + 1)); in createOutOfXclickAndXgetmouse()
/dports/graphics/krita/krita-4.4.8/libs/flake/
H A DKoPathShapeLoader.cpp50 QPointF lastPoint; member in KoPathShapeLoaderPrivate
540 path->moveTo(lastPoint); in svgMoveTo()
550 path->lineTo(lastPoint); in svgLineTo()
556 lastPoint.setX(x); in svgLineToHorizontal()
558 lastPoint.rx() += x; in svgLineToHorizontal()
560 path->lineTo(lastPoint); in svgLineToHorizontal()
566 lastPoint.setY(y); in svgLineToVertical()
568 lastPoint.ry() += y; in svgLineToVertical()
570 path->lineTo(lastPoint); in svgLineToVertical()
579 lastPoint = QPointF(x, y); in svgCurveToCubic()
[all …]
/dports/editors/calligra/calligra-3.2.1/libs/flake/
H A DKoPathShapeLoader.cpp50 QPointF lastPoint; member in KoPathShapeLoaderPrivate
532 path->moveTo(lastPoint); in svgMoveTo()
542 path->lineTo(lastPoint); in svgLineTo()
548 lastPoint.setX(x); in svgLineToHorizontal()
550 lastPoint.rx() += x; in svgLineToHorizontal()
552 path->lineTo(lastPoint); in svgLineToHorizontal()
558 lastPoint.setY(y); in svgLineToVertical()
560 lastPoint.ry() += y; in svgLineToVertical()
562 path->lineTo(lastPoint); in svgLineToVertical()
571 lastPoint = QPointF(x, y); in svgCurveToCubic()
[all …]

12345678910>>...26