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.8.4-x86-mingw32 lib/cairo/path.rb
cairo-1.8.3-x86-mingw32 lib/cairo/path.rb
cairo-1.8.3 lib/cairo/path.rb
cairo-1.8.1-x86-mswin32 src/lib/cairo/path.rb
cairo-1.8.1 src/lib/cairo/path.rb
cairo-1.6.0 src/lib/cairo/path.rb
cairo-1.5.0 src/lib/cairo/path.rb
cairo-1.5.1 src/lib/cairo/path.rb
cairo-1.6.1-x86-mswin32 src/lib/cairo/path.rb
cairo-1.6.1 src/lib/cairo/path.rb
cairo-1.6.3 src/lib/cairo/path.rb
cairo-1.6.2 src/lib/cairo/path.rb
cairo-1.7.0 src/lib/cairo/path.rb
cairo-1.7.0-x86-mswin32 src/lib/cairo/path.rb
cairo-1.8.0-x86-mswin32 src/lib/cairo/path.rb
cairo-1.8.0 src/lib/cairo/path.rb