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.12.5 lib/cairo/path.rb
cairo-1.12.4-x86-mingw32 lib/cairo/path.rb
cairo-1.12.4 lib/cairo/path.rb
cairo-1.12.3-x86-mingw32 lib/cairo/path.rb
cairo-1.12.3 lib/cairo/path.rb
cairo-1.12.2-x86-mingw32 lib/cairo/path.rb
cairo-1.12.2 lib/cairo/path.rb
cairo-1.12.1-x86-mingw32 lib/cairo/path.rb
cairo-1.12.1 lib/cairo/path.rb
cairo-1.12.0-x86-mingw32 lib/cairo/path.rb
cairo-1.12.0 lib/cairo/path.rb
cairo-1.10.2-x86-mingw32 lib/cairo/path.rb
cairo-1.10.2 lib/cairo/path.rb
cairo-1.10.1-x86-mingw32 lib/cairo/path.rb
cairo-1.10.1 lib/cairo/path.rb
cairo-1.10.0-x86-mingw32 lib/cairo/path.rb
cairo-1.10.0 lib/cairo/path.rb
cairo-1.8.5-x86-mingw32 lib/cairo/path.rb
cairo-1.8.5 lib/cairo/path.rb
cairo-1.8.4 lib/cairo/path.rb