Class: Harfbuzz::GlyphInfo

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

Instance Method Summary collapse

Instance Method Details

#clusterObject



29
30
31
# File 'lib/harfbuzz/buffer.rb', line 29

def cluster
  self[:cluster]
end

#codepointObject



21
22
23
# File 'lib/harfbuzz/buffer.rb', line 21

def codepoint
  self[:codepoint]
end

#inspectObject



15
16
17
18
19
# File 'lib/harfbuzz/buffer.rb', line 15

def inspect
  "<#{self} codepoint = 0x%04x, mask = 0b%032b, cluster = %d>" % [
    codepoint, mask, cluster,
  ]
end

#maskObject



25
26
27
# File 'lib/harfbuzz/buffer.rb', line 25

def mask
  self[:mask]
end