Class: RGD::Font

Inherits:
Object
  • Object
show all
Defined in:
ext/rgd/rgd.c

Class Method Summary collapse

Class Method Details

.giantObject

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);
}

.largeObject

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_boldObject

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);
}

.smallObject

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);
}

.tinyObject

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);
}