Home
last modified time | relevance | path

Searched refs:at_real (Results 1 – 25 of 34) sorted by relevance

12

/dports/graphics/autotrace/autotrace-0.31.1/
H A Doutput-mif.c44 at_real dpi;
80 static at_real bezpnt(at_real t, at_real z1, at_real z2, at_real z3, at_real z4) in bezpnt()
82 at_real temp, t1; in bezpnt()
84 if (t < (at_real) 0.0) { t = (at_real) 0.0; } in bezpnt()
85 if (t > (at_real) 1.0) { t = (at_real) 1.0; } in bezpnt()
86 t1 = ((at_real) 1.0 - t); in bezpnt()
87 temp = t1*t1*t1*z1 + (at_real)3.0*t*t1*t1*z2 + (at_real)3.0*t*t*t1*z3 + t*t*t*z4; in bezpnt()
94 static void print_coord(FILE* f, at_real x, at_real y) in print_coord()
120 cbox.dpi = (at_real) opts->dpi; in output_mif_writer()
187 at_real temp; in output_mif_writer()
[all …]
H A Dvector.c15 static at_real acos_d (at_real, at_exception_type * excep);
53 at_real
64 at_real m = magnitude (v); in normalize()
98 at_real
121 at_real
173 new_v.dx = (at_real) fabs (v.dx); in Vabs()
174 new_v.dy = (at_real) fabs (v.dy); in Vabs()
294 static at_real
297 at_real a; in acos_d()
305 a = (at_real) acos (v); in acos_d()
[all …]
H A Doutput-fig.c46 static at_real bezpnt(at_real, at_real, at_real, at_real, at_real);
117 static at_real bezpnt(at_real t, at_real z1, at_real z2, at_real z3, at_real z4) in bezpnt()
119 at_real temp, t1; in bezpnt()
121 if (t < (at_real) 0.0) { t = (at_real) 0.0; } in bezpnt()
122 if (t > (at_real) 1.0) { t = (at_real) 1.0; } in bezpnt()
123 t1 = ((at_real) 1.0 - t); in bezpnt()
124 temp = t1*t1*t1*z1 + (at_real)3.0*t*t1*t1*z2 + (at_real)3.0*t*t*t1*z3 + t*t*t*z4; in bezpnt()
175 at_real *contrl; in out_fig_splines()
196 contrl[pointcount] = (at_real) 0.0; in out_fig_splines()
213 at_real temp; in out_fig_splines()
[all …]
H A Dvector.h13 at_real dx, dy, dz;
27 extern at_real magnitude (const vector_type);
31 extern at_real Vdot (const vector_type, const vector_type);
32 extern vector_type Vmult_scalar (const vector_type, const at_real);
33 extern at_real Vangle (const vector_type in, const vector_type out, at_exception_type * exp);
62 extern at_real_coord Pmult_scalar (const at_real_coord, const at_real);
74 (const at_coord, const at_real);
H A Dautotrace.h82 at_real linearity;
111 at_real width_weight_factor;
136 at_real corner_always_threshold;
148 at_real corner_threshold;
153 at_real error_threshold;
164 at_real line_reversion_threshold;
170 at_real line_threshold;
189 at_real despeckle_tightness;
202 at_real width_weight_factor;
255 typedef void (* at_progress_func) (at_real percentage,
H A Dfit.c172 …notify_progress((((at_real)this_list)/((at_real)CURVE_LIST_ARRAY_LENGTH (curve_array)*(at_real)3.0… in fitted_splines()
572 at_real corner_angle; in find_corners()
1215 #define B1(t) ((at_real) 3.0 * (t) * SQUARE ((at_real) 1.0 - (t)))
1216 #define B2(t) ((at_real) 3.0 * SQUARE (t) * ((at_real) 1.0 - (t)))
1226 at_real alpha1, alpha2; in fit_one_spline()
1234 at_real X[2] = { 0.0, 0.0 }; in fit_one_spline()
1437 static at_real
1442 at_real total_error = 0.0; in find_error()
1497 at_real A, B, C; in spline_linear_enough()
1517 at_real a, b, c, w; in spline_linear_enough()
[all …]
H A Dmain.c49 static void dot_printer(at_real percentage, at_address client_data);
307 fitting_opts->corner_always_threshold = (at_real) atof (optarg); in read_command_line()
313 fitting_opts->corner_threshold = (at_real) atof (optarg); in read_command_line()
334 fitting_opts->despeckle_tightness = (at_real) atof (optarg); in read_command_line()
340 fitting_opts->error_threshold = (at_real) atof (optarg); in read_command_line()
368 fitting_opts->line_threshold = (at_real) atof (optarg); in read_command_line()
371 fitting_opts->line_reversion_threshold = (at_real) atof (optarg); in read_command_line()
408 fitting_opts->width_weight_factor = (at_real) atof (optarg); in read_command_line()
523 dot_printer(at_real percentage, at_address client_data) in dot_printer()
H A Depsilon-equal.h14 extern at_bool epsilon_equal (at_real v1, at_real v2);
H A Depsilon-equal.c16 epsilon_equal (at_real v1, at_real v2) in epsilon_equal()
H A Dtypes.h45 typedef float at_real; typedef
55 at_real x, y, z;
H A Dspline.c40 evaluate_spline (spline_type s, at_real t) in evaluate_spline()
44 at_real one_minus_t = (at_real) 1.0 - t; in evaluate_spline()
H A Doutput-pdf.c57 #define OUT_REAL(r) fprintf (pdf_file, r == (ROUND (r = ROUND((at_real)6.0*r)/(at_real)6.0)) \
107 #define SOUT_REAL(r) sprintf (temp, r == (ROUND (r = ROUND((at_real)6.0*r)/(at_real)6.0)) \
H A Dcurve.c274 …notify_progress(((at_real)this_list)/(CURVE_LIST_ARRAY_LENGTH (*curve_list_array)*(at_real)3.0)+(a… in free_curve_list_array()
H A Ddespeckle.h46 despeckle (bitmap_type *bitmap, int level, at_real tightness, at_exception_type * exp);
H A Doutput-epd.c60 #define OUT_REAL(r) fprintf (epd_file, r == (ROUND (r = ROUND((at_real)6.0*r)/(at_real)6.0)) \
H A Doutput-eps.c62 #define OUT_REAL(r) fprintf (ps_file, r == (ROUND (r = ROUND((at_real)6.0*r)/(at_real)6.0)) \
H A Doutput-er.c137 at_real w = (at_real) 1.0 / (shape.width_weight_factor); in out_splines()
H A Dspline.h33 extern at_real_coord evaluate_spline (spline_type spline, at_real t);
H A Dpxl-outline.c120 …notify_progress((at_real)(row * BITMAP_WIDTH(bitmap) + col) / ((at_real) max_progress * (at_real)3… in find_outline_pixels()
277 …notify_progress((at_real)(row * BITMAP_WIDTH(bitmap) + col) / ((at_real) max_progress * (at_real)3… in find_centerline_pixels()
H A Dcurve.h19 at_real t;
H A Ddespeckle.c780 /* in */ at_real tightness, in despeckle()
H A Doutput-emf.c64 #define SCALE (at_real) 1.0
/dports/math/giacxcas/giac-1.6.0/src/
H A Dti89.h165 extern const unary_function_ptr * const at_real;
H A Dstatic_lexer__numworks.h1218 & at_real,
H A Dstatic_lexer_.h1001 *((size_t *) at_real),

12