Table of Contents

Class Context

Namespace
Pango
Assembly
Pango-1.0.dll
public class Context : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
Context
Implements
Inherited Members

Constructors

Context(bool, params ConstructArgument[])

protected Context(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

Context(IntPtr, bool)

protected Context(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

Changed()

[Version("1.32.4")]
public void Changed()

GetBaseDir()

public Direction GetBaseDir()

Returns

Direction

GetBaseGravity()

[Version("1.16")]
public Gravity GetBaseGravity()

Returns

Gravity

GetFontDescription()

public FontDescription? GetFontDescription()

Returns

FontDescription

GetFontMap()

[Version("1.6")]
public FontMap? GetFontMap()

Returns

FontMap

GetGType()

public static Type GetGType()

Returns

Type

GetGravity()

[Version("1.16")]
public Gravity GetGravity()

Returns

Gravity

GetGravityHint()

[Version("1.16")]
public GravityHint GetGravityHint()

Returns

GravityHint

GetLanguage()

public Language GetLanguage()

Returns

Language

GetMatrix()

[Version("1.6")]
public Matrix? GetMatrix()

Returns

Matrix

GetMetrics(FontDescription?, Language?)

public FontMetrics GetMetrics(FontDescription? desc, Language? language)

Parameters

desc FontDescription
language Language

Returns

FontMetrics

GetRoundGlyphPositions()

[Version("1.44")]
public bool GetRoundGlyphPositions()

Returns

bool

GetSerial()

[Version("1.32.4")]
public uint GetSerial()

Returns

uint

LoadFont(FontDescription)

public Font? LoadFont(FontDescription desc)

Parameters

desc FontDescription

Returns

Font

LoadFontset(FontDescription, Language)

public Fontset? LoadFontset(FontDescription desc, Language language)

Parameters

desc FontDescription
language Language

Returns

Fontset

New()

public static Context New()

Returns

Context

SetBaseDir(Direction)

public void SetBaseDir(Direction direction)

Parameters

direction Direction

SetBaseGravity(Gravity)

[Version("1.16")]
public void SetBaseGravity(Gravity gravity)

Parameters

gravity Gravity

SetFontDescription(FontDescription?)

public void SetFontDescription(FontDescription? desc)

Parameters

desc FontDescription

SetFontMap(FontMap?)

public void SetFontMap(FontMap? fontMap)

Parameters

fontMap FontMap

SetGravityHint(GravityHint)

[Version("1.16")]
public void SetGravityHint(GravityHint hint)

Parameters

hint GravityHint

SetLanguage(Language?)

public void SetLanguage(Language? language)

Parameters

language Language

SetMatrix(Matrix?)

[Version("1.6")]
public void SetMatrix(Matrix? matrix)

Parameters

matrix Matrix

SetRoundGlyphPositions(bool)

[Version("1.44")]
public void SetRoundGlyphPositions(bool roundPositions)

Parameters

roundPositions bool