Sha256: deaa3fdcdf7a45f9699fa77f3c2c2b4ba50578e7f9d4d01bf7a142fc1a4cb1ae

Contents?: true

Size: 735 Bytes

Versions: 12

Compression:

Stored size: 735 Bytes

Contents

#!/usr/bin/env ruby
# coding: utf-8

$:.unshift(File.dirname(__FILE__) + "/../lib")

require 'pdf/wrapper'

pdf = PDF::Wrapper.new("wrapper-cell.pdf", :paper => :A4)
pdf.cell("Given an index within a layout, determines the positions that of the strong and weak cursors if the insertion point is at that index. The position of each cursor is stored as a zero-width rectangle. The strong cursor location is the location where characters of the directionality equal to the base direction of the layout are inserted. The weak cursor location is the location where characters of the directionality opposite to the base direction of the layout are inserted.", 100, 100, 100, 200, {:border => "", :color => :black, :radius => 10})
pdf.finish

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pdf-wrapper-0.4.5 examples/cell.rb
pdf-wrapper-0.4.4 examples/cell.rb
pdf-wrapper-0.4.1 examples/cell.rb
pdf-wrapper-0.4.0 examples/cell.rb
pdf-wrapper-0.3.5 examples/cell.rb
pdf-wrapper-0.3.4 examples/cell.rb
pdf-wrapper-0.3.3 examples/cell.rb
pdf-wrapper-0.3.2 examples/cell.rb
pdf-wrapper-0.3.1 examples/cell.rb
pdf-wrapper-0.3.0 examples/cell.rb
pdf-wrapper-0.2.0 examples/cell.rb
pdf-wrapper-0.2.1 examples/cell.rb