Class GlyphString
- Namespace
- Pango
- Assembly
- Pango-1.0.dll
public sealed class GlyphString : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<GlyphString>, IDisposable
- 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
LogClusters
public nint LogClusters { get; set; }
Property Value
NumGlyphs
public int NumGlyphs { get; set; }
Property Value
Methods
Copy()
public GlyphString? Copy()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(GlyphString?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(GlyphString? other)
Parameters
other
GlyphStringAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Extents(Font, out Rectangle, out Rectangle)
public void Extents(Font font, out Rectangle inkRect, out Rectangle logicalRect)
Parameters
ExtentsRange(int, int, Font, out Rectangle, out Rectangle)
public void ExtentsRange(int start, int end, Font font, out Rectangle inkRect, out Rectangle logicalRect)
Parameters
Free()
public void Free()
GetGType()
public static Type GetGType()
Returns
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
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
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
New()
public static GlyphString New()
Returns
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)