%%
%% This is file `hobby-l3draw.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hobby_code.dtx  (with options: `l3hobby')
%% ----------------------------------------------------------------
%% hobby --- a TikZ/PGF library for drawing smooth(ish) curves using
%%           Hobby's algorithm (implemented in LaTeX3)
%% E-mail: loopspace@mathforge.org
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
%% 
\RequirePackage{expl3}
\input{hobby.code.tex}
\ProvidesExplPackage {hobby-l3draw} {2018/02/20} {1.0} {Interface for l3draw and hobby}
\RequirePackage{l3draw}
\cs_new_protected:Npn \hobby_draw_moveto:nnn #1#2#3
{
  \draw_path_canvas_moveto:n {#3}
}
\cs_set_eq:NN \hobby_draw_curveto:nnn \draw_path_canvas_curveto:nnn
\cs_new_protected:Npn \hobby_draw_close:n #1
{
  \draw_path_close:
}
\cs_new_protected:Npn \hobby_draw_addpoint:n #1
{
  \__draw_point_process:nn
  { \__hobby_draw_addpoint:nn }
  { \draw_point_transform:n {#1} }
}
\cs_new_protected:Npn \__hobby_draw_addpoint:nn #1#2
{
  \hobby_add_point:nnnnnn {#1} {#2} {1} {1} {0} {10}
}
\cs_new_protected:Npn \hobby_draw_init:
{
  \hobby_set_cmds:NNN \hobby_draw_moveto:nnn \hobby_draw_curveto:nnn \hobby_draw_close:n
  \hobby_clear_path:
}
%% 
%% Copyright (C) 2012-2021 by Andrew Stacey <loopspace@mathforge.org>
%% 
%% This file may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3 of this
%% license or (at your option) any later version.
%% The latest version of this license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%% 
%% This work is "maintained" (as per LPPL maintenance status) by
%% Andrew Stacey.
%% 
%% This work consists of the files  hobby_code.dtx
%%                                  hobby.tex
%% and the derived files            hobby.code.tex
%%                                  pgflibraryhobby.code.tex
%%                                  tikzlibraryhobby.code.tex
%%                                  pml3array.sty
%%                                  hobby-l3draw.sty
%%                                  hobby.ins
%%                                  hobby.pdf
%%                                  hobby_code.pdf
%%                                  README.txt
%% 
%%
%% End of file `hobby-l3draw.sty'.
