Class: Blend2D::BLImageDecoderCore

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

Overview

Struct

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.createObject



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

def self.create()
  instance = BLImageDecoderCore.new
  blImageDecoderInit(instance)
  instance
end

Instance Method Details

#_dObject



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

def _d = self[:_d]

#_d=(v) ⇒ Object



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

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

#assignMove(other) ⇒ Object



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

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

#assignWeak(other) ⇒ Object



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

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

#destroyObject



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

def destroy() = blImageDecoderDestroy(self)

#initObject



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

def init() = blImageDecoderInit(self)

#initMove(other) ⇒ Object



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

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

#initWeak(other) ⇒ Object



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

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

#readFrame(imageOut, data, size) ⇒ Object



45
# File 'lib/blend2d_imagedecoder.rb', line 45

def readFrame(imageOut, data, size) = blImageDecoderReadFrame(self, imageOut, data, size)

#readInfo(infoOut, data, size) ⇒ Object



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

def readInfo(infoOut, data, size) = blImageDecoderReadInfo(self, infoOut, data, size)

#resetObject



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

def reset() = blImageDecoderReset(self)

#restartObject



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

def restart() = blImageDecoderRestart(self)