%%
%% This is file `l3backend-dvisvgm.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% l3backend-basics.dtx  (with options: `package,dvisvgm')
%% l3backend-color.dtx  (with options: `package,dvisvgm')
%% l3backend-box.dtx  (with options: `package,dvisvgm')
%% l3backend-draw.dtx  (with options: `package,dvisvgm')
%% l3backend-graphics.dtx  (with options: `package,dvisvgm')
%% l3backend-pdf.dtx  (with options: `package,dvisvgm')
%% l3backend-pdfannot.dtx  (with options: `package,dvisvgm')
%% l3backend-opacity.dtx  (with options: `package,dvisvgm')
%% 
%% Copyright (C) 2019-2026 The LaTeX Project
%% 
%% It may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License (LPPL), either version 1.3c of
%% this license or (at your option) any later version.  The latest
%% version of this license is in the file:
%% 
%%    https://www.latex-project.org/lppl.txt
%% 
%% This file is part of the "l3kernel bundle" (The Work in LPPL)
%% and all files in that bundle must be distributed together.
%% 
%% File: l3backend-basics.dtx
\ProvidesExplFile
  {l3backend-dvisvgm.def}{2026-08-10}{}
  {L3 backend support: dvisvgm}
\cs_if_exist:NTF \__kernel_dependency_version_check:nn
  {
    \__kernel_dependency_version_check:nn {2023-10-10}
      {l3backend-dvisvgm.def}
  }
  {
    \cs_if_exist_use:cF { @latex@error } { \errmessage }
      {
        Mismatched~LaTeX~support~files~detected. \MessageBreak
        Loading~aborted!
      }
      { \use:c { @ehd } }
    \tex_endinput:D
  }
\cs_new_eq:NN \__kernel_backend_literal:e \tex_special:D
\cs_new_protected:Npn \__kernel_backend_literal:n #1
  { \__kernel_backend_literal:e { \exp_not:n {#1} } }
\cs_if_exist:NTF \@ifl@t@r
  {
    \@ifl@t@r \fmtversion { 2020-10-01 }
      {
        \cs_new_protected:Npn \__kernel_backend_first_shipout:n #1
          { \hook_gput_code:nnn { shipout / firstpage } { l3backend } {#1} }
      }
      { \cs_new_eq:NN \__kernel_backend_first_shipout:n \AtBeginDvi }
  }
  { \cs_new_eq:NN \__kernel_backend_first_shipout:n \use:n }
\cs_new_protected:Npn \__kernel_backend_literal_svg:n #1
  { \__kernel_backend_literal:n { dvisvgm:raw~ #1 { ?nl } } }
\cs_generate_variant:Nn \__kernel_backend_literal_svg:n { e }
\int_new:N \g__kernel_backend_scope_int
\int_new:N \l__kernel_backend_scope_int
\cs_new_protected:Npn \__kernel_backend_scope_begin:
  {
    \__kernel_backend_literal_svg:n { <g> }
    \int_set_eq:NN
      \l__kernel_backend_scope_int
      \g__kernel_backend_scope_int
    \group_begin:
      \int_gset:Nn \g__kernel_backend_scope_int { 1 }
  }
\cs_new_protected:Npn \__kernel_backend_scope_end:
  {
      \prg_replicate:nn
        { \g__kernel_backend_scope_int }
        { \__kernel_backend_literal_svg:n { </g> } }
    \group_end:
    \int_gset_eq:NN
      \g__kernel_backend_scope_int
      \l__kernel_backend_scope_int
  }
\cs_new_protected:Npn \__kernel_backend_scope_begin:n #1
  {
    \__kernel_backend_literal_svg:n { <g ~ #1 > }
    \int_set_eq:NN
      \l__kernel_backend_scope_int
      \g__kernel_backend_scope_int
    \group_begin:
      \int_gset:Nn \g__kernel_backend_scope_int { 1 }
  }
\cs_generate_variant:Nn \__kernel_backend_scope_begin:n { e }
\cs_new_protected:Npn \__kernel_backend_scope:n #1
  {
    \__kernel_backend_literal_svg:n { <g ~ #1 > }
    \int_gincr:N \g__kernel_backend_scope_int
  }
\cs_generate_variant:Nn \__kernel_backend_scope:n { e }
%% File: l3backend-color.dtx
\cs_new:Npn \__color_backend_raw_cmyk:n #1 { cmyk ~ #1 }
\cs_new:Npn \__color_backend_raw_gray:n #1 { gray ~ #1 }
\cs_new:Npn \__color_backend_raw_rgb:n #1 { rgb ~ #1 }
\cs_new:Npn \__color_backend_current_cmyk:n #1 { cmyk ~ #1 }
\cs_new:Npn \__color_backend_current_gray:n #1 { gray ~ #1 }
\cs_new:Npn \__color_backend_current_rgb:n #1 { rgb ~ #1 }
\cs_new_protected:Npn \__color_backend_select_cmyk:n #1
  { \__color_backend_select:nn { cmyk } {#1} }
\cs_new_protected:Npn \__color_backend_select_gray:n #1
  { \__color_backend_select:nn { gray } {#1} }
\cs_new_protected:Npn \__color_backend_select_rgb:n #1
  { \__color_backend_select:nn { rgb } {#1} }
\cs_new_protected:Npn \__color_backend_select:nn #1#2
  {
    \__kernel_backend_literal:e
      { color~push~ \use:c { __color_backend_current_ #1 :n } {#2} }
  }
\cs_new_protected:Npn \__color_backend_reset:
  { \__kernel_backend_literal:n { color~pop } }
\cs_new:Npn \__color_backend_raw_separation:nn #1#2 { }
\cs_new_eq:NN \__color_backend_raw_devicen:nn \__color_backend_raw_separation:nn
\cs_new:Npn \__color_backend_current_separation:nn #1#2 { ~ #1 ~ #2 }
\cs_new_eq:NN \__color_backend_current_devicen:nn \__color_backend_current_separation:nn
\cs_new_eq:NN \__color_backend_current_iccbased:nn \__color_backend_current_separation:nn
\cs_new_protected:Npn \__color_backend_select_separation:nn #1#2 { }
\cs_new_eq:NN \__color_backend_select_devicen:nnN \__color_backend_select_separation:nn
\cs_new_protected:Npn \__color_backend_separation_init:nnnnn #1#2#3#4#5 { }
\cs_new_protected:Npn \__color_backend_separation_init_CIELAB:nnnnnn #1#2#3 { }
\cs_new:Npn \__color_backend_raw_iccbased:nn #1#2
  {
    <style>
      @color-profile ~
        \str_if_eq:nnTF {#2} { cmyk }
          { device-cmyk }
          { --color \int_use:N \g__color_model_int }
            \c_space_tl
        { src:("#1") }
    </style>
  }
\cs_new_protected:Npn \__color_backend_select_iccbased:nn #1#2
  {
    \__kernel_backend_literal_svg:e
      { \__color_backend_raw_iccbased:nn {#1} {#2} }
  }
\cs_new_protected:Npn \__color_backend_fill_cmyk:n #1
  { \__color_backend_fill:n { cmyk ~ #1 } }
\cs_new_protected:Npn \__color_backend_fill_gray:n #1
  { \__color_backend_fill:n { gray ~ #1 } }
\cs_new_protected:Npn \__color_backend_fill_rgb:n #1
  { \__color_backend_fill:n { rgb ~ #1 } }
\cs_new_protected:Npn \__color_backend_fill:n #1
  { \__kernel_backend_literal:n { color~push~ #1 } }
\cs_new_protected:Npn \__color_backend_stroke_cmyk:n #1
  {
    \__color_backend_fill_cmyk:n {#1}
    \__kernel_backend_scope:n { stroke = "{?color}" }
    \__color_backend_reset:
  }
\cs_new_protected:Npn \__color_backend_stroke_gray:n #1
  {
    \use:e
      {
        \__color_backend_stroke_gray_aux:n
          { \fp_eval:n { 100 * (#1) } }
      }
  }
\cs_new_protected:Npn \__color_backend_stroke_gray_aux:n #1
  { \__color_backend:nnn {#1} {#1} {#1} }
\cs_new_protected:Npn \__color_backend_stroke_rgb:n #1
  { \__color_backend_stroke_rgb:w #1 \s__color_stop }
\cs_new_protected:Npn \__color_backend_stroke_rgb:w
  #1 ~ #2 ~ #3 \s__color_stop
  {
    \use:e
      {
        \__color_backend:nnn
          { \fp_eval:n { 100 * (#1) } }
          { \fp_eval:n { 100 * (#2) } }
          { \fp_eval:n { 100 * (#3) } }
      }
  }
\cs_new_protected:Npe \__color_backend:nnn #1#2#3
  {
    \__kernel_backend_scope:n
      {
        stroke =
          "
            rgb
              (
                #1 \c_percent_str ,
                #2 \c_percent_str ,
                #3 \c_percent_str
              )
          "
      }
  }
\cs_new_protected:Npn \__color_backend_fill_separation:nn #1#2 { }
\cs_new_protected:Npn \__color_backend_stroke_separation:nn #1#2 { }
\cs_new_eq:NN \__color_backend_fill_devicen:nn \__color_backend_fill_separation:nn
\cs_new_eq:NN \__color_backend_stroke_devicen:nn \__color_backend_stroke_separation:nn
\cs_new_eq:NN \__color_backend_fill_reset: \__color_backend_reset:
\cs_new_protected:Npn \__color_backend_stroke_reset: { }
\cs_new_protected:Npn \__color_backend_devicen_init:nnn #1#2#3 { }
\cs_new_protected:Npn \__color_backend_iccbased_init:nnn #1#2#3 { }
%% File: l3backend-box.dtx
\cs_new_protected:Npn \__box_backend_clip:N #1
  {
    \int_gincr:N \g__kernel_clip_path_int
    \__kernel_backend_literal_svg:e
      { < clipPath~id = " l3cp \int_use:N \g__kernel_clip_path_int " > }
    \__kernel_backend_literal_svg:e
      {
        <
          path ~ d =
            "
              M ~ 0 ~
                  \dim_to_decimal:n { -\box_dp:N #1 } ~
              L ~ \dim_to_decimal:n { \box_wd:N #1 } ~
                  \dim_to_decimal:n { -\box_dp:N #1 } ~
              L ~ \dim_to_decimal:n { \box_wd:N #1 }  ~
                  \dim_to_decimal:n { \box_ht:N #1 + \box_dp:N #1 } ~
              L ~ 0 ~
                  \dim_to_decimal:n { \box_ht:N #1 + \box_dp:N #1 } ~
              Z
            "
        />
      }
    \__kernel_backend_literal_svg:n
      { < /clipPath > }
    \__kernel_backend_scope_begin:n
      {
        transform =
          "
            translate ( { ?x } , { ?y } ) ~
            scale ( 1 , -1 )
          "
      }
    \__kernel_backend_scope:e
      {
        clip-path =
          "url ( \c_hash_str l3cp \int_use:N \g__kernel_clip_path_int ) "
      }
    \__kernel_backend_scope:n
      {
        transform =
          "
            scale ( -1 , 1 ) ~
            translate ( { ?x } , { ?y } ) ~
            scale ( -1 , -1 )
          "
      }
    \box_use:N #1
    \__kernel_backend_scope_end:
  }
\int_new:N \g__kernel_clip_path_int
\cs_new_protected:Npn \__box_backend_rotate:Nn #1#2
  {
    \__kernel_backend_scope_begin:e
      {
        transform =
          "
            rotate
            ( \fp_eval:n { round ( -(#2) , 5 ) } , ~ { ?x } , ~ { ?y } )
          "
      }
    \box_use:N #1
    \__kernel_backend_scope_end:
  }
\cs_new_protected:Npn \__box_backend_scale:Nnn #1#2#3
  {
    \__kernel_backend_scope_begin:e
      {
        transform =
          "
            translate ( { ?x } , { ?y } ) ~
            scale
              (
                \fp_eval:n { round ( -#2 , 5 ) } ,
                \fp_eval:n { round ( -#3 , 5 ) }
              ) ~
            translate ( { ?x } , { ?y } ) ~
            scale ( -1 )
          "
      }
    \hbox_overlap_right:n { \box_use:N #1 }
    \__kernel_backend_scope_end:
  }
%% File: l3backend-draw.dtx
\cs_new_eq:NN \__draw_backend_literal:n \__kernel_backend_literal_svg:n
\cs_generate_variant:Nn \__draw_backend_literal:n { e }
\cs_new_eq:NN \__draw_backend_scope_begin: \__kernel_backend_scope_begin:
\cs_new_eq:NN \__draw_backend_scope_end: \__kernel_backend_scope_end:
\cs_new_protected:Npn \__draw_backend_begin:
  {
    \__kernel_backend_scope_begin:
    \__kernel_backend_scope:n { transform="translate({?x},{?y})~scale(1,-1)" }
  }
\cs_new_eq:NN \__draw_backend_end: \__kernel_backend_scope_end:
\cs_new_protected:Npn \__draw_backend_moveto:nn #1#2
  {
    \__draw_backend_add_to_path:n
      { M ~ \dim_to_decimal:n {#1} ~ \dim_to_decimal:n {#2} }
  }
\cs_new_protected:Npn \__draw_backend_lineto:nn #1#2
  {
    \__draw_backend_add_to_path:n
      { L ~ \dim_to_decimal:n {#1} ~ \dim_to_decimal:n {#2} }
  }
\cs_new_protected:Npn \__draw_backend_rectangle:nnnn #1#2#3#4
  {
    \__draw_backend_add_to_path:n
      {
        M ~ \dim_to_decimal:n {#1} ~ \dim_to_decimal:n {#2}
        h ~ \dim_to_decimal:n {#3} ~
        v ~ \dim_to_decimal:n {#4} ~
        h ~ \dim_to_decimal:n { -#3 } ~
        Z
      }
  }
\cs_new_protected:Npn \__draw_backend_curveto:nnnnnn #1#2#3#4#5#6
  {
    \__draw_backend_add_to_path:n
      {
        C ~
        \dim_to_decimal:n {#1} ~ \dim_to_decimal:n {#2} ~
        \dim_to_decimal:n {#3} ~ \dim_to_decimal:n {#4} ~
        \dim_to_decimal:n {#5} ~ \dim_to_decimal:n {#6}
      }
  }
\cs_new_protected:Npn \__draw_backend_add_to_path:n #1
  {
    \tl_gset:Ne \g__draw_backend_path_tl
      {
        \g__draw_backend_path_tl
        \tl_if_empty:NF \g__draw_backend_path_tl { \c_space_tl }
        #1
      }
  }
\tl_new:N \g__draw_backend_path_tl
\cs_new_protected:Npn \__draw_backend_evenodd_rule:
  { \__kernel_backend_scope:n { fill-rule="evenodd" } }
\cs_new_protected:Npn \__draw_backend_nonzero_rule:
  { \__kernel_backend_scope:n { fill-rule="nonzero" } }
\cs_new_protected:Npn \__draw_backend_closepath:
  { \__draw_backend_add_to_path:n { Z } }
\cs_new_protected:Npn \__draw_backend_path:n #1
  {
    \bool_if:NTF \g__draw_draw_clip_bool
      {
        \int_gincr:N \g__kernel_clip_path_int
        \__draw_backend_literal:e
          {
            < clipPath~id = " l3cp \int_use:N \g__kernel_clip_path_int " >
              { ?nl }
            <path~d=" \g__draw_backend_path_tl "/> { ?nl }
            < /clipPath > { ? nl }
            <
              use~xlink:href =
                "\c_hash_str l3path \int_use:N \g__draw_backend_path_int " ~
                #1
            />
          }
        \__kernel_backend_scope:e
          {
            clip-path =
              "url( \c_hash_str l3cp \int_use:N \g__kernel_clip_path_int)"
          }
      }
      {
        \__draw_backend_literal:e
          { <path ~ d=" \g__draw_backend_path_tl " ~ #1 /> }
      }
    \tl_gclear:N \g__draw_backend_path_tl
    \bool_gset_false:N \g__draw_draw_clip_bool
  }
\int_new:N \g__draw_backend_path_int
\cs_new_protected:Npn \__draw_backend_stroke:
  { \__draw_backend_path:n { style="fill:none" } }
\cs_new_protected:Npn \__draw_backend_closestroke:
  {
    \__draw_backend_closepath:
    \__draw_backend_stroke:
  }
\cs_new_protected:Npn \__draw_backend_fill:
  { \__draw_backend_path:n { style="stroke:none" } }
\cs_new_protected:Npn \__draw_backend_fillstroke:
  { \__draw_backend_path:n { } }
\cs_new_protected:Npn \__draw_backend_clip:
  { \bool_gset_true:N \g__draw_draw_clip_bool }
\bool_new:N \g__draw_draw_clip_bool
\cs_new_protected:Npn \__draw_backend_discardpath:
  {
    \bool_if:NT \g__draw_draw_clip_bool
      {
        \int_gincr:N \g__kernel_clip_path_int
        \__draw_backend_literal:e
          {
            < clipPath~id = " l3cp \int_use:N \g__kernel_clip_path_int " >
              { ?nl }
            <path~d=" \g__draw_backend_path_tl "/> { ?nl }
            < /clipPath >
          }
        \__kernel_backend_scope:e
          {
            clip-path =
              "url( \c_hash_str l3cp \int_use:N \g__kernel_clip_path_int)"
          }
      }
    \tl_gclear:N \g__draw_backend_path_tl
    \bool_gset_false:N \g__draw_draw_clip_bool
  }
\cs_new_protected:Npn \__draw_backend_dash_pattern:nn #1#2
  {
    \use:e
      {
        \__draw_backend_dash_aux:nn
          { \clist_map_function:nN {#1} \__draw_backend_dash:n }
          { \dim_to_decimal:n {#2} }
      }
  }
\cs_new:Npn \__draw_backend_dash:n #1
  { , \dim_to_decimal_in_bp:n {#1} }
\cs_new_protected:Npn \__draw_backend_dash_aux:nn #1#2
  {
    \__kernel_backend_scope:e
      {
        stroke-dasharray =
          "
            \tl_if_empty:nTF {#1}
              { none }
              { \use_none:n #1 }
          " ~
          stroke-offset=" #2 "
      }
  }
\cs_new_protected:Npn \__draw_backend_linewidth:n #1
  { \__kernel_backend_scope:e { stroke-width=" \dim_to_decimal:n {#1} " } }
\cs_new_protected:Npn \__draw_backend_miterlimit:n #1
  { \__kernel_backend_scope:e { stroke-miterlimit=" #1 " } }
\cs_new_protected:Npn \__draw_backend_cap_butt:
  { \__kernel_backend_scope:n { stroke-linecap="butt" } }
\cs_new_protected:Npn \__draw_backend_cap_round:
  { \__kernel_backend_scope:n { stroke-linecap="round" } }
\cs_new_protected:Npn \__draw_backend_cap_rectangle:
  { \__kernel_backend_scope:n { stroke-linecap="square" } }
\cs_new_protected:Npn \__draw_backend_join_miter:
  { \__kernel_backend_scope:n { stroke-linejoin="miter" } }
\cs_new_protected:Npn \__draw_backend_join_round:
  { \__kernel_backend_scope:n { stroke-linejoin="round" } }
\cs_new_protected:Npn \__draw_backend_join_bevel:
  { \__kernel_backend_scope:n { stroke-linejoin="bevel" } }
\cs_new_protected:Npn \__draw_backend_transform:nnnn #1#2#3#4
  {
    \__kernel_backend_scope:n
      {
        transform =
          " matrix ( #1 , #2 , #3 , #4 , 0pt , 0pt ) "
      }
  }
\cs_new_protected:Npn \__draw_backend_shift:nn #1#2
  {
    \__kernel_backend_scope:n
      {
        transform =
          " matrix ( 1 , 0 , 0 , 1 ,  #1pt , #2pt ) "
      }
  }
\cs_new_protected:Npn \__draw_backend_box_use:Nnnnn #1#2#3#4#5
  {
    \__kernel_backend_scope_begin:
    \__draw_backend_transform:nnnn {#2} {#3} {#4} {#5}
    \__kernel_backend_literal_svg:n
      {
        < g~
            stroke="none"~
            transform="scale(-1,1)~translate({?x},{?y})~scale(-1,-1)"
        >
      }
    \box_set_wd:Nn #1 { 0pt }
    \box_set_ht:Nn #1 { 0pt }
    \box_set_dp:Nn #1 { 0pt }
    \box_use:N #1
    \__kernel_backend_literal_svg:n { </g> }
    \__kernel_backend_scope_end:
  }
%% File: l3backend-graphics.dtx
\seq_set_from_clist:Nn \l_graphics_search_ext_seq
  { .svg , .pdf , .eps , .ps , .png , .jpg , .jpeg }
\cs_new_protected:Npn \__graphics_backend_getbb_svg:n #1
  {
    \__graphics_bb_restore:nF {#1}
      {
        \ior_open:Nn \l__graphics_tmp_ior {#1}
        \ior_if_eof:NTF \l__graphics_tmp_ior
          { \msg_error:nnn { graphics } { graphic-not-found } {#1} }
          {
            \dim_zero:N \l__graphics_llx_dim
            \dim_zero:N \l__graphics_lly_dim
            \dim_set:Nn \l__graphics_urx_dim { -\c_max_dim }
            \dim_set:Nn \l__graphics_ury_dim { -\c_max_dim }
            \ior_str_map_inline:Nn \l__graphics_tmp_ior
              {
                \dim_compare:nNnT \l__graphics_urx_dim = { -\c_max_dim }
                  {
                    \__graphics_backend_getbb_svg_auxi:nNn
                      { width } \l__graphics_urx_dim {##1}
                  }
                \dim_compare:nNnT \l__graphics_ury_dim = { -\c_max_dim }
                  {
                    \__graphics_backend_getbb_svg_auxi:nNn
                      { height } \l__graphics_ury_dim {##1}
                  }
                \bool_lazy_and:nnF
                  { \dim_compare_p:nNn \l__graphics_urx_dim = { -\c_max_dim } }
                  { \dim_compare_p:nNn \l__graphics_ury_dim = { -\c_max_dim } }
                  { \ior_map_break: }
              }
            \__graphics_bb_save:n {#1}
          }
        \ior_close:N \l__graphics_tmp_ior
      }
  }
\cs_new_protected:Npn \__graphics_backend_getbb_svg_auxi:nNn #1#2#3
  {
    \use:e
      {
        \cs_set_protected:Npn \__graphics_backend_getbb_svg_auxii:w
          ##1 \tl_to_str:n {#1} = ##2 \tl_to_str:n {#1} = ##3
          \s__graphics_stop
      }
      {
        \tl_if_blank:nF {##2}
          {
            \peek_remove_spaces:n
              {
                \peek_meaning:NTF ' % '
                  { \__graphics_backend_getbb_svg_auxiii:Nw #2 }
                  {
                    \peek_meaning:NTF " % "
                      { \__graphics_backend_getbb_svg_auxiv:Nw #2 }
                      { \__graphics_backend_getbb_svg_auxv:Nw #2 }
                  }
              }
                ##2 \s__graphics_stop
          }
      }
    \use:e
      {
        \__graphics_backend_getbb_svg_auxii:w #3
          \tl_to_str:n {#1} = \tl_to_str:n {#1} =
          \s__graphics_stop
      }
  }
\cs_new_protected:Npn \__graphics_backend_getbb_svg_auxii:w { }
\cs_new_protected:Npn \__graphics_backend_getbb_svg_auxiii:Nw #1 ' #2 ' #3 \s__graphics_stop
  { \__graphics_backend_getbb_svg_auxvi:Nn #1 {#2} }
\cs_new_protected:Npn \__graphics_backend_getbb_svg_auxiv:Nw #1 " #2 " #3 \s__graphics_stop
  { \__graphics_backend_getbb_svg_auxvi:Nn #1 {#2} }
\cs_new_protected:Npn \__graphics_backend_getbb_svg_auxv:Nw #1  #2 ~ #3 \s__graphics_stop
  { \__graphics_backend_getbb_svg_auxvi:Nn #1 {#2} }
\cs_new_protected:Npn \__graphics_backend_getbb_svg_auxvi:Nn #1#2
  {
    \tex_afterassignment:D \__graphics_backend_getbb_svg_auxvii:w
      \l__graphics_tmp_dim #2 bp \scan_stop:
    \dim_set_eq:NN #1 \l__graphics_tmp_dim
  }
\cs_new_protected:Npn \__graphics_backend_getbb_svg_auxvii:w #1 \scan_stop: { }
\cs_new_eq:NN \__graphics_backend_getbb_eps:n \__graphics_read_bb:n
\cs_new_eq:NN \__graphics_backend_getbb_ps:n \__graphics_read_bb:n
\cs_new_protected:Npn \__graphics_backend_getbb_jpg:n #1
  {
    \int_zero:N \l__graphics_page_int
    \tl_clear:N \l__graphics_pagebox_tl
    \__graphics_extract_bb:n {#1}
  }
\cs_new_eq:NN \__graphics_backend_getbb_jpeg:n \__graphics_backend_getbb_jpg:n
\cs_new_eq:NN \__graphics_backend_getbb_png:n \__graphics_backend_getbb_jpg:n
\cs_new_protected:Npn \__graphics_backend_getbb_pdf:n #1
  {
    \tl_clear:N \l__graphics_decodearray_str
    \bool_set_false:N \l__graphics_interpolate_bool
    \__graphics_extract_bb:n {#1}
  }
\cs_new_protected:Npn \__graphics_backend_include_eps:n #1
  { \__graphics_backend_include:nn { PSfile } {#1} }
\cs_new_eq:NN \__graphics_backend_include_ps:n \__graphics_backend_include_eps:n
\cs_new_protected:Npn \__graphics_backend_include_pdf:n #1
  { \__graphics_backend_include:nn { pdffile } {#1} }
\cs_new_protected:Npn \__graphics_backend_include:nn #1#2
  {
    \__kernel_backend_literal:e
      {
        #1 = #2 \c_space_tl
        llx = \dim_to_decimal_in_bp:n \l__graphics_llx_dim \c_space_tl
        lly = \dim_to_decimal_in_bp:n \l__graphics_lly_dim \c_space_tl
        urx = \dim_to_decimal_in_bp:n \l__graphics_urx_dim \c_space_tl
        ury = \dim_to_decimal_in_bp:n \l__graphics_ury_dim
      }
  }
\cs_new_protected:Npn \__graphics_backend_include_svg:n #1
  {
    \box_move_up:nn { \l__graphics_ury_dim }
      {
        \hbox:n
          {
            \__kernel_backend_literal:e
              {
                dvisvgm:img~
                \dim_to_decimal:n { \l__graphics_urx_dim } ~
                \dim_to_decimal:n { \l__graphics_ury_dim } ~
                \__graphics_backend_include_dequote:w #1 " #1 " \s__graphics_stop
              }
          }
      }
  }
\cs_new_eq:NN \__graphics_backend_include_png:n \__graphics_backend_include_svg:n
\cs_new_eq:NN \__graphics_backend_include_jpeg:n \__graphics_backend_include_svg:n
\cs_new_eq:NN \__graphics_backend_include_jpg:n \__graphics_backend_include_svg:n
\cs_new:Npn \__graphics_backend_include_dequote:w #1 " #2 " #3 \s__graphics_stop
  {#2}
\cs_new_eq:NN \__graphics_backend_get_pagecount:n \__graphics_get_pagecount:n
%% File: l3backend-pdf.dtx
\cs_new_protected:Npn \__pdf_backend_destination:nn #1#2 { }
\cs_new_protected:Npn \__pdf_backend_destination:nnnn #1#2#3#4 { }
\cs_new_protected:Npn \__pdf_backend_catalog_gput:nn #1#2 { }
\cs_new_protected:Npn \__pdf_backend_info_gput:nn #1#2 { }
\cs_new_protected:Npn \__pdf_backend_object_new: { }
\cs_new:Npn \__pdf_backend_object_ref:n #1 { }
\cs_new:Npn \__pdf_backend_object_id:n #1 { }
\cs_new_protected:Npn \__pdf_backend_object_write:nnn #1#2#3 { }
\cs_new_protected:Npn \__pdf_backend_object_write:nne #1#2#3 { }
\cs_new_protected:Npn \__pdf_backend_object_now:nn #1#2 { }
\cs_new_protected:Npn \__pdf_backend_object_now:ne #1#2 { }
\cs_new:Npn \__pdf_backend_object_last: { }
\cs_new:Npn \__pdf_backend_pageobject_ref:n #1 { }
\cs_new_protected:Npn \__pdf_backend_compresslevel:n #1 { }
\cs_new_protected:Npn \__pdf_backend_compress_objects:n #1 { }
\cs_new_protected:Npn \__pdf_backend_version_major_gset:n #1 { }
\cs_new_protected:Npn \__pdf_backend_version_minor_gset:n #1 { }
\cs_new:Npn \__pdf_backend_version_major: { -1 }
\cs_new:Npn \__pdf_backend_version_minor: { -1 }
\cs_new_protected:Npn \__pdf_backend_bdc:nn #1#2 { }
\cs_new_protected:Npn \__pdf_backend_emc: { }
\cs_new_protected:Npn \__pdf_backend_pagesize_gset:nn #1#2 { }
%% File: l3backend-pdfannot.dtx
\cs_new_protected:Npn \__pdfannot_backend_generic:nnnn #1#2#3#4 { }
\cs_new:Npn \__pdfannot_backend_last: { }
\cs_new_protected:Npn \__pdfannot_backend_link_begin_goto:nnw #1#2 { }
\cs_new_protected:Npn \__pdfannot_backend_link_begin_user:nnw #1#2 { }
\cs_new_protected:Npn \__pdfannot_backend_link_begin:nnnw #1#2#3 { }
\cs_new_protected:Npn \__pdfannot_backend_link_end: { }
\cs_new:Npe \__pdfannot_backend_link_last: { }
\cs_new_protected:Npn \__pdfannot_backend_link_margin:n #1 { }
\cs_new_protected:Npn \__pdfannot_backend_link_on:  { }
\cs_new_protected:Npn \__pdfannot_backend_link_off: { }
\cs_new_eq:NN \__pdf_backend_annotation:nnnn \__pdfannot_backend_generic:nnnn
\cs_new_eq:NN \__pdf_backend_annotation_last: \__pdfannot_backend_last:
\clist_map_inline:nn
  {
    begin_goto:nnw ,
    begin_user:nnw ,
    begin:nnnw     ,
    end:           ,
    last:          ,
    margin:n
  }
  { \cs_new_eq:cc { __pdf_backend_link_ #1 } { __pdfannot_backend_link_ #1 } }
%% File: l3backend-opacity.dtx
\cs_new_protected:Npn \__opacity_backend_select:n #1
  { \__opacity_backend:nn {#1} { } }
\cs_new_protected:Npn \__opacity_backend_fill:n #1
  { \__opacity_backend:nn {#1} { fill- } }
\cs_new_protected:Npn \__opacity_backend_stroke:n #1
  { \__opacity_backend:nn {#1} { stroke- } }
\cs_new_protected:Npn \__opacity_backend:nn #1#2
  { \__kernel_backend_scope:e { #2 opacity = " #1 " } }
\cs_new_protected:Npn \__opacity_backend_reset: { }
\cs_new_eq:NN \__opacity_backend_reset_fill: \__opacity_backend_reset:
\cs_new_eq:NN \__opacity_backend_reset_stroke: \__opacity_backend_reset:
%% 
%%
%% End of file `l3backend-dvisvgm.def'.
