diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3kernel/l3dvips.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3kernel/l3dvips.def | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/l3dvips.def b/Master/texmf-dist/tex/latex/l3kernel/l3dvips.def index 3b47c20fcb5..384008e0540 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/l3dvips.def +++ b/Master/texmf-dist/tex/latex/l3kernel/l3dvips.def @@ -86,7 +86,7 @@ #1 ~ setmatrix } -\cs_new_protected:Npn \__driver_box_use_clip:N #1 +\cs_new_protected:Npn \driver_box_use_clip:N #1 { \__driver_scope_begin: \__driver_literal:n @@ -104,7 +104,7 @@ \__driver_scope_end: \skip_horizontal:n { \box_wd:N #1 } } -\cs_new_protected:Npn \__driver_box_use_rotate:Nn #1#2 +\cs_new_protected:Npn \driver_box_use_rotate:Nn #1#2 { \__driver_scope_begin: \__driver_literal:n @@ -117,7 +117,7 @@ \box_use:N #1 \__driver_scope_end: } -\cs_new_protected:Npn \__driver_box_use_scale:Nnn #1#2#3 +\cs_new_protected:Npn \driver_box_use_scale:Nnn #1#2#3 { \__driver_scope_begin: \__driver_literal:n @@ -129,7 +129,7 @@ \hbox_overlap_right:n { \box_use:N #1 } \__driver_scope_end: } -\cs_new_eq:NN \__driver_image_getbb_eps:n \__image_read_bb:n +\cs_new_eq:NN \__driver_image_getbb_eps:n \image_read_bb:n \cs_new_protected:Npn \__driver_image_include_eps:n #1 { \tex_special:D { PSfile = #1 } @@ -137,34 +137,34 @@ \cs_new_protected:Npn \__driver_draw_literal:n #1 { \tex_special:D { ps:: ~ #1 } } \cs_generate_variant:Nn \__driver_draw_literal:n { x } -\cs_new_protected:Npn \__driver_draw_begin: +\cs_new_protected:Npn \driver_draw_begin: { \tex_special:D { ps::[begin] } \tex_special:D { ps::~save } \tex_special:D { ps::~/l3x~currentpoint~/l3y~exch~def~def } \tex_special:D { ps::~@beginspecial } } -\cs_new_protected:Npn \__driver_draw_end: +\cs_new_protected:Npn \driver_draw_end: { \tex_special:D { ps::~@endspecial } \tex_special:D { ps::~restore } \tex_special:D { ps::[end] } } -\cs_new_protected:Npn \__driver_draw_scope_begin: +\cs_new_protected:Npn \driver_draw_scope_begin: { \__driver_draw_literal:n { save } } -\cs_new_protected:Npn \__driver_draw_scope_end: +\cs_new_protected:Npn \driver_draw_scope_end: { \__driver_draw_literal:n { restore } } -\cs_new_protected:Npn \__driver_draw_moveto:nn #1#2 +\cs_new_protected:Npn \driver_draw_moveto:nn #1#2 { \__driver_draw_literal:x { \dim_to_decimal_in_bp:n {#1} ~ \dim_to_decimal_in_bp:n {#2} ~ moveto } } -\cs_new_protected:Npn \__driver_draw_lineto:nn #1#2 +\cs_new_protected:Npn \driver_draw_lineto:nn #1#2 { \__driver_draw_literal:x { \dim_to_decimal_in_bp:n {#1} ~ \dim_to_decimal_in_bp:n {#2} ~ lineto } } -\cs_new_protected:Npn \__driver_draw_rectangle:nnnn #1#2#3#4 +\cs_new_protected:Npn \driver_draw_rectangle:nnnn #1#2#3#4 { \__driver_draw_literal:x { @@ -173,7 +173,7 @@ moveto~dup~0~rlineto~exch~0~exch~rlineto~neg~0~rlineto~closepath } } -\cs_new_protected:Npn \__driver_draw_curveto:nnnnnn #1#2#3#4#5#6 +\cs_new_protected:Npn \driver_draw_curveto:nnnnnn #1#2#3#4#5#6 { \__driver_draw_literal:x { @@ -183,14 +183,14 @@ curveto } } -\cs_new_protected:Npn \__driver_draw_evenodd_rule: +\cs_new_protected:Npn \driver_draw_evenodd_rule: { \bool_gset_true:N \g__driver_draw_eor_bool } -\cs_new_protected:Npn \__driver_draw_nonzero_rule: +\cs_new_protected:Npn \driver_draw_nonzero_rule: { \bool_gset_false:N \g__driver_draw_eor_bool } \bool_new:N \g__driver_draw_eor_bool -\cs_new_protected:Npn \__driver_draw_closepath: +\cs_new_protected:Npn \driver_draw_closepath: { \__driver_draw_literal:n { closepath } } -\cs_new_protected:Npn \__driver_draw_stroke: +\cs_new_protected:Npn \driver_draw_stroke: { \__driver_draw_literal:n { currentdict~/l3sc~known~{gsave~l3sc}~if } \__driver_draw_literal:n { stroke } @@ -206,12 +206,12 @@ \__driver_draw_literal:n { newpath } \bool_gset_false:N \g__driver_draw_clip_bool } -\cs_new_protected:Npn \__driver_draw_closestroke: +\cs_new_protected:Npn \driver_draw_closestroke: { - \__driver_draw_closepath: - \__driver_draw_stroke: + \driver_draw_closepath: + \driver_draw_stroke: } -\cs_new_protected:Npn \__driver_draw_fill: +\cs_new_protected:Npn \driver_draw_fill: { \__driver_draw_literal:n { currentdict~/l3fc~known~{gsave~l3fc}~if } \__driver_draw_literal:x @@ -231,7 +231,7 @@ \__driver_draw_literal:n { newpath } \bool_gset_false:N \g__driver_draw_clip_bool } -\cs_new_protected:Npn \__driver_draw_fillstroke: +\cs_new_protected:Npn \driver_draw_fillstroke: { \__driver_draw_literal:n { currentdict~/l3fc~known~{gsave~l3fc}~if } \__driver_draw_literal:x @@ -254,10 +254,10 @@ \__driver_draw_literal:n { newpath } \bool_gset_false:N \g__driver_draw_clip_bool } -\cs_new_protected:Npn \__driver_draw_clip: +\cs_new_protected:Npn \driver_draw_clip: { \bool_gset_true:N \g__driver_draw_clip_bool } \bool_new:N \g__driver_draw_clip_bool -\cs_new_protected:Npn \__driver_draw_discardpath: +\cs_new_protected:Npn \driver_draw_discardpath: { \bool_if:NT \g__driver_draw_clip_bool { @@ -270,7 +270,7 @@ \__driver_draw_literal:n { newpath } \bool_gset_false:N \g__driver_draw_clip_bool } -\cs_new_protected:Npn \__driver_draw_dash:nn #1#2 +\cs_new_protected:Npn \driver_draw_cap_dash:nn #1#2 { \__driver_draw_literal:x { @@ -282,31 +282,31 @@ } \cs_new:Npn \__driver_draw_dash:n #1 { \dim_to_decimal_in_bp:n {#1} ~ } -\cs_new_protected:Npn \__driver_draw_linewidth:n #1 +\cs_new_protected:Npn \driver_draw_linewidth:n #1 { \__driver_draw_literal:x { \dim_to_decimal_in_bp:n {#1} ~ setlinewidth } } -\cs_new_protected:Npn \__driver_draw_miterlimit:n #1 +\cs_new_protected:Npn \driver_draw_miterlimit:n #1 { \__driver_draw_literal:x { \fp_eval:n {#1} ~ setmiterlimit } } -\cs_new_protected:Npn \__driver_draw_cap_butt: +\cs_new_protected:Npn \driver_draw_cap_butt: { \__driver_draw_literal:n { 0 ~ setlinecap } } -\cs_new_protected:Npn \__driver_draw_cap_round: +\cs_new_protected:Npn \driver_draw_cap_round: { \__driver_draw_literal:n { 1 ~ setlinecap } } -\cs_new_protected:Npn \__driver_draw_cap_rectangle: +\cs_new_protected:Npn \driver_draw_cap_rectangle: { \__driver_draw_literal:n { 2 ~ setlinecap } } -\cs_new_protected:Npn \__driver_draw_join_miter: +\cs_new_protected:Npn \driver_draw_join_miter: { \__driver_draw_literal:n { 0 ~ setlinejoin } } -\cs_new_protected:Npn \__driver_draw_join_round: +\cs_new_protected:Npn \driver_draw_join_round: { \__driver_draw_literal:n { 1 ~ setlinejoin } } -\cs_new_protected:Npn \__driver_draw_join_bevel: +\cs_new_protected:Npn \driver_draw_join_bevel: { \__driver_draw_literal:n { 2 ~ setlinejoin } } \cs_new_protected:Npn \__driver_draw_color_reset: { \__driver_draw_literal:n { currentdic~/l3fc~known~{ /l3fc~ { } ~def }~if } \__driver_draw_literal:n { currentdic~/l3sc~known~{ /l3sc~ { } ~def }~if } } -\cs_new_protected:Npn \__driver_draw_color_cmyk:nnnn #1#2#3#4 +\cs_new_protected:Npn \driver_draw_color_cmyk:nnnn #1#2#3#4 { \__driver_draw_literal:x { @@ -316,7 +316,7 @@ } \__driver_draw_color_reset: } -\cs_new_protected:Npn \__driver_draw_color_cmyk_fill:nnnn #1#2#3#4 +\cs_new_protected:Npn \driver_draw_fill_cmyk:nnnn #1#2#3#4 { \__driver_draw_literal:x { @@ -329,7 +329,7 @@ def } } -\cs_new_protected:Npn \__driver_draw_color_cmyk_stroke:nnnn #1#2#3#4 +\cs_new_protected:Npn \driver_draw_stroke_cmyk:nnnn #1#2#3#4 { \__driver_draw_literal:x { @@ -342,16 +342,16 @@ def } } -\cs_new_protected:Npn \__driver_draw_color_gray:n #1 +\cs_new_protected:Npn \driver_draw_color_gray:n #1 { \__driver_draw_literal:x { fp_eval:n {#1} ~ setgray } \__driver_draw_color_reset: } -\cs_new_protected:Npn \__driver_draw_color_gray_fill:n #1 +\cs_new_protected:Npn \driver_draw_fill_gray:n #1 { \__driver_draw_literal:x { /l3fc ~ { \fp_eval:n {#1} ~ setgray } ~ def } } -\cs_new_protected:Npn \__driver_draw_color_gray_stroke:n #1 +\cs_new_protected:Npn \driver_draw_stroke_gray:n #1 { \__driver_draw_literal:x { /l3sc ~ { \fp_eval:n {#1} ~ setgray } ~ def } } -\cs_new_protected:Npn \__driver_draw_color_rgb:nnn #1#2#3 +\cs_new_protected:Npn \driver_draw_color_rgb:nnn #1#2#3 { \__driver_draw_literal:x { @@ -360,7 +360,7 @@ } \__driver_draw_color_reset: } -\cs_new_protected:Npn \__driver_draw_color_rgb_fill:nnn #1#2#3 +\cs_new_protected:Npn \driver_draw_fill_rgb:nnn #1#2#3 { \__driver_draw_literal:x { @@ -372,7 +372,7 @@ def } } -\cs_new_protected:Npn \__driver_draw_color_rgb_stroke:nnn #1#2#3 +\cs_new_protected:Npn \driver_draw_stroke_rgb:nnn #1#2#3 { \__driver_draw_literal:x { @@ -384,7 +384,7 @@ def } } -\cs_new_protected:Npn \__driver_draw_transformcm:nnnnnn #1#2#3#4#5#6 +\cs_new_protected:Npn \driver_draw_transformcm:nnnnnn #1#2#3#4#5#6 { \__driver_draw_literal:x { @@ -396,11 +396,11 @@ concat } } -\cs_new_protected:Npn \__driver_draw_hbox:Nnnnnnn #1#2#3#4#5#6#7 +\cs_new_protected:Npn \driver_draw_hbox:Nnnnnnn #1#2#3#4#5#6#7 { \__driver_scope_begin: \tex_special:D { ps::[end] } - \__driver_draw_transformcm:nnnnnn {#2} {#3} {#4} {#5} {#6} {#7} + \driver_draw_transformcm:nnnnnn {#2} {#3} {#4} {#5} {#6} {#7} \tex_special:D { ps::~72~Resolution~div~72~VResolution~div~neg~scale } \tex_special:D { ps::~magscale~{1~DVImag~div~dup~scale}~if } \tex_special:D { ps::~l3x~neg~l3y~neg~translate } |