1#
2#  tkextlib/blt/spline.rb
3#                               by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
4#
5
6require 'tk'
7require 'tkextlib/blt.rb'
8
9module Tk::BLT
10  module Spline
11    extend TkCore
12
13    TkCommandNames = ['::blt::spline'.freeze].freeze
14
15    def self.natural(x, y, sx, sy)
16      tk_call('::blt::spline', 'natural', x, y, sx, sy)
17    end
18
19    def self.quadratic(x, y, sx, sy)
20      tk_call('::blt::spline', 'quadratic', x, y, sx, sy)
21    end
22  end
23end
24