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.17.13 lib/cairo/context/triangle.rb
cairo-1.17.12 lib/cairo/context/triangle.rb
cairo-1.17.11 lib/cairo/context/triangle.rb
cairo-1.17.10 lib/cairo/context/triangle.rb
cairo-1.17.9 lib/cairo/context/triangle.rb
cairo-1.17.8 lib/cairo/context/triangle.rb
cairo-1.17.7 lib/cairo/context/triangle.rb
cairo-1.17.6 lib/cairo/context/triangle.rb
cairo-1.17.5 lib/cairo/context/triangle.rb
cairo-1.17.4 lib/cairo/context/triangle.rb
cairo-1.16.6 lib/cairo/context/triangle.rb
cairo-1.16.5 lib/cairo/context/triangle.rb
cairo-1.16.4 lib/cairo/context/triangle.rb
cairo-1.16.3 lib/cairo/context/triangle.rb
cairo-1.16.2 lib/cairo/context/triangle.rb
cairo-1.16.1-x86-mingw32 lib/cairo/context/triangle.rb
cairo-1.16.1-x64-mingw32 lib/cairo/context/triangle.rb
cairo-1.16.1 lib/cairo/context/triangle.rb
cairo-1.16.0-x86-mingw32 lib/cairo/context/triangle.rb
cairo-1.16.0-x64-mingw32 lib/cairo/context/triangle.rb