Home
last modified time | relevance | path

Searched refs:slopemin (Results 1 – 9 of 9) sorted by relevance

/dports/graphics/netpbm/netpbm-10.91.01/generator/
H A Dpamshadedrelief.c116 static int const slopemin = -52; variable
135 for (i = slopemin; i <= 0; ++i) { /* Negative, downhill, dark */ in generateSlopeGrayMap()
136 slopeGrayMap[i - slopemin] = in generateSlopeGrayMap()
137 128 - 127.0 * pow(sin((M_PI / 2) * i / slopemin), gamma); in generateSlopeGrayMap()
140 slopeGrayMap[i - slopemin] = in generateSlopeGrayMap()
160 return slopeGrayMap[MIN(MAX(slopemin, slope), slopemax) - slopemin]; in brightnessOfSlope()
191 MALLOCARRAY(slopeGrayMap, slopemax - slopemin + 1); in writeShadedRelief()
/dports/devel/tex-web2c/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/
H A Dsplineorder2.c531 BasePoint end, mid, slopemin, slopemid, slopeend; in PrettyApprox() local
542 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
549 slopemin.x = (3*ps->splines[0].a*t+2*ps->splines[0].b)*t+ps->splines[0].c; in PrettyApprox()
550 slopemin.y = (3*ps->splines[1].a*t+2*ps->splines[1].b)*t+ps->splines[1].c; in PrettyApprox()
557 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
606 else if ( slopemin.x==0 ) in PrettyApprox()
608 else if ( RealNear(slopemin.y/slopemin.x,slopemid.y/slopemid.x) ) in PrettyApprox()
611 …-1].cp.x = -(data[q-1].bp.y-(slopemin.y/slopemin.x)*data[q-1].bp.x-mid.y+(slopemid.y/slopemid.x)*m… in PrettyApprox()
614 else if ( slopemin.y==0 ) in PrettyApprox()
616 else if ( RealNear(slopemin.x/slopemin.y,slopemid.x/slopemid.y) ) in PrettyApprox()
[all …]
/dports/devel/tex-synctex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/
H A Dsplineorder2.c531 BasePoint end, mid, slopemin, slopemid, slopeend; in PrettyApprox() local
542 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
549 slopemin.x = (3*ps->splines[0].a*t+2*ps->splines[0].b)*t+ps->splines[0].c; in PrettyApprox()
550 slopemin.y = (3*ps->splines[1].a*t+2*ps->splines[1].b)*t+ps->splines[1].c; in PrettyApprox()
557 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
606 else if ( slopemin.x==0 ) in PrettyApprox()
608 else if ( RealNear(slopemin.y/slopemin.x,slopemid.y/slopemid.x) ) in PrettyApprox()
611 …-1].cp.x = -(data[q-1].bp.y-(slopemin.y/slopemin.x)*data[q-1].bp.x-mid.y+(slopemid.y/slopemid.x)*m… in PrettyApprox()
614 else if ( slopemin.y==0 ) in PrettyApprox()
616 else if ( RealNear(slopemin.x/slopemin.y,slopemid.x/slopemid.y) ) in PrettyApprox()
[all …]
/dports/japanese/tex-ptex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/
H A Dsplineorder2.c531 BasePoint end, mid, slopemin, slopemid, slopeend; in PrettyApprox() local
542 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
549 slopemin.x = (3*ps->splines[0].a*t+2*ps->splines[0].b)*t+ps->splines[0].c; in PrettyApprox()
550 slopemin.y = (3*ps->splines[1].a*t+2*ps->splines[1].b)*t+ps->splines[1].c; in PrettyApprox()
557 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
606 else if ( slopemin.x==0 ) in PrettyApprox()
608 else if ( RealNear(slopemin.y/slopemin.x,slopemid.y/slopemid.x) ) in PrettyApprox()
611 …-1].cp.x = -(data[q-1].bp.y-(slopemin.y/slopemin.x)*data[q-1].bp.x-mid.y+(slopemid.y/slopemid.x)*m… in PrettyApprox()
614 else if ( slopemin.y==0 ) in PrettyApprox()
616 else if ( RealNear(slopemin.x/slopemin.y,slopemid.x/slopemid.y) ) in PrettyApprox()
[all …]
/dports/print/tex-basic-engines/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/
H A Dsplineorder2.c531 BasePoint end, mid, slopemin, slopemid, slopeend; in PrettyApprox() local
542 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
549 slopemin.x = (3*ps->splines[0].a*t+2*ps->splines[0].b)*t+ps->splines[0].c; in PrettyApprox()
550 slopemin.y = (3*ps->splines[1].a*t+2*ps->splines[1].b)*t+ps->splines[1].c; in PrettyApprox()
557 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
606 else if ( slopemin.x==0 ) in PrettyApprox()
608 else if ( RealNear(slopemin.y/slopemin.x,slopemid.y/slopemid.x) ) in PrettyApprox()
611 …-1].cp.x = -(data[q-1].bp.y-(slopemin.y/slopemin.x)*data[q-1].bp.x-mid.y+(slopemid.y/slopemid.x)*m… in PrettyApprox()
614 else if ( slopemin.y==0 ) in PrettyApprox()
616 else if ( RealNear(slopemin.x/slopemin.y,slopemid.x/slopemid.y) ) in PrettyApprox()
[all …]
/dports/print/tex-aleph/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/
H A Dsplineorder2.c531 BasePoint end, mid, slopemin, slopemid, slopeend; in PrettyApprox() local
542 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
549 slopemin.x = (3*ps->splines[0].a*t+2*ps->splines[0].b)*t+ps->splines[0].c; in PrettyApprox()
550 slopemin.y = (3*ps->splines[1].a*t+2*ps->splines[1].b)*t+ps->splines[1].c; in PrettyApprox()
557 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
606 else if ( slopemin.x==0 ) in PrettyApprox()
608 else if ( RealNear(slopemin.y/slopemin.x,slopemid.y/slopemid.x) ) in PrettyApprox()
611 …-1].cp.x = -(data[q-1].bp.y-(slopemin.y/slopemin.x)*data[q-1].bp.x-mid.y+(slopemid.y/slopemid.x)*m… in PrettyApprox()
614 else if ( slopemin.y==0 ) in PrettyApprox()
616 else if ( RealNear(slopemin.x/slopemin.y,slopemid.x/slopemid.y) ) in PrettyApprox()
[all …]
/dports/print/tex-luatex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/
H A Dsplineorder2.c531 BasePoint end, mid, slopemin, slopemid, slopeend; in PrettyApprox() local
542 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
549 slopemin.x = (3*ps->splines[0].a*t+2*ps->splines[0].b)*t+ps->splines[0].c; in PrettyApprox()
550 slopemin.y = (3*ps->splines[1].a*t+2*ps->splines[1].b)*t+ps->splines[1].c; in PrettyApprox()
557 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
606 else if ( slopemin.x==0 ) in PrettyApprox()
608 else if ( RealNear(slopemin.y/slopemin.x,slopemid.y/slopemid.x) ) in PrettyApprox()
611 …-1].cp.x = -(data[q-1].bp.y-(slopemin.y/slopemin.x)*data[q-1].bp.x-mid.y+(slopemid.y/slopemid.x)*m… in PrettyApprox()
614 else if ( slopemin.y==0 ) in PrettyApprox()
616 else if ( RealNear(slopemin.x/slopemin.y,slopemid.x/slopemid.y) ) in PrettyApprox()
[all …]
/dports/print/tex-xetex/texlive-20150521-source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/
H A Dsplineorder2.c531 BasePoint end, mid, slopemin, slopemid, slopeend; in PrettyApprox() local
542 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
549 slopemin.x = (3*ps->splines[0].a*t+2*ps->splines[0].b)*t+ps->splines[0].c; in PrettyApprox()
550 slopemin.y = (3*ps->splines[1].a*t+2*ps->splines[1].b)*t+ps->splines[1].c; in PrettyApprox()
557 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
606 else if ( slopemin.x==0 ) in PrettyApprox()
608 else if ( RealNear(slopemin.y/slopemin.x,slopemid.y/slopemid.x) ) in PrettyApprox()
611 …-1].cp.x = -(data[q-1].bp.y-(slopemin.y/slopemin.x)*data[q-1].bp.x-mid.y+(slopemid.y/slopemid.x)*m… in PrettyApprox()
614 else if ( slopemin.y==0 ) in PrettyApprox()
616 else if ( RealNear(slopemin.x/slopemin.y,slopemid.x/slopemid.y) ) in PrettyApprox()
[all …]
/dports/print/fontforge/fontforge-20201107/fontforge/
H A Dsplineorder2.c523 BasePoint end, mid, slopemin, slopemid, slopeend; in PrettyApprox() local
534 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
541 slopemin.x = (3*ps->splines[0].a*t+2*ps->splines[0].b)*t+ps->splines[0].c; in PrettyApprox()
542 slopemin.y = (3*ps->splines[1].a*t+2*ps->splines[1].b)*t+ps->splines[1].c; in PrettyApprox()
549 if ( slopemin.x==0 && slopemin.y==0 ) { in PrettyApprox()
598 else if ( slopemin.x==0 ) in PrettyApprox()
600 else if ( RealNear(slopemin.y/slopemin.x,slopemid.y/slopemid.x) ) in PrettyApprox()
603 …-1].cp.x = -(data[q-1].bp.y-(slopemin.y/slopemin.x)*data[q-1].bp.x-mid.y+(slopemid.y/slopemid.x)*m… in PrettyApprox()
606 else if ( slopemin.y==0 ) in PrettyApprox()
608 else if ( RealNear(slopemin.x/slopemin.y,slopemid.x/slopemid.y) ) in PrettyApprox()
[all …]