GtkSharp/Source/OldStuff/doc/en/Pango/FontMetrics.xml

246 lines
11 KiB
XML
Raw Normal View History

<Type Name="FontMetrics" FullName="Pango.FontMetrics">
<TypeSignature Language="C#" Maintainer="auto" Value="public class FontMetrics : GLib.Opaque" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit FontMetrics extends GLib.Opaque" />
<AssemblyInfo>
<AssemblyName>pango-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>GLib.Opaque</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Holds the overall metric information for a font (possibly restricted to a script).</summary>
<remarks />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public FontMetrics (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">a <see cref="T:System.IntPtr" /></param>
<summary>Internal constructor</summary>
<remarks>This is an internal constructor, and should not be used by user code.</remarks>
</Docs>
</Member>
<Member MemberName="ApproximateCharWidth">
<MemberSignature Language="C#" Value="public int ApproximateCharWidth { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 ApproximateCharWidth" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>The approximate character width for a font metrics structure.</summary>
<value>the character width, in pango units.</value>
<remarks>This is merely a representative value useful, for example, for determining the initial size for a window. Actual characters in text will be wider and narrower than this.</remarks>
</Docs>
</Member>
<Member MemberName="ApproximateDigitWidth">
<MemberSignature Language="C#" Value="public int ApproximateDigitWidth { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 ApproximateDigitWidth" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>The approximate digit width for a font metrics structure.</summary>
<value> the digit width, in pango units.</value>
<remarks>This is merely a representative value useful, for example, for determining the initial size for a window. Actual digits in text can be wider and narrower than this.</remarks>
</Docs>
</Member>
<Member MemberName="Ascent">
<MemberSignature Language="C#" Value="public int Ascent { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Ascent" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>The ascent from a font metrics structure.</summary>
<value> the ascent, in pango units.</value>
<remarks>The ascent is the distance from the baseline to the logical top of a line of text. (The logical top may be above or below the top of the actual drawn ink. It is necessary to lay out the text to figure where the ink will be.)</remarks>
</Docs>
</Member>
<Member MemberName="Descent">
<MemberSignature Language="C#" Value="public int Descent { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Descent" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>The descent from a font metrics structure.</summary>
<value> the descent, in pango units.</value>
<remarks>The descent is the distance from the baseline to the logical bottom of a line of text. (The logical bottom may be above or below the bottom of the actual drawn ink. It is necessary to lay out the text to figure where the ink will be.)</remarks>
</Docs>
</Member>
<Member MemberName="Finalize">
<MemberSignature Language="C#" Value="~FontMetrics ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Finalize() cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName="GType">
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" />
<MemberSignature Language="ILAsm" Value=".property valuetype GLib.GType GType" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>GType Property.</summary>
<value>a <see cref="T:GLib.GType" /></value>
<remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Pango.FontMetrics" />.</remarks>
</Docs>
</Member>
<Member MemberName="Ref">
<MemberSignature Language="C#" Value="public Pango.FontMetrics Ref ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Pango.FontMetrics Ref() cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete("Pango.FontMetrics is now refcounted automatically")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Pango.FontMetrics</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Increases the reference count of a font metrics structure.</summary>
<returns>an object of type <see cref="T:Pango.FontMetrics" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Ref">
<MemberSignature Language="C#" Value="protected override void Ref (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Ref(native int raw) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName="StrikethroughPosition">
<MemberSignature Language="C#" Value="public int StrikethroughPosition { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 StrikethroughPosition" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<value>a <see cref="T:System.Int32" /></value>
<remarks>To be added</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="StrikethroughThickness">
<MemberSignature Language="C#" Value="public int StrikethroughThickness { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 StrikethroughThickness" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<value>a <see cref="T:System.Int32" /></value>
<remarks>To be added</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="UnderlinePosition">
<MemberSignature Language="C#" Value="public int UnderlinePosition { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 UnderlinePosition" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<value>a <see cref="T:System.Int32" /></value>
<remarks>To be added</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="UnderlineThickness">
<MemberSignature Language="C#" Value="public int UnderlineThickness { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 UnderlineThickness" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added</summary>
<value>a <see cref="T:System.Int32" /></value>
<remarks>To be added</remarks>
<since version="Gtk# 2.6" />
</Docs>
</Member>
<Member MemberName="Unref">
<MemberSignature Language="C#" Value="public void Unref ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Unref() cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete("Pango.FontMetrics is now refcounted automatically")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Decreases the reference count of a font metrics structure.</summary>
<remarks>If the result is zero, frees the structure and any associated memory.</remarks>
</Docs>
</Member>
<Member MemberName="Unref">
<MemberSignature Language="C#" Value="protected override void Unref (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Unref(native int raw) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
</Members>
</Type>