Table of Contents

Class GlyphString

Namespace
Pango
Assembly
Pango-1.0.dll
public sealed class GlyphString : BoxedRecord, IEquatable<GlyphString>
Inheritance
GlyphString
Implements
Inherited Members

Constructors

GlyphString()

public GlyphString()

GlyphString(GlyphStringOwnedHandle)

public GlyphString(GlyphStringOwnedHandle handle)

Parameters

handle GlyphStringOwnedHandle

Properties

Handle

public GlyphStringOwnedHandle Handle { get; }

Property Value

GlyphStringOwnedHandle

LogClusters

public IntPtr LogClusters { get; set; }

Property Value

IntPtr

NumGlyphs

public int NumGlyphs { get; set; }

Property Value

int

Methods

Copy()

public GlyphString? Copy()

Returns

GlyphString

Equals(GlyphString?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(GlyphString? other)

Parameters

other GlyphString

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Extents(Font, out Rectangle, out Rectangle)

public void Extents(Font font, out Rectangle inkRect, out Rectangle logicalRect)

Parameters

font Font
inkRect Rectangle
logicalRect Rectangle

ExtentsRange(int, int, Font, out Rectangle, out Rectangle)

public void ExtentsRange(int start, int end, Font font, out Rectangle inkRect, out Rectangle logicalRect)

Parameters

start int
end int
font Font
inkRect Rectangle
logicalRect Rectangle

Free()

public void Free()

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetWidth()

[Version("1.14")]
public int GetWidth()

Returns

int

IndexToX(string, int, Analysis, int, bool, out int)

public void IndexToX(string text, int length, Analysis analysis, int index, bool trailing, out int xPos)

Parameters

text string
length int
analysis Analysis
index int
trailing bool
xPos int

IndexToXFull(string, int, Analysis, LogAttr?, int, bool, out int)

[Version("1.50")]
public void IndexToXFull(string text, int length, Analysis analysis, LogAttr? attrs, int index, bool trailing, out int xPos)

Parameters

text string
length int
analysis Analysis
attrs LogAttr
index int
trailing bool
xPos int

New()

public static GlyphString New()

Returns

GlyphString

SetSize(int)

public void SetSize(int newLen)

Parameters

newLen int

XToIndex(string, int, Analysis, int, out int, out int)

public void XToIndex(string text, int length, Analysis analysis, int xPos, out int index, out int trailing)

Parameters

text string
length int
analysis Analysis
xPos int
index int
trailing int