Home
last modified time | relevance | path

Searched refs:fix_x (Results 1 – 25 of 189) sorted by relevance

12345678

/dports/graphics/xfig/xfig-3.2.8a/src/
H A Dd_ellipse.c71 cur_x = fix_x = x; in init_ellipsebyradius_drawing()
116 ellipse->center.x = fix_x; in create_ellipsebyrad()
120 ellipse->start.x = fix_x; in create_ellipsebyrad()
149 cur_x = fix_x = x; in init_ellipsebydiameter_drawing()
198 ellipse->start.x = fix_x; in create_ellipsebydia()
217 cur_x = fix_x = x; in init_circlebyradius_drawing()
262 c->center.x = fix_x; in create_circlebyrad()
264 rx = fix_x - x; in create_circlebyrad()
267 c->start.x = fix_x; in create_circlebyrad()
284 cur_x = fix_x = x; in init_circlebydiameter_drawing()
[all …]
H A Du_elastic.c155 x1 = fix_x + round((c->secorner.x - fix_x) * scalefact); in elastic_scalecompound()
157 x2 = fix_x + round((c->nwcorner.x - fix_x) * scalefact); in elastic_scalecompound()
267 cur_x = fix_x; in angle90_line()
456 ox = fix_x + round((p->x - fix_x) * scalefact); in elastic_scalepts()
459 xx = fix_x + round((p->x - fix_x) * scalefact); in elastic_scalepts()
523 x1 = fix_x + rx; in elastic_ebr()
524 x2 = fix_x - rx; in elastic_ebr()
850 p0.x = fix_x + round((p0.x - fix_x) * scalefact); in elastic_scalearc()
852 p1.x = fix_x + round((p1.x - fix_x) * scalefact); in elastic_scalearc()
854 p2.x = fix_x + round((p2.x - fix_x) * scalefact); in elastic_scalearc()
[all …]
H A Dd_line.c70 fix_x = fix_y = -1; in line_drawing_selected()
103 cur_x = fix_x; in cancel_line_drawing()
121 cur_point->x = fix_x = cur_x = x; in init_trace_drawing()
190 if (fix_x == cur_x && fix_y == cur_y) in get_intermediatepoint()
194 fix_x = cur_x; in get_intermediatepoint()
215 fix_x = p->x; in get_intermediatepoint()
220 append_point(fix_x, fix_y, &cur_point); in get_intermediatepoint()
249 first_point->x = fix_x = cur_x = x; in create_lineobject()
253 } else if (x != fix_x || y != fix_y) { in create_lineobject()
287 fix_x = first_point->x; in create_lineobject()
[all …]
H A Dd_box.c58 cur_x = fix_x = x; in init_box_drawing()
66 elastic_box(fix_x, fix_y, cur_x, cur_y); in init_box_drawing()
74 elastic_box(fix_x, fix_y, cur_x, cur_y); in cancel_box()
87 elastic_box(fix_x, fix_y, cur_x, cur_y); in create_boxobject()
91 if (fix_x == x || fix_y == y) { in create_boxobject()
102 point->x = fix_x; in create_boxobject()
125 append_point(fix_x, y, &point); in create_boxobject()
126 append_point(fix_x, fix_y, &point); in create_boxobject()
H A De_scale.c513 p0.x = fix_x + round((p0.x - fix_x) * scalefact); in relocate_arcpoint()
515 p1.x = fix_x + round((p1.x - fix_x) * scalefact); in relocate_arcpoint()
517 p2.x = fix_x + round((p2.x - fix_x) * scalefact); in relocate_arcpoint()
619 fix_x = xmax; in init_boxscale_compound()
635 fix_x = xmin; in init_boxscale_compound()
654 fix_x = xmax; in init_boxscale_compound()
706 scalex = (double) (x - fix_x) / (from_x - fix_x); in fix_boxscale_compound()
1192 fix_x = xmax; in init_boxscale_line()
1208 fix_x = xmin; in init_boxscale_line()
1288 if (signof(fix_x - from_x) != signof(fix_x - x)) in fix_boxscale_line()
[all …]
H A De_movept.c198 fix_x = cur_e->end.x; in init_ellipsepointmoving()
203 fix_x = cur_e->start.x; in init_ellipsepointmoving()
207 dx = cur_x - fix_x; in init_ellipsepointmoving()
309 fix_x = ellipse->end.x; in relocate_ellipsepoint()
317 fix_x = ellipse->start.x; in relocate_ellipsepoint()
332 dx = fix_x - x; in relocate_ellipsepoint()
567 dx = cur_x - fix_x; in init_compoundpointmoving()
611 scalex = ((float) (cur_x - fix_x)) / (from_x - fix_x); in fix_movedcompoundpoint()
666 dx = cur_x - fix_x; in init_linepointmoving()
687 fix_x = left_point->x; in init_linepointmoving()
[all …]
H A Du_drag.c57 fix_x = cur_x = x; in init_ellipsedragging()
110 delta_x = cur_x - fix_x; in array_place_ellipse()
190 fix_x = cur_x = x; in init_arcdragging()
237 delta_x = cur_x - fix_x; in array_place_arc()
319 cur_x = fix_x = x; in init_linedragging()
369 delta_x = cur_x - fix_x; in array_place_line()
425 dx = x - fix_x; in place_line_x()
462 fix_x = cur_x = x; in init_textdragging()
609 cur_x = fix_x = x; in init_splinedragging()
736 fix_x = cur_x = x; in init_compounddragging()
[all …]
H A Dd_arcbox.c58 cur_x = fix_x = x; in init_arc_box_drawing()
66 elastic_box(fix_x, fix_y, cur_x, cur_y); in init_arc_box_drawing()
74 elastic_box(fix_x, fix_y, cur_x, cur_y); in cancel_arc_boxobject()
85 elastic_box(fix_x, fix_y, cur_x, cur_y); in create_arc_boxobject()
89 if (fix_x == x || fix_y == y) { in create_arc_boxobject()
123 append_point(fix_x, fix_y, &point); in create_arc_boxobject()
124 append_point(fix_x, y, &point); in create_arc_boxobject()
H A Dd_regpoly.c62 cur_x = fix_x = x; in init_regpoly_drawing()
71 elastic_poly(fix_x, fix_y, cur_x, cur_y, work_numsides); in init_regpoly_drawing()
79 elastic_poly(fix_x, fix_y, cur_x, cur_y, work_numsides); in cancel_regpoly()
96 elastic_poly(fix_x, fix_y, cur_x, cur_y, work_numsides); in create_regpoly()
99 if (fix_x == x && fix_y == y) in create_regpoly()
128 dx = x - fix_x; in create_regpoly()
138 nx = fix_x + round(mag * cos(angle)); in create_regpoly()
H A Dd_picobj.c71 elastic_box(fix_x, fix_y, cur_x, cur_y); in cancel_picobj()
84 elastic_box(fix_x, fix_y, cur_x, cur_y); in create_picobj()
90 point->x = fix_x; in create_picobj()
125 append_point(fix_x, y, &point); in create_picobj()
128 append_point(fix_x, fix_y, &point); in create_picobj()
H A De_delete.c135 elastic_box(fix_x, fix_y, cur_x, cur_y); in cancel_delete_region()
150 elastic_box(fix_x, fix_y, cur_x, cur_y); in delete_region()
154 c->nwcorner.x = min2(fix_x, x); in delete_region()
156 c->secorner.x = max2(fix_x, x); in delete_region()
H A Dw_msgpanel.c155 old_dx = (float)(abs(from_x - fix_x)); in boxsize_msg()
157 new_dx = (float)(abs(cur_x - fix_x)); in boxsize_msg()
167 dx = (float) fact * (cur_x - fix_x); in boxsize_msg()
204 t1x = (cur_x+fix_x)/2; in boxsize_msg()
215 t2x = fix_x + sdx + 5.0/zoomscale; /* right of the line */ in boxsize_msg()
217 t2x = fix_x + sdx - sizex.length - 4.0/zoomscale; /* left of the line */ in boxsize_msg()
237 old_dx = (float)(abs(from_x - fix_x)); in boxsize_scale_msg()
239 new_dx = (float)(abs(cur_x - fix_x)); in boxsize_scale_msg()
241 dx = (float) fact * abs(cur_x - fix_x); in boxsize_scale_msg()
288 altlength_msg(type, fix_x, fix_y); in length_msg()
H A Dd_arc.c114 point[0].x = fix_x = cur_x = x; in init_arc_drawing()
135 center_point.x = fix_x = cur_x = x; in init_arc_c_drawing()
179 if (x == fix_x && y == fix_y) in get_arcpoint()
197 point[num_point].x = fix_x = x; in get_arcpoint()
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/EDMS/Tests/
H A Dhackterr.c249 void Indoor_Terrain(fix fix_x, fix fix_y, fix fix_z, fix rad) in Indoor_Terrain() argument
255 pme = MAP_GET_XY(fix_int(fix_x),fix_int(fix_y)); in Indoor_Terrain()
307 fix_sprint(fixtemp2,fix_x); in Indoor_Terrain()
312 physics_apply_tile_contents(pme, fix_frac(fix_x), fix_frac(fix_y), fix_z, rad); in Indoor_Terrain()
317 adj = MAP_GET_XY(fix_int(fix_x), fix_int(fix_y) + 1); in Indoor_Terrain()
323 adj = MAP_GET_XY(fix_int(fix_x), fix_int(fix_y) - 1); in Indoor_Terrain()
325 physics_apply_tile_contents(adj, fix_frac(fix_x), -fix_frac(fix_y), fix_z, rad); in Indoor_Terrain()
328 if ((fix_frac(fix_x) + rad) > fix_make(1,0)) // Look East in Indoor_Terrain()
330 adj = MAP_GET_XY(fix_int(fix_x) + 1, fix_int(fix_y)); in Indoor_Terrain()
334 else if (fix_frac(fix_x) < rad) // Look West in Indoor_Terrain()
[all …]
/dports/games/openclonk/openclonk-release-8.1-src/src/object/
H A DC4Movement.cpp126 fix_x += mx; fix_y += my; in DoMotion()
236 C4Real new_x = fix_x + xdir; in DoMovement()
247 int step = Sign(new_x - fix_x); in DoMovement()
257 new_x = fix_x; in DoMovement()
348 ctx = GetX(); new_x = fix_x; in DoMovement()
361 if(fix_x != new_x || fix_y != new_y) in DoMovement()
365 fix_x = new_x; in DoMovement()
506 if (fix_x != from->fix_x || fix_y != from->fix_y) in CopyMotion()
508 fix_x=from->fix_x; fix_y=from->fix_y; in CopyMotion()
517 fix_x=tx; fix_y=ty; in ForcePosition()
[all …]
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/
H A Dtfdirect.c73 TerrainHit tf_direct(fix fix_x, fix fix_y, fix fix_z, fix rad, int ph, TFType tf_type);
636 TerrainHit tf_direct(fix fix_x, fix fix_y, fix fix_z, fix rad, int32_t ph, TFType tf_type) { in tf_direct() argument
640 tf_Spew(Calls, ("indoor %d at %x %x %x r %x\n", ph, fix_x, fix_y, fix_z, rad)); in tf_direct()
641 cenx = fix_int(fix_x); in tf_direct()
669 minx = fix_x - rad; in tf_direct()
686 maxx = fix_int(fix_x + rad); in tf_direct()
698 tf_raw_pt[0] = fix_x; in tf_direct()
699 tf_loc_pt[0] = fix_x - fix_make(minx, 0); // what is the coordinate system, eh? in tf_direct()
738 …tf_Spew(Ret, ("at %x %x %x r %x ret flg %x nrm %x %x %x, %x %x %x, %x %x %x\n", fix_x, fix_y, fix_… in tf_direct()
769 TerrainHit Indoor_Terrain(fix fix_x, fix fix_y, fix fix_z, fix rad, int ph, TFType type) { in Indoor_Terrain() argument
[all …]
/dports/games/macopix/macopix-mascot-one-euc-ja-1.02/
H A Done_misaki_taisougi.mcpx12 fix_x=0
85 fix_x=0
H A Done_akane_ending.mcpx12 fix_x=0
87 fix_x=0
H A Done_mayu_private.mcpx12 fix_x=0
90 fix_x=0
H A Done_rumi_ending.mcpx12 fix_x=0
86 fix_x=0
H A Done_mio_ending.mcpx12 fix_x=0
86 fix_x=0
H A Done_misaki_park.mcpx12 fix_x=0
93 fix_x=0
H A Done_shiiko.mcpx12 fix_x=0
101 fix_x=0
H A Done_mio.mcpx12 fix_x=0
100 fix_x=0
/dports/print/transfig/transfig.3.2.5e/fig2dev/
H A Dcalc_arrow.324.c82 double fix_x, fix_y; local
98 fix_x = xs + (dx / (double) 2.0);
124 x = fix_x + round(rmag * cos(angle));

12345678