Sha256: a3465c7bd4508385e1d5a251c94a56170d3fc5d21f54485e3b43a9a499c4fa54

Contents?: true

Size: 211 Bytes

Versions: 135

Compression:

Stored size: 211 Bytes

Contents

module Cairo
  class Context
    module Triangle
      def triangle(x1, y1, x2, y2, x3, y3)
        move_to(x1, y1)
        line_to(x2, y2)
        line_to(x3, y3)
        close_path
      end
    end
  end
end

Version data entries

135 entries across 127 versions & 2 rubygems

Version Path
cairo-1.15.8-x64-mingw32 lib/cairo/context/triangle.rb
cairo-1.15.8 lib/cairo/context/triangle.rb
cairo-1.15.7-x64-mingw32 lib/cairo/context/triangle.rb
cairo-1.15.7-x86-mingw32 lib/cairo/context/triangle.rb
cairo-1.15.7 lib/cairo/context/triangle.rb
cairo-1.15.6-x86-mingw32 lib/cairo/context/triangle.rb
cairo-1.15.6-x64-mingw32 lib/cairo/context/triangle.rb
cairo-1.15.6 lib/cairo/context/triangle.rb
savant-echo-1.0.4 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context/triangle.rb
savant-echo-1.0.4 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context/triangle.rb
cairo-1.15.5-x64-mingw32 lib/cairo/context/triangle.rb
cairo-1.15.5-x86-mingw32 lib/cairo/context/triangle.rb
cairo-1.15.5 lib/cairo/context/triangle.rb
savant-echo-1.0.1 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context/triangle.rb
savant-echo-1.0.1 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context/triangle.rb
cairo-1.15.4-x86-mingw32 lib/cairo/context/triangle.rb
cairo-1.15.4-x64-mingw32 lib/cairo/context/triangle.rb
savant-echo-0.1.91 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context/triangle.rb
savant-echo-0.1.91 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/lib/cairo/context/triangle.rb
cairo-1.15.4 lib/cairo/context/triangle.rb