Class Barby::CairoOutputter
In: lib/barby/outputter/cairo_outputter.rb
Parent: Outputter

Uses Cairo to render a barcode to a number of formats: PNG, PS, EPS, PDF and SVG

Registers methods render_to_cairo_context, to_png, to_ps, to_eps, to_pdf and to_svg

Methods

full_height   full_width   height   margin   render_to_cairo_context   to_eps   to_pdf   to_png   to_ps   to_svg   width   x   xdim   y  

Attributes

height  [W] 
margin  [W] 
x  [W] 
xdim  [W] 
y  [W] 

Public Instance methods

Render the barcode onto a Cairo context

Render the barcode to an EPS document

Render the barcode to a PDF document

Render the barcode to a PNG image

Render the barcode to a PS document

Render the barcode to an SVG document

[Validate]