Class: Pdfrb::Content::Operator::ApplyExtGState

Inherits:
Base
  • Object
show all
Defined in:
lib/pdfrb/content/operators/graphics_state_params.rb

Overview

gs applies a named ExtGState dictionary. Lookup happens via the document; fields in the named dict replace matching state slots. We delegate to a apply_extgstate hook on the Processor.

Class Method Summary collapse

Methods inherited from Base

register, serialize

Class Method Details

.invoke(processor, name) ⇒ Object



71
72
73
# File 'lib/pdfrb/content/operators/graphics_state_params.rb', line 71

def self.invoke(processor, name)
  processor.apply_extgstate(name)
end

.nameObject



70
# File 'lib/pdfrb/content/operators/graphics_state_params.rb', line 70

def self.name; "gs"; end