Class: RGD::Font
- Inherits:
-
Object
- Object
- RGD::Font
- Defined in:
- ext/rgd/rgd.c
Class Method Summary collapse
-
.giant ⇒ Object
Returns the “giant” gd font.
-
.large ⇒ Object
Returns the “large” gd font.
-
.medium_bold ⇒ Object
Returns the “medium bold” gd font.
-
.small ⇒ Object
Returns the “small” gd font.
-
.tiny ⇒ Object
Returns the “tiny” gd font.
Class Method Details
.giant ⇒ Object
Returns the “giant” gd font.
See Image.string for more information, or Image.stringft for a freetype-based alternative that supports truetype fonts.
310 311 312 |
# File 'ext/rgd/rgd.c', line 310 static VALUE font_s_giant(VALUE klass) { return gd_font_get(klass, gdFontGetGiant); } |
.large ⇒ Object
Returns the “large” gd font.
See Image.string for more information, or Image.stringft for a freetype-based alternative that supports truetype fonts.
284 285 286 |
# File 'ext/rgd/rgd.c', line 284 static VALUE font_s_large(VALUE klass) { return gd_font_get(klass, gdFontGetLarge); } |
.medium_bold ⇒ Object
Returns the “medium bold” gd font.
See Image.string for more information, or Image.stringft for a freetype-based alternative that supports truetype fonts.
297 298 299 |
# File 'ext/rgd/rgd.c', line 297 static VALUE font_s_medium_bold(VALUE klass) { return gd_font_get(klass, gdFontGetMediumBold); } |
.small ⇒ Object
Returns the “small” gd font.
See Image.string for more information, or Image.stringft for a freetype-based alternative that supports truetype fonts.
271 272 273 |
# File 'ext/rgd/rgd.c', line 271 static VALUE font_s_small(VALUE klass) { return gd_font_get(klass, gdFontGetSmall); } |
.tiny ⇒ Object
Returns the “tiny” gd font.
See Image.string for more information, or Image.stringft for a freetype-based alternative that supports truetype fonts.
323 324 325 |
# File 'ext/rgd/rgd.c', line 323 static VALUE font_s_tiny(VALUE klass) { return gd_font_get(klass, gdFontGetTiny); } |