enum Pango::GravityHint


Pango::GravityHint defines how horizontal scripts should behave in a vertical context.

That is, English excerpts in a vertical paragraph for example.

See also Pango::Gravity

Defined in:


Enum Members

Natural = 0_u32

scripts will take their natural gravity based on the base gravity and the script. This is the default.

Strong = 1_u32

always use the base gravity set, regardless of the script.

Line = 2_u32

for scripts not in their natural direction (eg. Latin in East gravity), choose per-script gravity such that every script respects the line progression. This means, Latin and Arabic will take opposite gravities and both flow top-to-bottom for example.

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.

[View source]

Instance Method Detail

def line? #

[View source]
def natural? #

[View source]
def strong? #

[View source]