lib/prawn-svg.rb in prawn-svg-0.29.1 vs lib/prawn-svg.rb in prawn-svg-0.30.0
- old
+ new
@@ -8,10 +8,11 @@
require 'prawn/svg/font_registry'
require 'prawn/svg/calculators/arc_to_bezier_curve'
require 'prawn/svg/calculators/aspect_ratio'
require 'prawn/svg/calculators/document_sizing'
require 'prawn/svg/calculators/pixels'
+require 'prawn/svg/transform_parser'
require 'prawn/svg/url_loader'
require 'prawn/svg/loaders/data'
require 'prawn/svg/loaders/file'
require 'prawn/svg/loaders/web'
require 'prawn/svg/color'
@@ -26,9 +27,12 @@
require 'prawn/svg/css/stylesheets'
require 'prawn/svg/ttf'
require 'prawn/svg/font'
require 'prawn/svg/document'
require 'prawn/svg/state'
+
+require 'prawn/svg/extensions/additional_gradient_transforms'
+Prawn::Document.prepend Prawn::SVG::Extensions::AdditionalGradientTransforms
module Prawn
Svg = SVG # backwards compatibility
end