1<Type Name="Font" FullName="Pango.Font"> 2 <TypeSignature Language="C#" Maintainer="auto" Value="public class Font : GLib.Object" /> 3 <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Font extends GLib.Object" /> 4 <AssemblyInfo> 5 <AssemblyName>pango-sharp</AssemblyName> 6 <AssemblyPublicKey> 7 </AssemblyPublicKey> 8 <AssemblyVersion>2.12.0.0</AssemblyVersion> 9 </AssemblyInfo> 10 <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> 11 <Base> 12 <BaseTypeName>GLib.Object</BaseTypeName> 13 </Base> 14 <Interfaces> 15 </Interfaces> 16 <Docs> 17 <summary>Used to represent a font in a rendering-system-independent matter.</summary> 18 <remarks /> 19 </Docs> 20 <Members> 21 <Member MemberName=".ctor"> 22 <MemberSignature Language="C#" Value="protected Font ();" /> 23 <MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" /> 24 <MemberType>Constructor</MemberType> 25 <AssemblyInfo> 26 <AssemblyVersion>2.12.0.0</AssemblyVersion> 27 </AssemblyInfo> 28 <ReturnValue /> 29 <Parameters /> 30 <Docs> 31 <summary>Protected constructor.</summary> 32 <remarks>Default constuctor for children of this type.</remarks> 33 </Docs> 34 </Member> 35 <Member MemberName=".ctor"> 36 <MemberSignature Language="C#" Value="protected Font (GLib.GType gtype);" /> 37 <MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(valuetype GLib.GType gtype) cil managed" /> 38 <MemberType>Constructor</MemberType> 39 <AssemblyInfo> 40 <AssemblyVersion>2.12.0.0</AssemblyVersion> 41 </AssemblyInfo> 42 <Attributes> 43 <Attribute> 44 <AttributeName>System.Obsolete</AttributeName> 45 </Attribute> 46 </Attributes> 47 <ReturnValue /> 48 <Parameters> 49 <Parameter Name="gtype" Type="GLib.GType" /> 50 </Parameters> 51 <Docs> 52 <param name="gtype">a <see cref="T:GLib.GType" /></param> 53 <summary>Protected Constructor.</summary> 54 <remarks>Chain to this constructor if you have manually registered a native <see cref="T:GLib.GType" /> value for your subclass.</remarks> 55 </Docs> 56 </Member> 57 <Member MemberName=".ctor"> 58 <MemberSignature Language="C#" Value="public Font (IntPtr raw);" /> 59 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" /> 60 <MemberType>Constructor</MemberType> 61 <AssemblyInfo> 62 <AssemblyVersion>2.12.0.0</AssemblyVersion> 63 </AssemblyInfo> 64 <ReturnValue /> 65 <Parameters> 66 <Parameter Name="raw" Type="System.IntPtr" /> 67 </Parameters> 68 <Docs> 69 <param name="raw">Pointer to the C object.</param> 70 <summary>Internal constructor</summary> 71 <remarks> 72 <para>This is an internal constructor, and should not be used by user code.</para> 73 </remarks> 74 </Docs> 75 </Member> 76 <Member MemberName="Describe"> 77 <MemberSignature Language="C#" Value="public Pango.FontDescription Describe ();" /> 78 <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Pango.FontDescription Describe() cil managed" /> 79 <MemberType>Method</MemberType> 80 <AssemblyInfo> 81 <AssemblyVersion>2.12.0.0</AssemblyVersion> 82 </AssemblyInfo> 83 <ReturnValue> 84 <ReturnType>Pango.FontDescription</ReturnType> 85 </ReturnValue> 86 <Parameters /> 87 <Docs> 88 <summary>Returns a description of the font.</summary> 89 <returns>a new <see cref="T:Pango.FontDescription" /></returns> 90 <remarks /> 91 </Docs> 92 </Member> 93 <Member MemberName="DescribeWithAbsoluteSize"> 94 <MemberSignature Language="C#" Value="public Pango.FontDescription DescribeWithAbsoluteSize ();" /> 95 <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Pango.FontDescription DescribeWithAbsoluteSize() cil managed" /> 96 <MemberType>Method</MemberType> 97 <AssemblyInfo> 98 <AssemblyVersion>2.12.0.0</AssemblyVersion> 99 </AssemblyInfo> 100 <ReturnValue> 101 <ReturnType>Pango.FontDescription</ReturnType> 102 </ReturnValue> 103 <Parameters /> 104 <Docs> 105 <summary>To be added.</summary> 106 <returns>To be added.</returns> 107 <remarks>To be added.</remarks> 108 <since version="Gtk# 2.12" /> 109 </Docs> 110 </Member> 111 <Member MemberName="FindShaper"> 112 <MemberSignature Language="C#" Value="public Pango.EngineShape FindShaper (Pango.Language language, uint ch);" /> 113 <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Pango.EngineShape FindShaper(class Pango.Language language, unsigned int32 ch) cil managed" /> 114 <MemberType>Method</MemberType> 115 <AssemblyInfo> 116 <AssemblyVersion>2.12.0.0</AssemblyVersion> 117 </AssemblyInfo> 118 <ReturnValue> 119 <ReturnType>Pango.EngineShape</ReturnType> 120 </ReturnValue> 121 <Parameters> 122 <Parameter Name="language" Type="Pango.Language" /> 123 <Parameter Name="ch" Type="System.UInt32" /> 124 </Parameters> 125 <Docs> 126 <param name="language"> the language tag</param> 127 <param name="ch"> the ISO-10646 character code.</param> 128 <summary>Finds the best matching shaper for a font for a particular language tag and character point.</summary> 129 <returns> the best matching shaper.</returns> 130 <remarks /> 131 </Docs> 132 </Member> 133 <Member MemberName="FontMap"> 134 <MemberSignature Language="C#" Value="public Pango.FontMap FontMap { get; }" /> 135 <MemberSignature Language="ILAsm" Value=".property instance class Pango.FontMap FontMap" /> 136 <MemberType>Property</MemberType> 137 <AssemblyInfo> 138 <AssemblyVersion>2.12.0.0</AssemblyVersion> 139 </AssemblyInfo> 140 <ReturnValue> 141 <ReturnType>Pango.FontMap</ReturnType> 142 </ReturnValue> 143 <Docs> 144 <summary>The FontMap for which the Font was created.</summary> 145 <value>a <see cref="T:Pango.FontMap" />.</value> 146 <remarks /> 147 <since version="Gtk# 2.8" /> 148 </Docs> 149 </Member> 150 <Member MemberName="GetCoverage"> 151 <MemberSignature Language="C#" Value="public Pango.Coverage GetCoverage (Pango.Language language);" /> 152 <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Pango.Coverage GetCoverage(class Pango.Language language) cil managed" /> 153 <MemberType>Method</MemberType> 154 <AssemblyInfo> 155 <AssemblyVersion>2.12.0.0</AssemblyVersion> 156 </AssemblyInfo> 157 <ReturnValue> 158 <ReturnType>Pango.Coverage</ReturnType> 159 </ReturnValue> 160 <Parameters> 161 <Parameter Name="language" Type="Pango.Language" /> 162 </Parameters> 163 <Docs> 164 <param name="language"> the language tag</param> 165 <summary>Computes the coverage map for a given font and language tag.</summary> 166 <returns>a new <see cref="T:Pango.Coverage" /></returns> 167 <remarks /> 168 </Docs> 169 </Member> 170 <Member MemberName="GetGlyphExtents"> 171 <MemberSignature Language="C#" Value="public void GetGlyphExtents (uint glyph, Pango.Rectangle ink_rect, Pango.Rectangle logical_rect);" /> 172 <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void GetGlyphExtents(unsigned int32 glyph, valuetype Pango.Rectangle ink_rect, valuetype Pango.Rectangle logical_rect) cil managed" /> 173 <MemberType>Method</MemberType> 174 <AssemblyInfo> 175 <AssemblyVersion>2.12.0.0</AssemblyVersion> 176 </AssemblyInfo> 177 <ReturnValue> 178 <ReturnType>System.Void</ReturnType> 179 </ReturnValue> 180 <Parameters> 181 <Parameter Name="glyph" Type="System.UInt32" /> 182 <Parameter Name="ink_rect" Type="Pango.Rectangle" /> 183 <Parameter Name="logical_rect" Type="Pango.Rectangle" /> 184 </Parameters> 185 <Docs> 186 <param name="glyph"> the glyph index</param> 187 <param name="ink_rect">a <see cref="T:Pango.Rectangle" /> used to store the extents of the glyph as drawn or <see langword="null" /> to indicate that the result is not needed.</param> 188 <param name="logical_rect">a <see cref="T:Pango.Rectangle" /> used to store the logical extents of the glyph or <see langword="null" /> to indicate that the result is not needed.</param> 189 <summary>Gets the logical and ink extents of a glyph within a font.</summary> 190 <remarks>The coordinate system for each rectangle has its origin at the base line and horizontal origin of the character with increasing coordinates extending to the right and down. The units of the rectangles are in 1 / <see cref="F:Pango.Scale.PangoScale" /> of a device unit.</remarks> 191 </Docs> 192 </Member> 193 <Member MemberName="GetMetrics"> 194 <MemberSignature Language="C#" Value="public Pango.FontMetrics GetMetrics (Pango.Language language);" /> 195 <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Pango.FontMetrics GetMetrics(class Pango.Language language) cil managed" /> 196 <MemberType>Method</MemberType> 197 <AssemblyInfo> 198 <AssemblyVersion>2.12.0.0</AssemblyVersion> 199 </AssemblyInfo> 200 <ReturnValue> 201 <ReturnType>Pango.FontMetrics</ReturnType> 202 </ReturnValue> 203 <Parameters> 204 <Parameter Name="language" Type="Pango.Language" /> 205 </Parameters> 206 <Docs> 207 <param name="language"> language tag used to determine which script to get the metrics for, or <see langword="null" /> to indicate to get the metrics for the entire font.</param> 208 <summary>Gets overall metric information for a font.</summary> 209 <returns> a new <see cref="T:Pango.FontMetrics" /> object.</returns> 210 <remarks>Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language.</remarks> 211 </Docs> 212 </Member> 213 <Member MemberName="GType"> 214 <MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" /> 215 <MemberSignature Language="ILAsm" Value=".property valuetype GLib.GType GType" /> 216 <MemberType>Property</MemberType> 217 <AssemblyInfo> 218 <AssemblyVersion>2.12.0.0</AssemblyVersion> 219 </AssemblyInfo> 220 <ReturnValue> 221 <ReturnType>GLib.GType</ReturnType> 222 </ReturnValue> 223 <Parameters /> 224 <Docs> 225 <summary>GType Property.</summary> 226 <value>a <see cref="T:GLib.GType" /></value> 227 <remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Pango.Font" />.</remarks> 228 </Docs> 229 </Member> 230 </Members> 231</Type> 232