summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3kernel/l3dvisvgm.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3kernel/l3dvisvgm.def')
-rw-r--r--Master/texmf-dist/tex/latex/l3kernel/l3dvisvgm.def98
1 files changed, 49 insertions, 49 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/l3dvisvgm.def b/Master/texmf-dist/tex/latex/l3kernel/l3dvisvgm.def
index 24b83d7a834..89dfe25c2ab 100644
--- a/Master/texmf-dist/tex/latex/l3kernel/l3dvisvgm.def
+++ b/Master/texmf-dist/tex/latex/l3kernel/l3dvisvgm.def
@@ -71,7 +71,7 @@
{ \__driver_literal:n { </g> } }
\cs_new_protected:Npn \__driver_scope_begin:n #1
{ \__driver_literal:n { <g~ #1 > } }
-\cs_new_protected:Npn \__driver_box_use_clip:N #1
+\cs_new_protected:Npn \driver_box_use_clip:N #1
{
\int_gincr:N \g__driver_clip_path_int
\__driver_literal:n
@@ -122,7 +122,7 @@
\__driver_scope_end:
}
\int_new:N \g__driver_clip_path_int
-\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:n
{
@@ -135,7 +135,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:n
{
@@ -154,15 +154,15 @@
\hbox_overlap_right:n { \box_use:N #1 }
\__driver_scope_end:
}
-\cs_new_eq:NN \__driver_image_getbb_png:n \__image_extract_bb:n
-\cs_new_eq:NN \__driver_image_getbb_jpg:n \__image_extract_bb:n
+\cs_new_eq:NN \__driver_image_getbb_png:n \image_extract_bb:n
+\cs_new_eq:NN \__driver_image_getbb_jpg:n \image_extract_bb:n
\cs_new_protected:Npn \__driver_image_include_png:n #1
{
\tex_special:D
{
dvisvgm:img~
- \dim_to_decimal:n { \l__image_ury_dim } ~
- \dim_to_decimal:n { \l__image_ury_dim } ~
+ \dim_to_decimal:n { \l_image_ury_dim } ~
+ \dim_to_decimal:n { \l_image_ury_dim } ~
\__driver_image_include_bitmap_quote:w #1 " " \q_stop
}
}
@@ -170,14 +170,14 @@
\cs_new:Npn \__driver_image_include_bitmap_quote:w #1 " #2 " #3 \q_stop { #1#2 }
\cs_new_eq:NN \__driver_draw_literal:n \__driver_literal:n
\cs_generate_variant:Nn \__driver_draw_literal:n { x }
-\cs_new_protected:Npn \__driver_draw_begin:
+\cs_new_protected:Npn \driver_draw_begin:
{
- \__driver_draw_scope_begin:
+ \driver_draw_scope_begin:
\__driver_draw_scope:n { transform="translate({?x},{?y})~scale(1,-1)" }
}
-\cs_new_protected:Npn \__driver_draw_end:
- { \__driver_draw_scope_end: }
-\cs_new_protected:Npn \__driver_draw_scope_begin:
+\cs_new_protected:Npn \driver_draw_end:
+ { \driver_draw_scope_end: }
+\cs_new_protected:Npn \driver_draw_scope_begin:
{
\int_set_eq:NN
\l__driver_draw_scope_int
@@ -185,7 +185,7 @@
\group_begin:
\int_gzero:N \g__driver_draw_scope_int
}
-\cs_new_protected:Npn \__driver_draw_scope_end:
+\cs_new_protected:Npn \driver_draw_scope_end:
{
\prg_replicate:nn
{ \g__driver_draw_scope_int }
@@ -203,17 +203,17 @@
\cs_generate_variant:Nn \__driver_draw_scope:n { x }
\int_new:N \g__driver_draw_scope_int
\int_new:N \l__driver_draw_scope_int
-\cs_new_protected:Npn \__driver_draw_moveto:nn #1#2
+\cs_new_protected:Npn \driver_draw_moveto:nn #1#2
{
\__driver_draw_add_to_path:n
{ M ~ \dim_to_decimal:n {#1} ~ \dim_to_decimal:n {#2} }
}
-\cs_new_protected:Npn \__driver_draw_lineto:nn #1#2
+\cs_new_protected:Npn \driver_draw_lineto:nn #1#2
{
\__driver_draw_add_to_path:n
{ L ~ \dim_to_decimal:n {#1} ~ \dim_to_decimal:n {#2} }
}
-\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_add_to_path:n
{
@@ -224,7 +224,7 @@
Z
}
}
-\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_add_to_path:n
{
@@ -244,11 +244,11 @@
}
}
\tl_new:N \g__driver_draw_path_tl
-\cs_new_protected:Npn \__driver_draw_evenodd_rule:
+\cs_new_protected:Npn \driver_draw_evenodd_rule:
{ \__driver_draw_scope:n { fill-rule="evenodd" } }
-\cs_new_protected:Npn \__driver_draw_nonzero_rule:
+\cs_new_protected:Npn \driver_draw_nonzero_rule:
{ \__driver_draw_scope:n { fill-rule="nonzero" } }
-\cs_new_protected:Npn \__driver_draw_closepath:
+\cs_new_protected:Npn \driver_draw_closepath:
{ \__driver_draw_add_to_path:n { Z } }
\cs_new_protected:Npn \__driver_draw_path:n #1
{
@@ -281,21 +281,21 @@
\bool_gset_false:N \g__driver_draw_clip_bool
}
\int_new:N \g__driver_path_int
-\cs_new_protected:Npn \__driver_draw_stroke:
+\cs_new_protected:Npn \driver_draw_stroke:
{ \__driver_draw_path:n { style="fill:none" } }
-\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_path:n { style="stroke:none" } }
-\cs_new_protected:Npn \__driver_draw_fillstroke:
+\cs_new_protected:Npn \driver_draw_fillstroke:
{ \__driver_draw_path:n { } }
-\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
{
@@ -316,7 +316,7 @@
\tl_gclear:N \g__driver_draw_path_tl
\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
{
\use:x
{
@@ -340,21 +340,21 @@
stroke-offset=" #2 "
}
}
-\cs_new_protected:Npn \__driver_draw_linewidth:n #1
+\cs_new_protected:Npn \driver_draw_linewidth:n #1
{ \__driver_draw_scope:x { stroke-width=" \dim_to_decimal:n {#1} " } }
-\cs_new_protected:Npn \__driver_draw_miterlimit:n #1
+\cs_new_protected:Npn \driver_draw_miterlimit:n #1
{ \__driver_draw_scope:x { stroke-miterlimit=" \fp_eval:n {#1} " } }
-\cs_new_protected:Npn \__driver_draw_cap_butt:
+\cs_new_protected:Npn \driver_draw_cap_butt:
{ \__driver_draw_scope:n { stroke-linecap="butt" } }
-\cs_new_protected:Npn \__driver_draw_cap_round:
+\cs_new_protected:Npn \driver_draw_cap_round:
{ \__driver_draw_scope:n { stroke-linecap="round" } }
-\cs_new_protected:Npn \__driver_draw_cap_rectangle:
+\cs_new_protected:Npn \driver_draw_cap_rectangle:
{ \__driver_draw_scope:n { stroke-linecap="square" } }
-\cs_new_protected:Npn \__driver_draw_join_miter:
+\cs_new_protected:Npn \driver_draw_join_miter:
{ \__driver_draw_scope:n { stroke-linejoin="miter" } }
-\cs_new_protected:Npn \__driver_draw_join_round:
+\cs_new_protected:Npn \driver_draw_join_round:
{ \__driver_draw_scope:n { stroke-linejoin="round" } }
-\cs_new_protected:Npn \__driver_draw_join_bevel:
+\cs_new_protected:Npn \driver_draw_join_bevel:
{ \__driver_draw_scope:n { stroke-linejoin="bevel" } }
\cs_new_protected:Npn \__driver_draw_color_cmyk_aux:NNnnnnn #1#2#3#4#5#6
{
@@ -367,11 +367,11 @@
}
#1 #2
}
-\cs_new_protected:Npn \__driver_draw_color_cmyk:nnnn
+\cs_new_protected:Npn \driver_draw_color_cmyk:nnnn
{ \__driver_draw_color_cmyk_aux:NNnnnnn \c_true_bool \c_true_bool }
-\cs_new_protected:Npn \__driver_draw_color_cmyk_fill:nnnn
+\cs_new_protected:Npn \driver_draw_fill_cmyk:nnnn
{ \__driver_draw_color_cmyk_aux:NNnnnnn \c_false_bool \c_true_bool }
-\cs_new_protected:Npn \__driver_draw_color_cmyk_stroke:nnnn
+\cs_new_protected:Npn \driver_draw_stroke_cmyk:nnnn
{ \__driver_draw_color_cmyk_aux:NNnnnnn \c_true_bool \c_false_bool }
\cs_new_protected:Npn \__driver_draw_color_gray_aux:NNn #1#2#3
{
@@ -385,11 +385,11 @@
\cs_new_protected:Npn \__driver_draw_color_gray_aux:nNN #1
{ \__driver_draw_color_rgb_auxii:nnnNN {#1} {#1} {#1} }
\cs_generate_variant:Nn \__driver_draw_color_gray_aux:nNN { x }
-\cs_new_protected:Npn \__driver_draw_color_gray:n
+\cs_new_protected:Npn \driver_draw_color_gray:n
{ \__driver_draw_color_gray_aux:NNn \c_true_bool \c_true_bool }
-\cs_new_protected:Npn \__driver_draw_color_gray_fill:n
+\cs_new_protected:Npn \driver_draw_fill_gray:n
{ \__driver_draw_color_gray_aux:NNn \c_false_bool \c_true_bool }
-\cs_new_protected:Npn \__driver_draw_color_gray_stroke:n
+\cs_new_protected:Npn \driver_draw_stroke_gray:n
{ \__driver_draw_color_gray_aux:NNn \c_true_bool \c_false_bool }
\cs_new_protected:Npn \__driver_draw_color_rgb_auxi:NNnnn #1#2#3#4#5
{
@@ -433,13 +433,13 @@
}
}
}
-\cs_new_protected:Npn \__driver_draw_color_rgb:nnn
+\cs_new_protected:Npn \driver_draw_color_rgb:nnn
{ \__driver_draw_color_rgb_auxi:NNnnn \c_true_bool \c_true_bool }
-\cs_new_protected:Npn \__driver_draw_color_rgb_fill:nnn
+\cs_new_protected:Npn \driver_draw_fill_rgb:nnn
{ \__driver_draw_color_rgb_auxi:NNnnn \c_false_bool \c_true_bool }
-\cs_new_protected:Npn \__driver_draw_color_rgb_stroke:nnn
+\cs_new_protected:Npn \driver_draw_stroke_rgb:nnn
{ \__driver_draw_color_rgb_auxi:NNnnn \c_true_bool \c_false_bool }
-\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_scope:x
{
@@ -454,10 +454,10 @@
"
}
}
-\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:
- \__driver_draw_transformcm:nnnnnn {#2} {#3} {#4} {#5} {#6} {#7}
+ \driver_draw_transformcm:nnnnnn {#2} {#3} {#4} {#5} {#6} {#7}
\__driver_literal:n
{
< g~