Sha256: 53593caa7830c8ababa15f202252b5e28953ef349ac4fdef2a178ecdbd8b66b1

Contents?: true

Size: 596 Bytes

Versions: 2

Compression:

Stored size: 596 Bytes

Contents

# encoding: utf-8
#
# To produce this manual we use the <code>stroke_axis</code> helper method
# within examples but it is not from the Prawn API. It is defined on this file:
#
# https://github.com/prawnpdf/prawn/blob/master/manual/example_helper.rb
#
# <code>stroke_axis</code> prints the x and y axis for the current bounding box
# with markers in 100 increments
#
require File.expand_path(File.join(File.dirname(__FILE__),
                                   %w[.. example_helper]))

filename = File.basename(__FILE__).gsub('.rb', '.pdf')
Prawn::Example.generate(filename) do
  stroke_axis
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
prawn-1.0.0.rc2 manual/graphics/helper.rb
nurettin-prawn-1.0.0.rc1 manual/graphics/helper.rb