Home
last modified time | relevance | path

Searched refs:floatp (Results 1 – 25 of 119) sorted by relevance

12345

/plan9/sys/src/cmd/gs/src/
H A Dgspath.h28 gs_moveto(gs_state *, floatp, floatp),
29 gs_rmoveto(gs_state *, floatp, floatp),
30 gs_lineto(gs_state *, floatp, floatp),
31 gs_rlineto(gs_state *, floatp, floatp),
32 gs_arc(gs_state *, floatp, floatp, floatp, floatp, floatp),
33 gs_arcn(gs_state *, floatp, floatp, floatp, floatp, floatp),
39 gs_arc_add(gs_state *, bool, floatp, floatp, floatp, floatp, floatp, bool),
40 gs_arcto(gs_state *, floatp, floatp, floatp, floatp, floatp, float[4]),
41 gs_curveto(gs_state *, floatp, floatp, floatp, floatp, floatp, floatp),
42 gs_rcurveto(gs_state *, floatp, floatp, floatp, floatp, floatp, floatp),
[all …]
H A Dgscoord.h29 gs_translate(gs_state *, floatp, floatp),
30 gs_scale(gs_state *, floatp, floatp),
31 gs_rotate(gs_state *, floatp),
41 int gs_transform(gs_state *, floatp, floatp, gs_point *),
42 gs_dtransform(gs_state *, floatp, floatp, gs_point *),
43 gs_itransform(gs_state *, floatp, floatp, gs_point *),
44 gs_idtransform(gs_state *, floatp, floatp, gs_point *);
52 int gs_imager_idtransform(const gs_imager_state *, floatp, floatp, gs_point *);
H A Dgsmatrix.h54 int gs_make_translation(floatp, floatp, gs_matrix *),
55 gs_make_scaling(floatp, floatp, gs_matrix *),
56 gs_make_rotation(floatp, gs_matrix *);
61 gs_matrix_translate(const gs_matrix *, floatp, floatp, gs_matrix *),
62 gs_matrix_scale(const gs_matrix *, floatp, floatp, gs_matrix *),
63 gs_matrix_rotate(const gs_matrix *, floatp, gs_matrix *);
66 int gs_point_transform(floatp, floatp, const gs_matrix *, gs_point *),
67 gs_point_transform_inverse(floatp, floatp, const gs_matrix *, gs_point *),
68 gs_distance_transform(floatp, floatp, const gs_matrix *, gs_point *),
69 gs_distance_transform_inverse(floatp, floatp, const gs_matrix *, gs_point *),
H A Dspprint.h45 const char *pprintg1(stream * s, const char *format, floatp v);
46 const char *pprintg2(stream * s, const char *format, floatp v1, floatp v2);
48 floatp v1, floatp v2, floatp v3);
50 floatp v1, floatp v2, floatp v3, floatp v4);
52 floatp v1, floatp v2, floatp v3, floatp v4,
53 floatp v5, floatp v6);
H A Dzpath.c29 int (*)(gs_state *, floatp, floatp));
31 int (*)(gs_state *, floatp, floatp, floatp, floatp, floatp, floatp));
87 int (*add_proc)(gs_state *, floatp, floatp)) in common_to() argument
118 int (*add_proc)(gs_state *, floatp, floatp, floatp, floatp, floatp, floatp)) in common_curve() argument
H A Dgdevvec.h103 int (*setlinewidth) (gx_device_vector * vdev, floatp width);
106 int (*setmiterlimit) (gx_device_vector * vdev, floatp limit);
108 uint count, floatp offset);
109 int (*setflat) (gx_device_vector * vdev, floatp flatness);
126 int (*moveto) (gx_device_vector * vdev, floatp x0, floatp y0,
127 floatp x, floatp y, gx_path_type_t type);
128 int (*lineto) (gx_device_vector * vdev, floatp x0, floatp y0,
129 floatp x, floatp y, gx_path_type_t type);
130 int (*curveto) (gx_device_vector * vdev, floatp x0, floatp y0,
131 floatp x1, floatp y1, floatp x2, floatp y2,
[all …]
H A Dgshsb.c25 private void color_hsb_to_rgb(floatp h, floatp s, floatp b, float rgb[3]);
26 private void color_rgb_to_hsb(floatp r, floatp g, floatp b, float hsb[3]);
33 gs_sethsbcolor(gs_state * pgs, floatp h, floatp s, floatp b) in gs_sethsbcolor()
59 color_rgb_to_hsb(floatp r, floatp g, floatp b, float hsb[3]) in color_rgb_to_hsb()
100 color_hsb_to_rgb(floatp hue, floatp saturation, floatp brightness, float rgb[3]) in color_hsb_to_rgb()
107 floatp h6 = hue * 6; in color_hsb_to_rgb()
H A Dgdevpsdf.h266 int psdf_setlinewidth(gx_device_vector * vdev, floatp width);
269 int psdf_setmiterlimit(gx_device_vector * vdev, floatp limit);
271 uint count, floatp offset);
272 int psdf_setflat(gx_device_vector * vdev, floatp flatness);
281 int psdf_moveto(gx_device_vector * vdev, floatp x0, floatp y0,
282 floatp x, floatp y, gx_path_type_t type);
283 int psdf_lineto(gx_device_vector * vdev, floatp x0, floatp y0,
284 floatp x, floatp y, gx_path_type_t type);
285 int psdf_curveto(gx_device_vector * vdev, floatp x0, floatp y0,
286 floatp x1, floatp y1, floatp x2,
[all …]
H A Dgspath.c76 clamp_point(gs_fixed_point * ppt, floatp x, floatp y) in clamp_point()
97 gs_point_transform_compat(floatp x, floatp y, const gs_matrix_fixed *m, gs_point *pt) in gs_point_transform_compat()
114 gs_distance_transform_compat(floatp x, floatp y, const gs_matrix_fixed *m, gs_point *pt) in gs_distance_transform_compat()
131 clamp_point_aux(bool clamp_coordinates, gs_fixed_point *ppt, floatp x, floatp y) in clamp_point_aux()
147 gs_moveto_aux(gs_imager_state *pis, gx_path *ppath, floatp x, floatp y) in gs_moveto_aux()
166 gs_moveto(gs_state * pgs, floatp x, floatp y) in gs_moveto()
177 gs_rmoveto(gs_state * pgs, floatp x, floatp y) in gs_rmoveto()
193 gs_lineto_aux(gs_state * pgs, floatp x, floatp y) in gs_lineto_aux()
210 gs_lineto(gs_state * pgs, floatp x, floatp y) in gs_lineto()
221 gs_rlineto(gs_state * pgs, floatp x, floatp y) in gs_rlineto()
[all …]
H A Dgschar.h51 gs_ashow_n_init(gs_show_enum *, gs_state *, floatp, floatp, const char *, uint),
52 gs_widthshow_n_init(gs_show_enum *, gs_state *, floatp, floatp, gs_char, const char *, uint),
53 …gs_awidthshow_n_init(gs_show_enum *, gs_state *, floatp, floatp, gs_char, floatp, floatp, const ch…
114 int gs_setcharwidth(gs_show_enum *, gs_state *, floatp, floatp);
H A Dspprint.c110 pprintg1(stream * s, const char *format, floatp v) in pprintg1()
128 pprintg2(stream * s, const char *format, floatp v1, floatp v2) in pprintg2()
133 pprintg3(stream * s, const char *format, floatp v1, floatp v2, floatp v3) in pprintg3()
138 pprintg4(stream * s, const char *format, floatp v1, floatp v2, floatp v3, in pprintg4()
139 floatp v4) in pprintg4()
144 pprintg6(stream * s, const char *format, floatp v1, floatp v2, floatp v3, in pprintg6()
145 floatp v4, floatp v5, floatp v6) in pprintg6()
H A Dgdevpsdu.c53 psdf_setlinewidth(gx_device_vector * vdev, floatp width) in psdf_setlinewidth()
74 psdf_setmiterlimit(gx_device_vector * vdev, floatp limit) in psdf_setmiterlimit()
82 floatp offset) in psdf_setdash()
95 psdf_setflat(gx_device_vector * vdev, floatp flatness) in psdf_setflat()
130 psdf_moveto(gx_device_vector * vdev, floatp x0, floatp y0, floatp x, floatp y, in psdf_moveto()
138 psdf_lineto(gx_device_vector * vdev, floatp x0, floatp y0, floatp x, floatp y, in psdf_lineto()
146 psdf_curveto(gx_device_vector * vdev, floatp x0, floatp y0, in psdf_curveto()
147 floatp x1, floatp y1, floatp x2, floatp y2, floatp x3, floatp y3, in psdf_curveto()
165 psdf_closepath(gx_device_vector * vdev, floatp x0, floatp y0, in psdf_closepath()
166 floatp x_start, floatp y_start, gx_path_type_t type) in psdf_closepath()
H A Dgxmatrix.h51 int gs_point_transform2fixed(const gs_matrix_fixed *, floatp, floatp,
53 int gs_distance_transform2fixed(const gs_matrix_fixed *, floatp, floatp,
57 floatp x, floatp y, gs_fixed_point * ppt);
H A Dgsline.h26 int gs_setlinewidth(gs_state *, floatp);
32 int gs_setmiterlimit(gs_state *, floatp);
34 int gs_setdash(gs_state *, const float *, uint, floatp);
38 int gs_setflat(gs_state *, floatp);
52 int gs_setdotlength(gs_state *, floatp, bool);
63 int gs_imager_setflat(gs_imager_state *, floatp);
H A Dgspath2.h25 int gs_setbbox(gs_state *, floatp, floatp, floatp, floatp);
H A Dgscolor.h26 int gs_setgray(gs_state *, floatp);
28 int gs_setrgbcolor(gs_state *, floatp, floatp, floatp);
H A Dgspath1.c78 gs_arc_add_inline(gs_state *pgs, bool cw, floatp xc, floatp yc, floatp rad, in gs_arc_add_inline()
79 floatp a1, floatp a2, bool add) in gs_arc_add_inline()
90 floatp xc, floatp yc, floatp r, floatp ang1, floatp ang2) in gs_arc()
97 floatp xc, floatp yc, floatp r, floatp ang1, floatp ang2) in gs_arcn()
103 gs_arc_add(gs_state * pgs, bool clockwise, floatp axc, floatp ayc, in gs_arc_add()
104 floatp arad, floatp aang1, floatp aang2, bool add_line) in gs_arc_add()
195 floatp axc, floatp ayc, floatp arad, floatp aang1, floatp aang2, in gs_imager_arc_add()
296 floatp ax1, floatp ay1, floatp ax2, floatp ay2, floatp arad, float retxy[4]) in gs_arcto()
369 floatp fraction; in arc_add()
416 floatp dx = xt - x0, dy = yt - y0; in arc_add()
H A Dzpath1.c32 int (*)(gs_state *, floatp, floatp, floatp, floatp, floatp));
52 int (*aproc)(gs_state *, floatp, floatp, floatp, floatp, floatp)) in common_arc() argument
H A Dgsmatrix.c43 gs_make_translation(floatp dx, floatp dy, gs_matrix * pmat) in gs_make_translation()
53 gs_make_scaling(floatp sx, floatp sy, gs_matrix * pmat) in gs_make_scaling()
64 gs_make_rotation(floatp ang, gs_matrix * pmat) in gs_make_rotation()
147 gs_matrix_translate(const gs_matrix * pm, floatp dx, floatp dy, gs_matrix * pmr) in gs_matrix_translate()
163 gs_matrix_scale(const gs_matrix * pm, floatp sx, floatp sy, gs_matrix * pmr) in gs_matrix_scale()
178 gs_matrix_rotate(const gs_matrix * pm, floatp ang, gs_matrix * pmr) in gs_matrix_rotate()
203 gs_point_transform(floatp x, floatp y, const gs_matrix * pmat, in gs_point_transform()
218 gs_point_transform_inverse(floatp x, floatp y, const gs_matrix * pmat, in gs_point_transform_inverse()
246 gs_distance_transform(floatp dx, floatp dy, const gs_matrix * pmat, in gs_distance_transform()
261 gs_distance_transform_inverse(floatp dx, floatp dy, in gs_distance_transform_inverse()
[all …]
H A Dgscolor1.h25 int gs_setcmykcolor(gs_state *, floatp, floatp, floatp, floatp),
H A Dgshsb.h23 int gs_sethsbcolor(gs_state *, floatp, floatp, floatp),
H A Dgsline.c36 gs_setlinewidth(gs_state * pgs, floatp width) in gs_setlinewidth()
85 gx_set_miter_limit(gx_line_params * plp, floatp limit) in gx_set_miter_limit()
110 gs_setmiterlimit(gs_state * pgs, floatp limit) in gs_setmiterlimit()
125 floatp offset, gs_memory_t * mem) in gx_set_dash()
192 gs_setdash(gs_state * pgs, const float *pattern, uint length, floatp offset) in gs_setdash()
226 gs_imager_setflat(gs_imager_state * pis, floatp flat) in gs_imager_setflat()
236 gs_setflat(gs_state * pgs, floatp flat) in gs_setflat()
326 gx_set_dot_length(gx_line_params * plp, floatp length, bool absolute) in gx_set_dot_length()
335 gs_setdotlength(gs_state * pgs, floatp length, bool absolute) in gs_setdotlength()
H A Dgdevpdts.h114 int pdf_text_distance_transform(floatp wx, floatp wy,
129 floatp wx, floatp wy, bool nobreak);
H A Dgstext.h211 gs_ashow_begin(gs_state *, floatp, floatp, const byte *, uint,
213 gs_widthshow_begin(gs_state *, floatp, floatp, gs_char,
216 gs_awidthshow_begin(gs_state *, floatp, floatp, gs_char,
217 floatp, floatp, const byte *, uint,
H A Dgshtx.h93 floatp freq,
94 floatp angle,
95 float (*spot_func) (floatp, floatp),

12345