2003-02-12 01:58:46 +00:00
<Type Name= "Context" FullName= "Pango.Context" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public class Context : GLib.Object, IWrapper, IDisposable" Maintainer= "auto" />
2003-02-12 01:58:46 +00:00
<AssemblyInfo >
<AssemblyName > pango-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 01:58:46 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 01:58:46 +00:00
<Attributes />
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<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>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-12 01:10:51 +00:00
<summary > Stores global information used to control the itemization process.</summary>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
<Base >
<BaseTypeName > GLib.Object</BaseTypeName>
</Base>
<Interfaces >
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
<Interface >
<InterfaceName > System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes />
<Members >
<Member MemberName= "LoadFont" >
<MemberSignature Language= "C#" Value= "public Pango.Font LoadFont (Pango.FontDescription desc);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Font</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "desc" Type= "Pango.FontDescription" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-12 01:10:51 +00:00
<summary > Loads the font in one of the fontmaps in the context that is the closest match for <paramref name= "desc" /> .</summary>
<param name= "desc" > an object of type <see cref= "T:Pango.FontDescription" /> describing the font to load</param>
<returns > the font loaded, or <see langword= "null" /> if no font matched.</returns>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "GetMetrics" >
<MemberSignature Language= "C#" Value= "public Pango.FontMetrics GetMetrics (Pango.FontDescription desc, Pango.Language language);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.FontMetrics</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "desc" Type= "Pango.FontDescription" />
<Parameter Name= "language" Type= "Pango.Language" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-12 01:10:51 +00:00
<summary > Get overall metric information for a font particular font description.</summary>
<param name= "desc" > an object of type <see cref= "T:Pango.FontDescription" /> </param>
<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>
<returns > a <see cref= "T:Pango.Metrics" /> object.</returns>
<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.
<para > The <see cref= "T:Pango.FontDescription" /> is interpreted in the same way as by pango_itemize(), and the family name may be a comma separated list of figures. If characters from multiple of these families would be used to render the string, then the returned fonts would be a composite of the metrics for the fonts loaded for the individual families.
</para> </remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "LoadFontset" >
<MemberSignature Language= "C#" Value= "public Pango.Fontset LoadFontset (Pango.FontDescription desc, Pango.Language language);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Fontset</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "desc" Type= "Pango.FontDescription" />
<Parameter Name= "language" Type= "Pango.Language" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-12 01:10:51 +00:00
<summary > Load a set of fonts in the context that can be used to render a font matching <paramref name= "desc" /> .</summary>
<param name= "desc" > an object of type <see cref= "T:Pango.FontDescription" /> describing the fonts to load</param>
<param name= "language" > an object of type <see cref= "T:Pango.Language" /> the fonts will be used for</param>
<returns > the fontset, or <see langword= "null" /> if no font matched.</returns>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Finalize" >
2003-10-13 22:55:58 +00:00
<MemberSignature Language= "C#" Value= "protected override void Finalize ();" />
2003-02-12 01:58:46 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Disposes the resources associated with the object.</summary>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Context (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<returns > An instance of Context, wrapping the C object.</returns>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "FontDescription" >
<MemberSignature Language= "C#" Value= "public Pango.FontDescription FontDescription { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.FontDescription</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-12 01:10:51 +00:00
<summary > The default font description for the context.</summary>
<param name= "value" > the new pango font description</param>
<returns > the context's default font description.</returns>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Language" >
<MemberSignature Language= "C#" Value= "public Pango.Language Language { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.Language</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-12 01:10:51 +00:00
<summary > The global language tag for the context.</summary>
<param name= "value" > the new language tag.</param>
<returns > the global language tag.</returns>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "BaseDir" >
<MemberSignature Language= "C#" Value= "public Pango.Direction BaseDir { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.Direction</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-07-12 01:10:51 +00:00
<summary > The base direction for the context.</summary>
<param name= "value" > the new base direction</param>
<returns > the base direction</returns>
<remarks > The base direction is used in applying the Unicode bidirectional algorithm; if the direction is <see cref= "F:Pango.Direction.Ltr" /> or <see cref= "F:Pango.Direction.Rtl" /> , then the value will be used as the paragraph direction in the Unicode bidirectional algorithm.</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:GLib.GType" /> </returns>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Pango.Context" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected Context (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
2004-06-21 20:33:11 +00:00
<summary > Protected Constructor.</summary>
2003-12-24 01:35:30 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
<returns > a <see cref= "T:Pango.Context" /> </returns>
2004-06-21 20:33:11 +00:00
<remarks > Chain to this constructor if you have manually registered a native <see cref= "T:GLib.GType" /> value for your subclass.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "ListFamilies" >
<MemberSignature Language= "C#" Value= "public int ListFamilies (Pango.FontFamily families);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "families" Type= "Pango.FontFamily" />
</Parameters>
<Docs >
2004-07-12 01:10:51 +00:00
<summary > List all families for a context.</summary>
2004-02-26 18:46:28 +00:00
<param name= "families" > a <see cref= "T:Pango.FontFamily" /> </param>
2004-07-12 01:10:51 +00:00
<returns > the number of families</returns>
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2004-06-01 18:05:26 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected Context ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-07-12 01:10:51 +00:00
<summary > Internal constructor</summary>
2004-06-01 18:05:26 +00:00
<returns > a <see cref= "T:Pango.Context" /> </returns>
2004-07-12 01:10:51 +00:00
<remarks > This is an internal constructor, and should not be used by user code.</remarks>
2004-06-01 18:05:26 +00:00
</Docs>
</Member>
2004-08-17 20:43:49 +00:00
<Member MemberName= "Families" >
<MemberSignature Language= "C#" Value= "public Pango.FontFamily [] Families { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.FontFamily[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Returns an array of Font Families.</summary>
<returns > a <see cref= "T:Pango.FontFamily[]" /> </returns>
<remarks > </remarks>
</Docs>
</Member>
2003-02-12 01:58:46 +00:00
</Members>
2004-08-17 20:43:49 +00:00
</Type>