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
17 18 19 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 17 def base_font @base_font end |
#codepoint ⇒ Object
Returns the value of attribute codepoint
17 18 19 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 17 def codepoint @codepoint end |
#gid ⇒ Object
Returns the value of attribute gid
17 18 19 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 17 def gid @gid end |
#svg ⇒ Object
Returns the value of attribute svg
17 18 19 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 17 def svg @svg end |
Instance Method Details
#ok? ⇒ Boolean
18 19 20 |
# File 'lib/ucode/glyphs/embedded_fonts/renderer.rb', line 18 def ok? !svg.nil? end |