class HexaPDF::Content::Operator::SetDeviceGrayNonStrokingColor

See: PDF2.0 s8.6.8
Implementation of the ā€˜g’ operator.

def initialize

Creates the operator.
def initialize
  super('g')
end

def invoke(processor, gray) #:nodoc:

:nodoc:
def invoke(processor, gray) #:nodoc:
  processor.graphics_state.fill_color =
    processor.resources.color_space(:DeviceGray).prenormalized_color(gray)
end