/dports/cad/electric/electric-7.00/src/tec/ |
H A D | tecart.c | 811 poly->xv[2] = poly->xv[0] + rounddouble(cos(startoffset) * (double)dist); in art_fillnodebox() 812 poly->yv[2] = poly->yv[0] + rounddouble(sin(startoffset) * (double)dist); in art_fillnodebox() 813 poly->xv[1] = poly->xv[0] + rounddouble(cos(startoffset+endangle) * (double)dist); in art_fillnodebox() 814 poly->yv[1] = poly->yv[0] + rounddouble(sin(startoffset+endangle) * (double)dist); in art_fillnodebox() 965 poly->xv[m] = rounddouble(cx + a * c3); in art_fillellipse() 966 poly->yv[m] = rounddouble(cy + b * s3); in art_fillellipse() 983 poly->xv[m] = rounddouble(cx + a * c2); in art_fillellipse() 984 poly->yv[m] = rounddouble(cy + b * s2); in art_fillellipse() 1036 poly->xv[out] = rounddouble(x); in art_fillspline() 1037 poly->yv[out++] = rounddouble(y); in art_fillspline()
|
/dports/cad/electric/electric-7.00/src/misc/ |
H A D | compensate.c | 729 fx = cx + rounddouble(cos(startoffset) * (double)radius); in compen_examine() 730 fy = cy + rounddouble(sin(startoffset) * (double)radius); in compen_examine() 1245 newrot = rounddouble(srot * 1800.0 / EPI); in compen_uncompensatecell() 2526 newrot = rounddouble(srot * 1800.0 / EPI); in compen_adjustgeometry() 2919 newix = ix + rounddouble(cos(dang) * (double)arcrad); in compen_forcemeeting() 2920 newiy = iy + rounddouble(sin(dang) * (double)arcrad); in compen_forcemeeting() 3009 ang1 = rounddouble(startoffset + endangle); in compen_straighten() 3015 ang2 = rounddouble(startoffset + endangle); in compen_straighten() 3590 return(rounddouble(fabs(dist))); in compen_angoffset() 3634 *y = rounddouble(fy); in compen_intersect() [all …]
|
/dports/cad/electric/electric-7.00/src/io/ |
H A D | iogdso.c | 498 io_gds_int4(rounddouble(io_gds_scale*(double)poly->xv[0])); in io_gdswritecell() 499 io_gds_int4(rounddouble(io_gds_scale*(double)poly->yv[0])); in io_gdswritecell() 583 io_gds_int4(rounddouble(io_gds_scale*(double)xpos)); in io_gdswritecell() 584 io_gds_int4(rounddouble(io_gds_scale*(double)ypos)); in io_gdswritecell() 669 io_gds_int4(rounddouble(io_gds_scale*(double)bx)); in io_gdswritecell() 670 io_gds_int4(rounddouble(io_gds_scale*(double)by)); in io_gdswritecell() 1094 io_gds_int4(rounddouble(io_gds_scale*(double)xv[j])); in io_gds_boundary() 1095 io_gds_int4(rounddouble(io_gds_scale*(double)yv[j])); in io_gds_boundary() 1117 io_gds_int4(rounddouble(io_gds_scale*(double)poly->xv[i])); in io_gds_path() 1118 io_gds_int4(rounddouble(io_gds_scale*(double)poly->yv[i])); in io_gds_path()
|
H A D | iogdsi.c | 686 *ang = rounddouble(angle) % 3600; in io_gdsItranslate() 913 size = rounddouble(scale); in io_gdsItext() 1243 io_gdsvertex[*point_counter].px = rounddouble((double)io_gdstokenvalue32 * io_gdsscale); in io_gdsIdetermine_points() 1245 io_gdsvertex[*point_counter].py = rounddouble((double)io_gdstokenvalue32 * io_gdsscale); in io_gdsIdetermine_points() 1574 width = rounddouble((double)io_gdstokenvalue32 * io_gdsscale); in io_gdsIdetermine_path() 1586 bgnextend = rounddouble((double)io_gdstokenvalue32 * io_gdsscale); in io_gdsIdetermine_path() 1593 endextend = rounddouble((double)io_gdstokenvalue32 * io_gdsscale); in io_gdsIdetermine_path()
|
H A D | iodxf.c | 946 iangle = rounddouble(sangle * 10.0); in io_dxfreadentities() 1127 iangle = rounddouble(sa); in io_dxfreadentities() 1148 rad = rounddouble(arcrad); in io_dxfreadentities() 1168 x1 = rounddouble(xcf); y1 = rounddouble(ycf); in io_dxfreadentities() 1188 iangle = rounddouble(sa); in io_dxfreadentities() 1652 *x1 = rounddouble((double)(*x1) * factor); in io_dxfreadsolidentity() 1653 *x2 = rounddouble((double)(*x2) * factor); in io_dxfreadsolidentity() 1654 *x3 = rounddouble((double)(*x3) * factor); in io_dxfreadsolidentity() 1655 *x4 = rounddouble((double)(*x4) * factor); in io_dxfreadsolidentity()
|
H A D | ioedifi.c | 4723 *ixc = rounddouble(xc); 4724 *iyc = rounddouble(yc); 4729 *r = rounddouble(R); 4759 *rot = rounddouble(a[0]); 4767 *rot = 3600 - rounddouble(a[0]) + 2700; 4771 *rot = 2700 - rounddouble(a[0]);
|
H A D | io.c | 4026 r = rounddouble(radius); in io_compute_center() 4035 dx = rounddouble(Dx); in io_compute_center() 4036 dy = rounddouble(Dy); in io_compute_center()
|
/dports/cad/electric/electric-7.00/src/db/ |
H A D | dbmath.c | 679 iang = rounddouble(ang * 1800.0 / EPI); in figureangle() 998 *y = rounddouble(fy); in intersect() 999 *x = rounddouble((-fb1 * fy - fc1) / fa1); in intersect() 1033 *y = rounddouble(fy); in fintersect() 1034 *x = rounddouble((-fb1 * fy - fc1) / fa1); in fintersect() 1137 *ix1 = rounddouble(segx); in circlelineintersection() 1138 *iy1 = rounddouble(segy); in circlelineintersection() 1217 *ix1 = cx + rounddouble(cos(ang1)*radius); in circletangents() 1218 *iy1 = cy + rounddouble(sin(ang1)*radius); in circletangents() 1219 *ix2 = cx + rounddouble(cos(ang2)*radius); in circletangents() [all …]
|
H A D | dbtech.c | 1775 angle = rounddouble(endangle * 1800.0 / EPI); in setarcdegrees() 1811 *fx = cx + rounddouble(cos(startoffset) * radius); in getarcendpoints() 1812 *fy = cy + rounddouble(sin(startoffset) * radius); in getarcendpoints() 1813 *tx = cx + rounddouble(cos(startoffset+endangle) * radius); in getarcendpoints() 1814 *ty = cy + rounddouble(sin(startoffset+endangle) * radius); in getarcendpoints()
|
H A D | dbgeom.c | 927 xv = rounddouble(ctx + a * cos(p)); in boundobj() 928 yv = rounddouble(cty + b * sin(p)); in boundobj()
|
H A D | dbmerge.c | 3663 *iy = rounddouble(fiy); in db_mergelinesintersect() 3664 *ix = rounddouble((-fb1 * fiy - fc1) / fa1); in db_mergelinesintersect()
|
H A D | dbtext.c | 217 retval = rounddouble(((double)hipart) * scale + ((double)lonum)*scale / ((double)loden)); in atola()
|
/dports/cad/electric/electric-7.00/src/sim/ |
H A D | simwindow.c | 3621 return(rounddouble(result)); in sim_window_timetoxpos() 5595 scaled = time * 1.0E17; inttime = rounddouble(scaled); in sim_windowconvertengineeringnotation() 5601 scaled = time * 1.0E14; inttime = rounddouble(scaled); in sim_windowconvertengineeringnotation() 5607 scaled = time * 1.0E11; inttime = rounddouble(scaled); in sim_windowconvertengineeringnotation() 5613 scaled = time * 1.0E8; inttime = rounddouble(scaled); in sim_windowconvertengineeringnotation() 5619 scaled = time * 1.0E5; inttime = rounddouble(scaled); in sim_windowconvertengineeringnotation() 5625 inttime = rounddouble(time * 1.0E2); in sim_windowconvertengineeringnotation() 5690 scaled = time * 1.0E17; inttime = rounddouble(scaled); in sim_windowconvertengineeringnotation2() 5697 scaled = time * 1.0E14; inttime = rounddouble(scaled); in sim_windowconvertengineeringnotation2() 5704 scaled = time * 1.0E11; inttime = rounddouble(scaled); in sim_windowconvertengineeringnotation2() [all …]
|
/dports/cad/electric/electric-7.00/src/usr/ |
H A D | usrnet.c | 10179 pfx[dps] = firstpoly->xv[0] + rounddouble(cos(oang) * (double)frad); in us_adjusttangentsnappoints() 10180 pfy[dps] = firstpoly->yv[0] + rounddouble(sin(oang) * (double)frad); in us_adjusttangentsnappoints() 10187 pfx[dps] = firstpoly->xv[0] + rounddouble(cos(oang) * (double)frad); in us_adjusttangentsnappoints() 10188 pfy[dps] = firstpoly->yv[0] + rounddouble(sin(oang) * (double)frad); in us_adjusttangentsnappoints() 10205 pfx[dps] = firstpoly->xv[0] + rounddouble(cos(ang) * (double)frad); in us_adjusttangentsnappoints() 10206 pfy[dps] = firstpoly->yv[0] + rounddouble(sin(ang) * (double)frad); in us_adjusttangentsnappoints() 10218 pfx[dps] = firstpoly->xv[0] + rounddouble(cos(ang) * (double)frad); in us_adjusttangentsnappoints() 10238 pfx[dps] = firstpoly->xv[0] + rounddouble(cos(ang) * (double)frad); in us_adjusttangentsnappoints() 10239 pfy[dps] = firstpoly->yv[0] + rounddouble(sin(ang) * (double)frad); in us_adjusttangentsnappoints() 10251 pfx[dps] = firstpoly->xv[0] + rounddouble(cos(ang) * (double)frad); in us_adjusttangentsnappoints() [all …]
|
H A D | usrmisc.c | 3125 newrot = rounddouble(srot * 1800.0 / EPI); in us_dofillet()
|
/dports/cad/electric/electric-7.00/src/rout/ |
H A D | routmimic.c | 531 wantx1 = x0 + rounddouble(dist * cos(fangle)); in ro_mimicthis() 532 wanty1 = y0 + rounddouble(dist * sin(fangle)); in ro_mimicthis()
|
/dports/cad/electric/electric-7.00/src/include/ |
H A D | global.h | 2030 INTBIG rounddouble(double v);
|
/dports/cad/electric/electric-7.00/src/drc/ |
H A D | drcquick.c | 2754 actual = rounddouble(sqrt(fdx*fdx + fdy*fdy)); in dr_quickcheckminwidth()
|