Sha256: 5c35e932712a0e2f36e4a2cff34d870ee783a31ecef9ac9dfb504d1986d3270d

Contents?: true

Size: 378 Bytes

Versions: 23

Compression:

Stored size: 378 Bytes

Contents

module PDF
  class Inspector
    class ExtGState < Inspector
      attr_accessor :extgstates

      def initialize
        @extgstates = []
      end

      def resource_extgstate(*params)
        @extgstates << {
                        :opacity => params[1][:ca],
                        :stroke_opacity => params[1][:CA]
                        }
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 10 rubygems

Version Path
pdf-inspector-1.0.1 lib/pdf/inspector/extgstate.rb
pdf-inspector-1.0.0 lib/pdf/inspector/extgstate.rb
yellowlab-pdf-inspector-1.0.0 lib/pdf/inspector/extgstate.rb
davebenvenuti-prawn-0.11.1.pre vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
piglop-prawn-0.10.2.3 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
piglop-prawn-0.10.2.2 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
piglop-prawn-0.10.2.1 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
prawn-0.11.1.pre vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
goodwill-prawn-edge-0.10.0 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
alphasights-prawn-0.10.4 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
alphasights-prawn-0.10.3 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
alphasights-prawn-0.10.2 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
alphasights-prawn-0.10.1 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
prawn-core-0.8.4 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
prawn-graph-0.0.2 vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
prawn-graph-0.0.1 vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
prawn-core-0.7.2 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
prawn-core-0.7.1 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
prawn-layout-0.3.2 vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
prawn-core-0.6.3 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb