class CompositorNode::Engine
Public Class Methods
blend(source_a, source_b, x_offset, y_offset, method)
click to toggle source
# File lib/compositor_node/engine.rb, line 32 def self.blend(source_a, source_b, x_offset, y_offset, method) raise Blender::NoBlendMethodError if method.nil? execute.blend(source_a, source_b, x_offset, y_offset, execute.const_get(method)) end
crop(source, x_offset, y_offset, width, height)
click to toggle source
# File lib/compositor_node/engine.rb, line 37 def self.crop(source, x_offset, y_offset, width, height) execute.crop(source, x_offset, y_offset, width, height) end
execute()
click to toggle source
# File lib/compositor_node/engine.rb, line 7 def self.execute raise Engine::NoEngineError if Config.engine.nil? Config.engine end
height(source)
click to toggle source
# File lib/compositor_node/engine.rb, line 28 def self.height(source) execute.height(source) end
read(source)
click to toggle source
# File lib/compositor_node/engine.rb, line 12 def self.read(source) execute.read(source) end
resize(source, width, height)
click to toggle source
# File lib/compositor_node/engine.rb, line 20 def self.resize(source, width, height) execute.resize(source, width, height) end
width(source)
click to toggle source
# File lib/compositor_node/engine.rb, line 24 def self.width(source) execute.width(source) end
write(source, path)
click to toggle source
# File lib/compositor_node/engine.rb, line 16 def self.write(source, path) execute.write(source, path) end