Sha256: 18b43a03fefc7f32aaaae69d0a55cd0fc3108abbd24b463ca03ec5ea3145b63b

Contents?: true

Size: 278 Bytes

Versions: 10

Compression:

Stored size: 278 Bytes

Contents

# encoding: utf-8

$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
require "prawn"

pdf = Prawn::Document.new
pdf.move_to [100,100]
pdf.stroke_curve_to [50,50],:bounds => [[20,90], [90,90]]  
pdf.fill_circle_at [200,200], :radius => 10
pdf.render_file "curves.pdf"

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
fullcirclegroup-fullcirclegroup-prawn-0.2.99.2 examples/curves.rb
fullcirclegroup-prawn-0.2.99.3 examples/curves.rb
satoko-prawn-0.2.99.6 examples/curves.rb
prawn-0.1.0 examples/curves.rb
prawn-0.1.2 examples/curves.rb
prawn-0.1.1 examples/curves.rb
prawn-0.2.1 examples/curves.rb
prawn-0.2.2 examples/curves.rb
prawn-0.2.0 examples/curves.rb
prawn-0.2.3 examples/curves.rb