/plan9/sys/src/cmd/gs/src/ |
H A D | gsline.c | 36 gs_setlinewidth(gs_state * pgs, floatp width) in gs_setlinewidth() 44 gs_currentlinewidth(const gs_state * pgs) in gs_currentlinewidth() 51 gs_setlinecap(gs_state * pgs, gs_line_cap cap) in gs_setlinecap() 61 gs_currentlinecap(const gs_state * pgs) in gs_currentlinecap() 68 gs_setlinejoin(gs_state * pgs, gs_line_join join) in gs_setlinejoin() 78 gs_currentlinejoin(const gs_state * pgs) in gs_currentlinejoin() 110 gs_setmiterlimit(gs_state * pgs, floatp limit) in gs_setmiterlimit() 117 gs_currentmiterlimit(const gs_state * pgs) in gs_currentmiterlimit() 192 gs_setdash(gs_state * pgs, const float *pattern, uint length, floatp offset) in gs_setdash() 200 gs_currentdash_length(const gs_state * pgs) in gs_currentdash_length() [all …]
|
H A D | gsrop.c | 26 gs_setrasterop(gs_state * pgs, gs_rop3_t rop) in gs_setrasterop() 36 gs_currentrasterop(const gs_state * pgs) in gs_currentrasterop() 43 gs_setsourcetransparent(gs_state * pgs, bool transparent) in gs_setsourcetransparent() 55 gs_currentsourcetransparent(const gs_state * pgs) in gs_currentsourcetransparent() 62 gs_settexturetransparent(gs_state * pgs, bool transparent) in gs_settexturetransparent() 74 gs_currenttexturetransparent(const gs_state * pgs) in gs_currenttexturetransparent() 81 gs_set_logical_op(gs_state * pgs, gs_logical_operation_t lop) in gs_set_logical_op() 87 gs_current_logical_op(const gs_state * pgs) in gs_current_logical_op()
|
H A D | gsstate.c | 187 gstate_copy_client_data(gs_state * pgs, void *dto, void *dfrom, in gstate_copy_client_data() 219 gs_state *pgs = gstate_alloc(mem, "gs_state_alloc", NULL); in gs_state_alloc() local 284 gs_state_set_client(gs_state * pgs, void *pdata, in gs_state_set_client() 295 gs_state_client_data(const gs_state * pgs) in gs_state_client_data() 302 gs_state_free(gs_state * pgs) in gs_state_free() 311 gs_gsave(gs_state * pgs) in gs_gsave() 341 gs_gsave_for_save(gs_state * pgs, gs_state ** psaved) in gs_gsave_for_save() 374 gs_grestore_only(gs_state * pgs) in gs_grestore_only() 410 gs_grestore(gs_state * pgs) in gs_grestore() 428 gs_grestoreall_for_restore(gs_state * pgs, gs_state * saved) in gs_grestoreall_for_restore() [all …]
|
H A D | gstrans.c | 34 gs_setblendmode(gs_state *pgs, gs_blend_mode_t mode) in gs_setblendmode() 54 gs_currentblendmode(const gs_state *pgs) in gs_currentblendmode() 60 gs_setopacityalpha(gs_state *pgs, floatp alpha) in gs_setopacityalpha() 68 gs_currentopacityalpha(const gs_state *pgs) in gs_currentopacityalpha() 74 gs_setshapealpha(gs_state *pgs, floatp alpha) in gs_setshapealpha() 82 gs_currentshapealpha(const gs_state *pgs) in gs_currentshapealpha() 88 gs_settextknockout(gs_state *pgs, bool knockout) in gs_settextknockout() 97 gs_currenttextknockout(const gs_state *pgs) in gs_currenttextknockout() 105 gs_current_transparency_type(const gs_state *pgs) in gs_current_transparency_type() 117 push_transparency_stack(gs_state *pgs, gs_transparency_state_type_t type, in push_transparency_stack() [all …]
|
H A D | gscoord.c | 37 #define trace_ctm(pgs) trace_matrix_fixed(&(pgs)->ctm) argument 45 # define print_inverse(pgs)\ argument 49 # define print_inverse(pgs) DO_NOTHING argument 51 #define ensure_inverse_valid(pgs)\ argument 58 ctm_set_inverse(gs_state * pgs) in ctm_set_inverse() 92 #define update_ctm(pgs, xt, yt)\ argument 100 gs_initmatrix(gs_state * pgs) in gs_initmatrix() 115 gs_defaultmatrix(const gs_state * pgs, gs_matrix * pmat) in gs_defaultmatrix() 134 gs_setdefaultmatrix(gs_state * pgs, const gs_matrix * pmat) in gs_setdefaultmatrix() 146 gs_currentmatrix(const gs_state * pgs, gs_matrix * pmat) in gs_currentmatrix() [all …]
|
H A D | gspath.c | 35 gs_newpath(gs_state * pgs) in gs_newpath() 42 gs_closepath(gs_state * pgs) in gs_closepath() 54 gs_upmergepath(gs_state * pgs) in gs_upmergepath() 61 gx_current_path(const gs_state * pgs) in gx_current_path() 88 gs_currentpoint(gs_state * pgs, gs_point * ppt) in gs_currentpoint() 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 D | gscolor1.c | 45 gs_setcmykcolor(gs_state * pgs, floatp c, floatp m, floatp y, floatp k) in gs_setcmykcolor() 69 gs_setblackgeneration(gs_state * pgs, gs_mapping_proc proc) in gs_setblackgeneration() 74 gs_setblackgeneration_remap(gs_state * pgs, gs_mapping_proc proc, bool remap) in gs_setblackgeneration_remap() 91 gs_currentblackgeneration(const gs_state * pgs) in gs_currentblackgeneration() 99 gs_setundercolorremoval(gs_state * pgs, gs_mapping_proc proc) in gs_setundercolorremoval() 104 gs_setundercolorremoval_remap(gs_state * pgs, gs_mapping_proc proc, bool remap) in gs_setundercolorremoval_remap() 121 gs_currentundercolorremoval(const gs_state * pgs) in gs_currentundercolorremoval() 129 gs_setcolortransfer_remap(gs_state * pgs, gs_mapping_proc red_proc, in gs_setcolortransfer_remap() 184 gs_setcolortransfer(gs_state * pgs, gs_mapping_proc red_proc, in gs_setcolortransfer() 194 gs_currentcolortransfer(const gs_state * pgs, gs_mapping_proc procs[4]) in gs_currentcolortransfer()
|
H A D | gspaint.c | 48 gs_erasepage(gs_state * pgs) in gs_erasepage() 68 gs_fillpage(gs_state * pgs) in gs_fillpage() 104 alpha_buffer_bits(gs_state * pgs) in alpha_buffer_bits() 130 scale_paths(gs_state * pgs, int log2_scale_x, int log2_scale_y, bool do_path) in scale_paths() 182 scale_dash_pattern(gs_state * pgs, floatp scale) in scale_dash_pattern() 195 alpha_buffer_init(gs_state * pgs, fixed extra_x, fixed extra_y, int alpha_bits) in alpha_buffer_init() 241 alpha_buffer_release(gs_state * pgs, bool newpath) in alpha_buffer_release() 255 fill_with_rule(gs_state * pgs, int rule) in fill_with_rule() 295 gs_fill(gs_state * pgs) in gs_fill() 301 gs_eofill(gs_state * pgs) in gs_eofill() [all …]
|
H A D | gsdps.c | 34 gs_initviewclip(gs_state * pgs) in gs_initviewclip() 46 gs_viewclip(gs_state * pgs) in gs_viewclip() 52 gs_eoviewclip(gs_state * pgs) in gs_eoviewclip() 60 common_viewclip(gs_state * pgs, int rule) in common_viewclip() 90 gs_viewclippath(gs_state * pgs) in gs_viewclippath()
|
H A D | gscssub.c | 31 gs_setsubstitutecolorspace(gs_state *pgs, gs_color_space_index csi, in gs_setsubstitutecolorspace() 79 gs_current_DeviceGray_space(const gs_state *pgs) in gs_current_DeviceGray_space() 88 gs_current_DeviceRGB_space(const gs_state *pgs) in gs_current_DeviceRGB_space() 97 gs_current_DeviceCMYK_space(const gs_state *pgs) in gs_current_DeviceCMYK_space() 108 gs_currentsubstitutecolorspace(const gs_state *pgs, gs_color_space_index csi) in gs_currentsubstitutecolorspace()
|
H A D | gschar.c | 51 gs_show_n_init(gs_show_enum * penum, gs_state * pgs, in gs_show_n_init() 62 gs_ashow_n_init(gs_show_enum * penum, gs_state * pgs, in gs_ashow_n_init() 74 gs_widthshow_n_init(gs_show_enum * penum, gs_state * pgs, in gs_widthshow_n_init() 87 gs_awidthshow_n_init(gs_show_enum * penum, gs_state * pgs, in gs_awidthshow_n_init() 101 gs_state * pgs, const char *str, uint size) in gs_kshow_n_init() 123 gs_state * pgs, const char *str, uint size) in gs_xyshow_n_init() 134 gs_glyphshow_init(gs_show_enum * penum, gs_state * pgs, gs_glyph glyph) in gs_glyphshow_init() 142 gs_glyphpath_init(gs_show_enum * penum, gs_state * pgs, gs_glyph glyph, in gs_glyphpath_init() 151 gs_glyphwidth_init(gs_show_enum * penum, gs_state * pgs, gs_glyph glyph) in gs_glyphwidth_init() 164 gs_state * pgs, const char *str, uint size) in gs_cshow_n_init() [all …]
|
H A D | gscolor.c | 107 gs_setgray(gs_state * pgs, floatp gray) in gs_setgray() 126 gs_setrgbcolor(gs_state * pgs, floatp r, floatp g, floatp b) in gs_setrgbcolor() 148 gs_setnullcolor(gs_state * pgs) in gs_setnullcolor() 160 gs_settransfer(gs_state * pgs, gs_mapping_proc tproc) in gs_settransfer() 165 gs_settransfer_remap(gs_state * pgs, gs_mapping_proc tproc, bool remap) in gs_settransfer_remap() 201 gs_currenttransfer(const gs_state * pgs) in gs_currenttransfer() 210 gx_set_device_color_1(gs_state * pgs) in gx_set_device_color_1() 242 load_transfer_map(gs_state * pgs, gx_transfer_map * pmap, floatp min_value) in load_transfer_map()
|
H A D | gscolor3.c | 35 gs_setsmoothness(gs_state * pgs, floatp smoothness) in gs_setsmoothness() 44 gs_currentsmoothness(const gs_state * pgs) in gs_currentsmoothness() 51 gs_shfill(gs_state * pgs, const gs_shading_t * psh) in gs_shfill()
|
H A D | gxpaint.c | 27 private bool caching_an_outline_font(const gs_state * pgs) in caching_an_outline_font() 37 gx_fill_path(gx_path * ppath, gx_device_color * pdevc, gs_state * pgs, in gx_fill_path() 58 gx_stroke_fill(gx_path * ppath, gs_state * pgs) in gx_stroke_fill() 75 const gs_state * pgs) in gx_stroke_add()
|
H A D | gsdfilt.c | 53 gs_push_device_filter(gs_memory_t *mem, gs_state *pgs, gs_device_filter_t *df) in gs_push_device_filter() 80 gs_pop_device_filter(gs_memory_t *mem, gs_state *pgs) in gs_pop_device_filter() 103 gs_clear_device_filters(gs_memory_t *mem, gs_state *pgs) in gs_clear_device_filters()
|
H A D | gsalpha.c | 26 gs_setalpha(gs_state * pgs, floatp alpha) in gs_setalpha() 37 gs_currentalpha(const gs_state * pgs) in gs_currentalpha()
|
H A D | gsht1.c | 115 gs_setcolorscreen(gs_state * pgs, gs_colorscreen_halftone * pht) in gs_setcolorscreen() 126 gs_currentcolorscreen(gs_state * pgs, gs_colorscreen_halftone * pht) in gs_currentcolorscreen() 147 gs_sethalftone(gs_state * pgs, gs_halftone * pht) in gs_sethalftone() 156 gs_sethalftone_allocated(gs_state * pgs, gs_halftone * pht) in gs_sethalftone_allocated() 171 gs_sethalftone_prepare(gs_state * pgs, gs_halftone * pht, in gs_sethalftone_prepare() 332 process_transfer(gx_ht_order * porder, gs_state * pgs, in process_transfer() 357 process_spot(gx_ht_order * porder, gs_state * pgs, in process_spot() 406 process_threshold(gx_ht_order * porder, gs_state * pgs, in process_threshold() 426 process_threshold2(gx_ht_order * porder, gs_state * pgs, in process_threshold2() 542 process_client_order(gx_ht_order * porder, gs_state * pgs, in process_client_order() [all …]
|
H A D | gstext.c | 220 gs_text_begin(gs_state * pgs, const gs_text_params_t * text, in gs_text_begin() 250 gs_text_update_dev_color(gs_state * pgs, gs_text_enum_t * pte) in gs_text_update_dev_color() 265 private inline uint text_do_draw(gs_state * pgs) in text_do_draw() 272 gs_show_begin(gs_state * pgs, const byte * str, uint size, in gs_show_begin() 282 gs_ashow_begin(gs_state * pgs, floatp ax, floatp ay, const byte * str, uint size, in gs_ashow_begin() 295 gs_widthshow_begin(gs_state * pgs, floatp cx, floatp cy, gs_char chr, in gs_widthshow_begin() 310 gs_awidthshow_begin(gs_state * pgs, floatp cx, floatp cy, gs_char chr, in gs_awidthshow_begin() 328 gs_kshow_begin(gs_state * pgs, const byte * str, uint size, in gs_kshow_begin() 339 gs_xyshow_begin(gs_state * pgs, const byte * str, uint size, in gs_xyshow_begin() 370 gs_glyphshow_begin(gs_state * pgs, gs_glyph glyph, in gs_glyphshow_begin() [all …]
|
H A D | gxchar.c | 91 gs_show_enum_alloc(gs_memory_t * mem, gs_state * pgs, client_name_t cname) in gs_show_enum_alloc() 140 gs_state *pgs = (gs_state *)pis; in gx_default_text_begin() local 223 gs_state *pgs = (gs_state *)pis; in gx_hld_stringwidth_begin() local 242 gs_state *pgs; in gx_default_text_restore_state() local 262 gs_state *pgs = penum->pgs; in gx_show_text_set_cache() local 332 set_char_width(gs_show_enum *penum, gs_state *pgs, floatp wx, floatp wy) in set_char_width() 415 gs_state *pgs = penum->pgs; in compute_glyph_raster_params() local 464 set_cache_device(gs_show_enum * penum, gs_state * pgs, floatp llx, floatp lly, in set_cache_device() 665 gs_incachedevice(const gs_state *pgs) in gs_incachedevice() 740 gs_state *pgs = penum->pgs; in continue_kshow() local [all …]
|
H A D | gxhldevc.c | 69 const gs_state * pgs = gx_hld_get_gstate_ptr(pis); in gx_hld_save_color() local 142 const gs_state * pgs = gx_hld_get_gstate_ptr(pis); in gx_hld_is_hl_color_available() local 161 const gs_state * pgs = gx_hld_get_gstate_ptr(pis); in gx_hld_get_color_space_and_ccolor() local 188 const gs_state * pgs = gx_hld_get_gstate_ptr(pis); in gx_hld_get_number_color_components() local
|
H A D | gsdps1.c | 51 gs_setbbox(gs_state * pgs, floatp llx, floatp lly, floatp urx, floatp ury) in gs_setbbox() 100 gs_rectappend(gs_state * pgs, const gs_rect * pr, uint count) in gs_rectappend() 122 gs_rectclip(gs_state * pgs, const gs_rect * pr, uint count) in gs_rectclip() 144 gs_rectfill(gs_state * pgs, const gs_rect * pr, uint count) in gs_rectfill() 243 gs_rectstroke(gs_state * pgs, const gs_rect * pr, uint count, in gs_rectstroke()
|
H A D | gslib.c | 100 gs_state *pgs; in main() local 250 fill_rect1(gs_state * pgs, floatp x, floatp y, floatp w, floatp h) in fill_rect1() 327 test1(gs_state * pgs, gs_memory_t * mem) in test1() 361 test2(gs_state * pgs, gs_memory_t * mem) in test2() 422 test3(gs_state * pgs, gs_memory_t * mem) in test3() 464 test4(gs_state * pgs, gs_memory_t * mem) in test4() 511 test5(gs_state * pgs, gs_memory_t * mem) in test5() 739 spectrum(gs_state * pgs, int n) in spectrum() 768 gs_state *pgs, gs_memory_t *mem) in set_cmap_method() 782 test6(gs_state * pgs, gs_memory_t * mem) in test6() [all …]
|
H A D | gspcolor.c | 88 const gs_matrix * pmat, gs_state * pgs, gs_memory_t * mem) in gs_make_pattern() 100 const gs_matrix *pmat, gs_state *pgs, gs_memory_t *mem, in gs_make_pattern_common() 139 gs_setpattern(gs_state * pgs, const gs_client_color * pcc) in gs_setpattern() 151 gs_setpatternspace(gs_state * pgs) in gs_setpatternspace() 271 gx_install_Pattern(const gs_color_space * pcs, gs_state * pgs) in gx_install_Pattern() 284 gx_set_overprint_Pattern(const gs_color_space * pcs, gs_state * pgs) in gx_set_overprint_Pattern()
|
H A D | gsstate.h | 74 #define gs_sethalftonephase(pgs, px, py)\ argument 76 #define gs_currenthalftonephase(pgs, ppt)\ argument
|
H A D | gspath.h | 79 #define gs_pathbbox(pgs, prect)\ argument 88 #define gs_path_enum_init(penum, pgs)\ argument
|