Class: Ucode::Glyphs::EmbeddedFonts::Renderer::Result
- Inherits:
-
Struct
- Object
- Struct
- Ucode::Glyphs::EmbeddedFonts::Renderer::Result
- Defined in:
- lib/ucode/glyphs/embedded_fonts/renderer.rb
Overview
Result of rendering one codepoint.
Instance Attribute Summary collapse
-
#base_font ⇒ Object
Returns the value of attribute base_font.
-
#codepoint ⇒ Object
Returns the value of attribute codepoint.
-
#gid ⇒ Object
Returns the value of attribute gid.
-
#svg ⇒ Object
Returns the value of attribute svg.
Instance Method Summary collapse
Instance Attribute Details
#base_font ⇒ Object
Returns the value of attribute base_font
15 16 17 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 15 def base_font @base_font end |
#codepoint ⇒ Object
Returns the value of attribute codepoint
15 16 17 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 15 def codepoint @codepoint end |
#gid ⇒ Object
Returns the value of attribute gid
15 16 17 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 15 def gid @gid end |
#svg ⇒ Object
Returns the value of attribute svg
15 16 17 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 15 def svg @svg end |
Instance Method Details
#ok? ⇒ Boolean
16 17 18 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 16 def ok? !svg.nil? end |