/dports/sysutils/plasma5-ksysguard/ksysguard-5.22.0/ksysguardd/FreeBSD/ |
H A D | stat.c | 78 char *nextcp; in initStat() local 79 for (nextcp = cp; *nextcp != '\0'; ++nextcp); in initStat() 88 } else if (nextcp == cp) in initStat() 90 cp = nextcp + 1; in initStat() 103 char *nextcp; in initStat() local 104 for (nextcp = cp; *nextcp != '\0'; ++nextcp) in initStat() 105 if (*nextcp == ' ' && (*(nextcp + 1) == ' ' || *(nextcp + 1) == '\0')) in initStat() 106 *nextcp = '\0'; in initStat() 129 } else if (nextcp == cp) in initStat() 131 cp = nextcp + 1; in initStat()
|
/dports/print/fontforge/fontforge-20201107/fontforge/ |
H A D | splineorder2.c | 81 if ( ps->from->nextcp.x>bb.maxx ) bb.maxx = ps->from->nextcp.x; in comparespline() 83 if ( ps->from->nextcp.y>bb.maxy ) bb.maxy = ps->from->nextcp.y; in comparespline() 853 test->nextcp = next->nextcp; in ttfCleanup() 1591 …len = sqrt((to->nextcp.x-to->me.x)*(to->nextcp.x-to->me.x) + (to->nextcp.y-to->me.y)*(to->nextcp.y… in SplineRefigureFixup() 1593 if ( new.x-to->nextcp.x<-1 || new.x-to->nextcp.x>1 || in SplineRefigureFixup() 1594 new.y-to->nextcp.y<-1 || new.y-to->nextcp.y>1 ) { in SplineRefigureFixup() 1647 from->nextcp.x = to->prevcp.x = rint(from->nextcp.x); in SplineRefigureFixup() 1648 from->nextcp.y = to->prevcp.y = rint(from->nextcp.y); in SplineRefigureFixup() 1705 len1 = sqrt((p->nextcp.x-p->me.x)*(p->nextcp.x-p->me.x) + in SplinePointPrevCPChanged2() 1706 (p->nextcp.y-p->me.y)*(p->nextcp.y-p->me.y)); in SplinePointPrevCPChanged2() [all …]
|
H A D | splinefit.c | 218 nres.x += nextcp->x; nres.y += nextcp->y; in _ApproximateSplineFromPoints() 235 *nextcp = from->nextcp; in _ApproximateSplineFromPoints() 243 nextcp->x = (nextcp->x + prevcp->x)/2; in _ApproximateSplineFromPoints() 244 nextcp->y = (nextcp->y + prevcp->y)/2; in _ApproximateSplineFromPoints() 247 *prevcp = *nextcp; in _ApproximateSplineFromPoints() 260 cpoff.x = from->nextcp.x-from->me.x; cpoff.y = from->nextcp.y-from->me.y; in TestForLinear() 389 from->nextcp = nextcp; in ApproximateSplineFromPoints() 580 BasePoint nextcp; in ApproximateSplineFromPointsSlopes() local 627 (nextcp.x-to->me.x)*tounit.x + (nextcp.y-to->me.y)*tounit.y < 0 ) { in ApproximateSplineFromPointsSlopes() 635 from->nextcp = to->prevcp = nextcp; in ApproximateSplineFromPointsSlopes() [all …]
|
H A D | splineutil2.c | 847 other->nextcp = curp->nextcp; 1749 sp->nextcp.x -= xoff; sp->nextcp.y -= yoff; 2064 sp->nextcp = next->nextcp; 3150 …len = sqrt((sp->nextcp.y-sp->me.y)*(sp->nextcp.y-sp->me.y) + (sp->nextcp.x-sp->me.x)*(sp->nextcp.x… 3154 sp->nextcp.x = rint(sp->nextcp.x); 3155 sp->nextcp.y = rint(sp->nextcp.y); 3157 sp->nextcp.x = rint(sp->nextcp.x*1024)/1024; 3305 base->nextcp.x = rint(base->nextcp.x); 3306 base->nextcp.y = rint(base->nextcp.y); 3360 base->nextcp.x = rint(base->nextcp.x); [all …]
|
H A D | ftdelta.c | 47 offx = s->from->prev->from->nextcp.x-bp->x; in NearestPt() 48 offy = s->from->prev->from->nextcp.y-bp->y; in NearestPt() 61 offx = s->to->nextcp.x-bp->x; in NearestPt() 62 offy = s->to->nextcp.y-bp->y; in NearestPt() 70 offx = s->from->nextcp.x-bp->x; in NearestPt() 71 offy = s->from->nextcp.y-bp->y; in NearestPt() 105 if ( s->from->nextcp.x > b.maxx ) b.maxx = s->from->nextcp.x; in SplineFindQuestionablePoints() 106 else if ( s->from->nextcp.x < b.minx ) b.minx = s->from->nextcp.x; in SplineFindQuestionablePoints() 107 if ( s->from->nextcp.y > b.maxy ) b.maxy = s->from->nextcp.y; in SplineFindQuestionablePoints() 108 else if ( s->from->nextcp.y < b.miny ) b.miny = s->from->nextcp.y; in SplineFindQuestionablePoints()
|
H A D | effects.c | 131 new->nextcp.x += offset; in SpMove() 282 sp->nextcp = sp->me; in AddVerticalExtremaAndMove() 296 new->nextcp = new->me; in AddVerticalExtremaAndMove() 347 sp->nextcp.x = rint(sp->nextcp.x*64)/64.; in SSCleanup() 348 sp->nextcp.y = rint(sp->nextcp.y*64)/64.; in SSCleanup() 366 s->from->nextcp.x += xdiff; in SSCleanup() 368 s->to->nextcp.x -= xdiff; in SSCleanup() 375 s->from->nextcp.y += ydiff; in SSCleanup() 377 s->to->nextcp.y -= ydiff; in SSCleanup() 381 xdiff = s->from->nextcp.x-s->from->me.x; ydiff = s->from->nextcp.y-s->from->me.y; in SSCleanup() [all …]
|
H A D | splinerefigure.c | 57 if ( from->nonextcp ) { from->nextcp = from->me; nonextcp_effective = true; } in SplineRefigure3() 58 …else if ( from->nextcp.x==from->me.x && from->nextcp.y == from->me.y ) { nonextcp_effective = true… in SplineRefigure3() 69 xsp->c = 3*(from->nextcp.x-from->me.x); in SplineRefigure3() 70 ysp->c = 3*(from->nextcp.y-from->me.y); in SplineRefigure3() 71 xsp->b = 3*(to->prevcp.x-from->nextcp.x)-xsp->c; in SplineRefigure3() 72 ysp->b = 3*(to->prevcp.y-from->nextcp.y)-ysp->c; in SplineRefigure3()
|
/dports/devel/tex-web2c/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splineutil2.c | 410 nres.x += nextcp->x; nres.y += nextcp->y; in _ApproximateSplineFromPoints() 427 *nextcp = from->nextcp; in _ApproximateSplineFromPoints() 435 nextcp->x = (nextcp->x + prevcp->x)/2; in _ApproximateSplineFromPoints() 436 nextcp->y = (nextcp->y + prevcp->y)/2; in _ApproximateSplineFromPoints() 493 from->nextcp = nextcp; in ApproximateSplineFromPoints() 754 from->nextcp = to->prevcp = nextcp; in ApproximateSplineFromPointsSlopes() 1777 …len = sqrt((sp->nextcp.y-sp->me.y)*(sp->nextcp.y-sp->me.y) + (sp->nextcp.x-sp->me.x)*(sp->nextcp.x… in SplineCharTangentNextCP() 1781 sp->nextcp.x = rint(sp->nextcp.x); in SplineCharTangentNextCP() 1782 sp->nextcp.y = rint(sp->nextcp.y); in SplineCharTangentNextCP() 1987 base->nextcp.x = rint(base->nextcp.x); in SplineCharDefaultPrevCP() [all …]
|
H A D | splineorder2.c | 72 if ( ps->from->nextcp.x>bb.maxx ) bb.maxx = ps->from->nextcp.x; in comparespline() 74 if ( ps->from->nextcp.y>bb.maxy ) bb.maxy = ps->from->nextcp.y; in comparespline() 288 if ( ps->from->nextcp.x > bb.maxx ) bb.maxx = ps->from->nextcp.x; in _ttfapprox() 295 if ( ps->from->nextcp.y > bb.maxy ) bb.maxy = ps->from->nextcp.y; in _ttfapprox() 859 test->nextcp = next->nextcp; in ttfCleanup() 1358 …len = sqrt((to->nextcp.x-to->me.x)*(to->nextcp.x-to->me.x) + (to->nextcp.y-to->me.y)*(to->nextcp.y… in SplineRefigureFixup() 1360 if ( new.x-to->nextcp.x<-1 || new.x-to->nextcp.x>1 || in SplineRefigureFixup() 1361 new.y-to->nextcp.y<-1 || new.y-to->nextcp.y>1 ) { in SplineRefigureFixup() 1405 if (( from->nextcp.x==from->me.x && from->nextcp.y==from->me.y ) || in SplineRefigureFixup() 1414 from->nextcp.x = to->prevcp.x = rint(from->nextcp.x); in SplineRefigureFixup() [all …]
|
H A D | splinerefigure.c | 50 if ( from->nonextcp ) from->nextcp = from->me; in SplineRefigure3() 51 else if ( from->nextcp.x==from->me.x && from->nextcp.y == from->me.y ) from->nonextcp = true; in SplineRefigure3() 62 xsp->c = 3*(from->nextcp.x-from->me.x); in SplineRefigure3() 63 ysp->c = 3*(from->nextcp.y-from->me.y); in SplineRefigure3() 64 xsp->b = 3*(to->prevcp.x-from->nextcp.x)-xsp->c; in SplineRefigure3() 65 ysp->b = 3*(to->prevcp.y-from->nextcp.y)-ysp->c; in SplineRefigure3()
|
/dports/devel/tex-synctex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splineutil2.c | 410 nres.x += nextcp->x; nres.y += nextcp->y; in _ApproximateSplineFromPoints() 427 *nextcp = from->nextcp; in _ApproximateSplineFromPoints() 435 nextcp->x = (nextcp->x + prevcp->x)/2; in _ApproximateSplineFromPoints() 436 nextcp->y = (nextcp->y + prevcp->y)/2; in _ApproximateSplineFromPoints() 493 from->nextcp = nextcp; in ApproximateSplineFromPoints() 754 from->nextcp = to->prevcp = nextcp; in ApproximateSplineFromPointsSlopes() 1777 …len = sqrt((sp->nextcp.y-sp->me.y)*(sp->nextcp.y-sp->me.y) + (sp->nextcp.x-sp->me.x)*(sp->nextcp.x… in SplineCharTangentNextCP() 1781 sp->nextcp.x = rint(sp->nextcp.x); in SplineCharTangentNextCP() 1782 sp->nextcp.y = rint(sp->nextcp.y); in SplineCharTangentNextCP() 1987 base->nextcp.x = rint(base->nextcp.x); in SplineCharDefaultPrevCP() [all …]
|
H A D | splineorder2.c | 72 if ( ps->from->nextcp.x>bb.maxx ) bb.maxx = ps->from->nextcp.x; in comparespline() 74 if ( ps->from->nextcp.y>bb.maxy ) bb.maxy = ps->from->nextcp.y; in comparespline() 288 if ( ps->from->nextcp.x > bb.maxx ) bb.maxx = ps->from->nextcp.x; in _ttfapprox() 295 if ( ps->from->nextcp.y > bb.maxy ) bb.maxy = ps->from->nextcp.y; in _ttfapprox() 859 test->nextcp = next->nextcp; in ttfCleanup() 1358 …len = sqrt((to->nextcp.x-to->me.x)*(to->nextcp.x-to->me.x) + (to->nextcp.y-to->me.y)*(to->nextcp.y… in SplineRefigureFixup() 1360 if ( new.x-to->nextcp.x<-1 || new.x-to->nextcp.x>1 || in SplineRefigureFixup() 1361 new.y-to->nextcp.y<-1 || new.y-to->nextcp.y>1 ) { in SplineRefigureFixup() 1405 if (( from->nextcp.x==from->me.x && from->nextcp.y==from->me.y ) || in SplineRefigureFixup() 1414 from->nextcp.x = to->prevcp.x = rint(from->nextcp.x); in SplineRefigureFixup() [all …]
|
H A D | splinerefigure.c | 50 if ( from->nonextcp ) from->nextcp = from->me; in SplineRefigure3() 51 else if ( from->nextcp.x==from->me.x && from->nextcp.y == from->me.y ) from->nonextcp = true; in SplineRefigure3() 62 xsp->c = 3*(from->nextcp.x-from->me.x); in SplineRefigure3() 63 ysp->c = 3*(from->nextcp.y-from->me.y); in SplineRefigure3() 64 xsp->b = 3*(to->prevcp.x-from->nextcp.x)-xsp->c; in SplineRefigure3() 65 ysp->b = 3*(to->prevcp.y-from->nextcp.y)-ysp->c; in SplineRefigure3()
|
/dports/japanese/tex-ptex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splineutil2.c | 410 nres.x += nextcp->x; nres.y += nextcp->y; in _ApproximateSplineFromPoints() 427 *nextcp = from->nextcp; in _ApproximateSplineFromPoints() 435 nextcp->x = (nextcp->x + prevcp->x)/2; in _ApproximateSplineFromPoints() 436 nextcp->y = (nextcp->y + prevcp->y)/2; in _ApproximateSplineFromPoints() 493 from->nextcp = nextcp; in ApproximateSplineFromPoints() 754 from->nextcp = to->prevcp = nextcp; in ApproximateSplineFromPointsSlopes() 1777 …len = sqrt((sp->nextcp.y-sp->me.y)*(sp->nextcp.y-sp->me.y) + (sp->nextcp.x-sp->me.x)*(sp->nextcp.x… in SplineCharTangentNextCP() 1781 sp->nextcp.x = rint(sp->nextcp.x); in SplineCharTangentNextCP() 1782 sp->nextcp.y = rint(sp->nextcp.y); in SplineCharTangentNextCP() 1987 base->nextcp.x = rint(base->nextcp.x); in SplineCharDefaultPrevCP() [all …]
|
H A D | splineorder2.c | 72 if ( ps->from->nextcp.x>bb.maxx ) bb.maxx = ps->from->nextcp.x; in comparespline() 74 if ( ps->from->nextcp.y>bb.maxy ) bb.maxy = ps->from->nextcp.y; in comparespline() 288 if ( ps->from->nextcp.x > bb.maxx ) bb.maxx = ps->from->nextcp.x; in _ttfapprox() 295 if ( ps->from->nextcp.y > bb.maxy ) bb.maxy = ps->from->nextcp.y; in _ttfapprox() 859 test->nextcp = next->nextcp; in ttfCleanup() 1358 …len = sqrt((to->nextcp.x-to->me.x)*(to->nextcp.x-to->me.x) + (to->nextcp.y-to->me.y)*(to->nextcp.y… in SplineRefigureFixup() 1360 if ( new.x-to->nextcp.x<-1 || new.x-to->nextcp.x>1 || in SplineRefigureFixup() 1361 new.y-to->nextcp.y<-1 || new.y-to->nextcp.y>1 ) { in SplineRefigureFixup() 1405 if (( from->nextcp.x==from->me.x && from->nextcp.y==from->me.y ) || in SplineRefigureFixup() 1414 from->nextcp.x = to->prevcp.x = rint(from->nextcp.x); in SplineRefigureFixup() [all …]
|
H A D | splinerefigure.c | 50 if ( from->nonextcp ) from->nextcp = from->me; in SplineRefigure3() 51 else if ( from->nextcp.x==from->me.x && from->nextcp.y == from->me.y ) from->nonextcp = true; in SplineRefigure3() 62 xsp->c = 3*(from->nextcp.x-from->me.x); in SplineRefigure3() 63 ysp->c = 3*(from->nextcp.y-from->me.y); in SplineRefigure3() 64 xsp->b = 3*(to->prevcp.x-from->nextcp.x)-xsp->c; in SplineRefigure3() 65 ysp->b = 3*(to->prevcp.y-from->nextcp.y)-ysp->c; in SplineRefigure3()
|
/dports/print/tex-basic-engines/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splineutil2.c | 410 nres.x += nextcp->x; nres.y += nextcp->y; in _ApproximateSplineFromPoints() 427 *nextcp = from->nextcp; in _ApproximateSplineFromPoints() 435 nextcp->x = (nextcp->x + prevcp->x)/2; in _ApproximateSplineFromPoints() 436 nextcp->y = (nextcp->y + prevcp->y)/2; in _ApproximateSplineFromPoints() 493 from->nextcp = nextcp; in ApproximateSplineFromPoints() 754 from->nextcp = to->prevcp = nextcp; in ApproximateSplineFromPointsSlopes() 1777 …len = sqrt((sp->nextcp.y-sp->me.y)*(sp->nextcp.y-sp->me.y) + (sp->nextcp.x-sp->me.x)*(sp->nextcp.x… in SplineCharTangentNextCP() 1781 sp->nextcp.x = rint(sp->nextcp.x); in SplineCharTangentNextCP() 1782 sp->nextcp.y = rint(sp->nextcp.y); in SplineCharTangentNextCP() 1987 base->nextcp.x = rint(base->nextcp.x); in SplineCharDefaultPrevCP() [all …]
|
H A D | splineorder2.c | 72 if ( ps->from->nextcp.x>bb.maxx ) bb.maxx = ps->from->nextcp.x; in comparespline() 74 if ( ps->from->nextcp.y>bb.maxy ) bb.maxy = ps->from->nextcp.y; in comparespline() 288 if ( ps->from->nextcp.x > bb.maxx ) bb.maxx = ps->from->nextcp.x; in _ttfapprox() 295 if ( ps->from->nextcp.y > bb.maxy ) bb.maxy = ps->from->nextcp.y; in _ttfapprox() 859 test->nextcp = next->nextcp; in ttfCleanup() 1358 …len = sqrt((to->nextcp.x-to->me.x)*(to->nextcp.x-to->me.x) + (to->nextcp.y-to->me.y)*(to->nextcp.y… in SplineRefigureFixup() 1360 if ( new.x-to->nextcp.x<-1 || new.x-to->nextcp.x>1 || in SplineRefigureFixup() 1361 new.y-to->nextcp.y<-1 || new.y-to->nextcp.y>1 ) { in SplineRefigureFixup() 1405 if (( from->nextcp.x==from->me.x && from->nextcp.y==from->me.y ) || in SplineRefigureFixup() 1414 from->nextcp.x = to->prevcp.x = rint(from->nextcp.x); in SplineRefigureFixup() [all …]
|
/dports/print/tex-aleph/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splineutil2.c | 410 nres.x += nextcp->x; nres.y += nextcp->y; in _ApproximateSplineFromPoints() 427 *nextcp = from->nextcp; in _ApproximateSplineFromPoints() 435 nextcp->x = (nextcp->x + prevcp->x)/2; in _ApproximateSplineFromPoints() 436 nextcp->y = (nextcp->y + prevcp->y)/2; in _ApproximateSplineFromPoints() 493 from->nextcp = nextcp; in ApproximateSplineFromPoints() 754 from->nextcp = to->prevcp = nextcp; in ApproximateSplineFromPointsSlopes() 1777 …len = sqrt((sp->nextcp.y-sp->me.y)*(sp->nextcp.y-sp->me.y) + (sp->nextcp.x-sp->me.x)*(sp->nextcp.x… in SplineCharTangentNextCP() 1781 sp->nextcp.x = rint(sp->nextcp.x); in SplineCharTangentNextCP() 1782 sp->nextcp.y = rint(sp->nextcp.y); in SplineCharTangentNextCP() 1987 base->nextcp.x = rint(base->nextcp.x); in SplineCharDefaultPrevCP() [all …]
|
H A D | splineorder2.c | 72 if ( ps->from->nextcp.x>bb.maxx ) bb.maxx = ps->from->nextcp.x; in comparespline() 74 if ( ps->from->nextcp.y>bb.maxy ) bb.maxy = ps->from->nextcp.y; in comparespline() 288 if ( ps->from->nextcp.x > bb.maxx ) bb.maxx = ps->from->nextcp.x; in _ttfapprox() 295 if ( ps->from->nextcp.y > bb.maxy ) bb.maxy = ps->from->nextcp.y; in _ttfapprox() 859 test->nextcp = next->nextcp; in ttfCleanup() 1358 …len = sqrt((to->nextcp.x-to->me.x)*(to->nextcp.x-to->me.x) + (to->nextcp.y-to->me.y)*(to->nextcp.y… in SplineRefigureFixup() 1360 if ( new.x-to->nextcp.x<-1 || new.x-to->nextcp.x>1 || in SplineRefigureFixup() 1361 new.y-to->nextcp.y<-1 || new.y-to->nextcp.y>1 ) { in SplineRefigureFixup() 1405 if (( from->nextcp.x==from->me.x && from->nextcp.y==from->me.y ) || in SplineRefigureFixup() 1414 from->nextcp.x = to->prevcp.x = rint(from->nextcp.x); in SplineRefigureFixup() [all …]
|
/dports/print/tex-luatex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splineutil2.c | 410 nres.x += nextcp->x; nres.y += nextcp->y; in _ApproximateSplineFromPoints() 427 *nextcp = from->nextcp; in _ApproximateSplineFromPoints() 435 nextcp->x = (nextcp->x + prevcp->x)/2; in _ApproximateSplineFromPoints() 436 nextcp->y = (nextcp->y + prevcp->y)/2; in _ApproximateSplineFromPoints() 493 from->nextcp = nextcp; in ApproximateSplineFromPoints() 754 from->nextcp = to->prevcp = nextcp; in ApproximateSplineFromPointsSlopes() 1777 …len = sqrt((sp->nextcp.y-sp->me.y)*(sp->nextcp.y-sp->me.y) + (sp->nextcp.x-sp->me.x)*(sp->nextcp.x… in SplineCharTangentNextCP() 1781 sp->nextcp.x = rint(sp->nextcp.x); in SplineCharTangentNextCP() 1782 sp->nextcp.y = rint(sp->nextcp.y); in SplineCharTangentNextCP() 1987 base->nextcp.x = rint(base->nextcp.x); in SplineCharDefaultPrevCP() [all …]
|
H A D | splineorder2.c | 72 if ( ps->from->nextcp.x>bb.maxx ) bb.maxx = ps->from->nextcp.x; in comparespline() 74 if ( ps->from->nextcp.y>bb.maxy ) bb.maxy = ps->from->nextcp.y; in comparespline() 288 if ( ps->from->nextcp.x > bb.maxx ) bb.maxx = ps->from->nextcp.x; in _ttfapprox() 295 if ( ps->from->nextcp.y > bb.maxy ) bb.maxy = ps->from->nextcp.y; in _ttfapprox() 859 test->nextcp = next->nextcp; in ttfCleanup() 1358 …len = sqrt((to->nextcp.x-to->me.x)*(to->nextcp.x-to->me.x) + (to->nextcp.y-to->me.y)*(to->nextcp.y… in SplineRefigureFixup() 1360 if ( new.x-to->nextcp.x<-1 || new.x-to->nextcp.x>1 || in SplineRefigureFixup() 1361 new.y-to->nextcp.y<-1 || new.y-to->nextcp.y>1 ) { in SplineRefigureFixup() 1405 if (( from->nextcp.x==from->me.x && from->nextcp.y==from->me.y ) || in SplineRefigureFixup() 1414 from->nextcp.x = to->prevcp.x = rint(from->nextcp.x); in SplineRefigureFixup() [all …]
|
/dports/print/tex-xetex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/ |
H A D | splineutil2.c | 410 nres.x += nextcp->x; nres.y += nextcp->y; in _ApproximateSplineFromPoints() 427 *nextcp = from->nextcp; in _ApproximateSplineFromPoints() 435 nextcp->x = (nextcp->x + prevcp->x)/2; in _ApproximateSplineFromPoints() 436 nextcp->y = (nextcp->y + prevcp->y)/2; in _ApproximateSplineFromPoints() 493 from->nextcp = nextcp; in ApproximateSplineFromPoints() 754 from->nextcp = to->prevcp = nextcp; in ApproximateSplineFromPointsSlopes() 1777 …len = sqrt((sp->nextcp.y-sp->me.y)*(sp->nextcp.y-sp->me.y) + (sp->nextcp.x-sp->me.x)*(sp->nextcp.x… in SplineCharTangentNextCP() 1781 sp->nextcp.x = rint(sp->nextcp.x); in SplineCharTangentNextCP() 1782 sp->nextcp.y = rint(sp->nextcp.y); in SplineCharTangentNextCP() 1987 base->nextcp.x = rint(base->nextcp.x); in SplineCharDefaultPrevCP() [all …]
|
H A D | splineorder2.c | 72 if ( ps->from->nextcp.x>bb.maxx ) bb.maxx = ps->from->nextcp.x; in comparespline() 74 if ( ps->from->nextcp.y>bb.maxy ) bb.maxy = ps->from->nextcp.y; in comparespline() 288 if ( ps->from->nextcp.x > bb.maxx ) bb.maxx = ps->from->nextcp.x; in _ttfapprox() 295 if ( ps->from->nextcp.y > bb.maxy ) bb.maxy = ps->from->nextcp.y; in _ttfapprox() 859 test->nextcp = next->nextcp; in ttfCleanup() 1358 …len = sqrt((to->nextcp.x-to->me.x)*(to->nextcp.x-to->me.x) + (to->nextcp.y-to->me.y)*(to->nextcp.y… in SplineRefigureFixup() 1360 if ( new.x-to->nextcp.x<-1 || new.x-to->nextcp.x>1 || in SplineRefigureFixup() 1361 new.y-to->nextcp.y<-1 || new.y-to->nextcp.y>1 ) { in SplineRefigureFixup() 1405 if (( from->nextcp.x==from->me.x && from->nextcp.y==from->me.y ) || in SplineRefigureFixup() 1414 from->nextcp.x = to->prevcp.x = rint(from->nextcp.x); in SplineRefigureFixup() [all …]
|
/dports/print/fontforge/fontforge-20201107/fontforgeexe/ |
H A D | cvaddpoints.c | 321 base->nextcp = base->me; in CVMergeSPLS() 522 sp->prevcp = base->nextcp; in CVMouseDownPoint() 529 sp->prevcp = base->nextcp; in CVMouseDownPoint() 554 base->nextcp = base->me; in CVMouseDownPoint() 557 base->nextcp.x = sp->prevcp.x = (base->nextcp.x+sp->prevcp.x)/2; in CVMouseDownPoint() 558 base->nextcp.y = sp->prevcp.y = (base->nextcp.y+sp->prevcp.y)/2; in CVMouseDownPoint() 663 active->nextcp = merge->nextcp; in CVMergeSplineSets() 785 if ( cv->info.x==active->nextcp.x && cv->info.y==active->nextcp.y ) in CVMouseMovePen() 797 active->nextcp.x = cv->info.x; in CVMouseMovePen() 802 if ( active->me.x == active->nextcp.x && active->me.y == active->nextcp.y ) { in CVMouseMovePen() [all …]
|