Sha256: c2ebb4c6774c919ab50d284b35fe7d69f76ec70137d9107d19c9a8681a1f0f11

Contents?: true

Size: 291 Bytes

Versions: 2

Compression:

Stored size: 291 Bytes

Contents

module Prawn::SVG::Attributes::Transform
  def parse_transform_attribute_and_call
    return unless (transform = attributes['transform'])

    matrix = parse_transform_attribute(transform)
    add_call_and_enter 'transformation_matrix', *matrix unless matrix == [1, 0, 0, 1, 0, 0]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prawn-svg-0.35.1 lib/prawn/svg/attributes/transform.rb
prawn-svg-0.35.0 lib/prawn/svg/attributes/transform.rb