lib/rmagick_internal.rb
# Thse hashes are used to map Magick constant
# values to the strings used in the primitives.
Thse hashes are used to map Magick constant
values to the strings used in the primitives.
Thse hashes are used to map Magick constant values to the strings used in the primitives .
def image(composite, x, y, width, height, image_file_path)
      Kernel.raise ArgumentError, 'Unknown composite' unless composite.is_a?(CompositeOperator)
      composite_name = composite.to_s.sub!('CompositeOp', '')
      primitive 'image ' + sprintf('%s %g,%g %g,%g %s', composite_name, x, y, width, height, enquote(image_file_path))
    end
def image ( composite , x , y , width , height , image_file_path ) Kernel . raise ArgumentError , 'Unknown composite' unless composite . is_a? ( CompositeOperator ) composite_name = composite . to_s . sub! ( 'CompositeOp' , '' ) primitive 'image ' + sprintf ( '%s %g,%g %g,%g %s' , composite_name , x , y , width , height , enquote ( image_file_path ) ) end
Thse hashes are used to map Magick constant
values to the strings used in the primitives.
Thse hashes are used to map Magick constant values to the strings used in the primitives .
composite
<not_specific>
x
<not_specific>
y
<not_specific>
width
<not_specific>
height
<not_specific>
image_file_path
<not_specific>