/dports/graphics/autotrace/autotrace-0.31.1/ |
H A D | output-mif.c | 44 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 D | vector.c | 15 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 D | output-fig.c | 46 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 D | vector.h | 13 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 D | autotrace.h | 82 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 D | fit.c | 172 …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 D | main.c | 49 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 D | epsilon-equal.h | 14 extern at_bool epsilon_equal (at_real v1, at_real v2);
|
H A D | epsilon-equal.c | 16 epsilon_equal (at_real v1, at_real v2) in epsilon_equal()
|
H A D | types.h | 45 typedef float at_real; typedef 55 at_real x, y, z;
|
H A D | spline.c | 40 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 D | output-pdf.c | 57 #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 D | curve.c | 274 …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 D | despeckle.h | 46 despeckle (bitmap_type *bitmap, int level, at_real tightness, at_exception_type * exp);
|
H A D | output-epd.c | 60 #define OUT_REAL(r) fprintf (epd_file, r == (ROUND (r = ROUND((at_real)6.0*r)/(at_real)6.0)) \
|
H A D | output-eps.c | 62 #define OUT_REAL(r) fprintf (ps_file, r == (ROUND (r = ROUND((at_real)6.0*r)/(at_real)6.0)) \
|
H A D | output-er.c | 137 at_real w = (at_real) 1.0 / (shape.width_weight_factor); in out_splines()
|
H A D | spline.h | 33 extern at_real_coord evaluate_spline (spline_type spline, at_real t);
|
H A D | pxl-outline.c | 120 …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 D | curve.h | 19 at_real t;
|
H A D | despeckle.c | 780 /* in */ at_real tightness, in despeckle()
|
H A D | output-emf.c | 64 #define SCALE (at_real) 1.0
|
/dports/math/giacxcas/giac-1.6.0/src/ |
H A D | ti89.h | 165 extern const unary_function_ptr * const at_real;
|
H A D | static_lexer__numworks.h | 1218 & at_real,
|
H A D | static_lexer_.h | 1001 *((size_t *) at_real),
|