Class: Blend2D::BLImageEncoderCore

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/blend2d_imageencoder.rb

Overview

Struct

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.createObject



32
33
34
35
36
# File 'lib/blend2d_imageencoder.rb', line 32

def self.create()
  instance = BLImageEncoderCore.new
  blImageEncoderInit(instance)
  instance
end

Instance Method Details

#_dObject



29
# File 'lib/blend2d_imageencoder.rb', line 29

def _d = self[:_d]

#_d=(v) ⇒ Object



30
# File 'lib/blend2d_imageencoder.rb', line 30

def _d=(v) self[:_d] = v end

#assignMove(other) ⇒ Object



41
# File 'lib/blend2d_imageencoder.rb', line 41

def assignMove(other) = blImageEncoderAssignMove(self, other)

#assignWeak(other) ⇒ Object



42
# File 'lib/blend2d_imageencoder.rb', line 42

def assignWeak(other) = blImageEncoderAssignWeak(self, other)

#destroyObject



39
# File 'lib/blend2d_imageencoder.rb', line 39

def destroy() = blImageEncoderDestroy(self)

#initObject



31
# File 'lib/blend2d_imageencoder.rb', line 31

def init() = blImageEncoderInit(self)

#initMove(other) ⇒ Object



37
# File 'lib/blend2d_imageencoder.rb', line 37

def initMove(other) = blImageEncoderInitMove(self, other)

#initWeak(other) ⇒ Object



38
# File 'lib/blend2d_imageencoder.rb', line 38

def initWeak(other) = blImageEncoderInitWeak(self, other)

#resetObject



40
# File 'lib/blend2d_imageencoder.rb', line 40

def reset() = blImageEncoderReset(self)

#restartObject



43
# File 'lib/blend2d_imageencoder.rb', line 43

def restart() = blImageEncoderRestart(self)

#writeFrame(dst, image) ⇒ Object



44
# File 'lib/blend2d_imageencoder.rb', line 44

def writeFrame(dst, image) = blImageEncoderWriteFrame(self, dst, image)