enum Pango::FontScale

Overview

An enumeration that affects font sizes for superscript and subscript positioning and for (emulated) Small Caps.

Defined in:

lib/gi-crystal/src/auto/pango-1.0/pango.cr

Enum Members

None = 0_u32

Leave the font size unchanged

Superscript = 1_u32

Change the font to a size suitable for superscripts

Subscript = 2_u32

Change the font to a size suitable for subscripts

SmallCaps = 3_u32

Change the font to a size suitable for Small Caps

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def none? #

def small_caps? #

def subscript? #

def superscript? #