Project

General

Profile

Up

_gtkFontGravitySet

_gtkFontGravitySet sets the gravity of a Font object.

Prototype : fun [ObjGtkFont I] ObjGtkFont

  • ObjGtkFont : a Font object.

  • I : the gravity value :
    • FONT_GRAVITY_SOUTH : default
    • FONT_GRAVITY_EAST : 90 degrees clockwise
    • FONT_GRAVITY_NORTH : upside-down
    • FONT_GRAVITY_WEST : 90 degrees counter-clockwise
    • FONT_GRAVITY_AUTO : from the context matrix

  • Return ObjGtkFont : the same Font object or nil if an error occurs.

See also

Example