Sha256: a0d0c980b7667f36ca42d290cc8a39785824bc460147e3a92a6aa804be17ae42

Contents?: true

Size: 358 Bytes

Versions: 136

Compression:

Stored size: 358 Bytes

Contents

require 'forwardable'

module Cairo
  class Path
    extend Forwardable
    methods = %w(new_path new_sub_path move_to line_to curve_to
                 arc arc_negative rel_move_to rel_line_to rel_curve_to
                 rectangle rounded_rectangle circle)
    def_delegators :@context, *methods

    def close
      @context.close_path
    end
  end
end

Version data entries

136 entries across 128 versions & 2 rubygems

Version Path
cairo-1.17.13 lib/cairo/path.rb
cairo-1.17.12 lib/cairo/path.rb
cairo-1.17.11 lib/cairo/path.rb
cairo-1.17.10 lib/cairo/path.rb
cairo-1.17.9 lib/cairo/path.rb
cairo-1.17.8 lib/cairo/path.rb
cairo-1.17.7 lib/cairo/path.rb
cairo-1.17.6 lib/cairo/path.rb
cairo-1.17.5 lib/cairo/path.rb
cairo-1.17.4 lib/cairo/path.rb
cairo-1.16.6 lib/cairo/path.rb
cairo-1.16.5 lib/cairo/path.rb
cairo-1.16.4 lib/cairo/path.rb
cairo-1.16.3 lib/cairo/path.rb
cairo-1.16.2 lib/cairo/path.rb
cairo-1.16.1-x86-mingw32 lib/cairo/path.rb
cairo-1.16.1-x64-mingw32 lib/cairo/path.rb
cairo-1.16.1 lib/cairo/path.rb
cairo-1.16.0-x86-mingw32 lib/cairo/path.rb
cairo-1.16.0-x64-mingw32 lib/cairo/path.rb