2003-02-12 01:58:46 +00:00
<Type Name= "Context" FullName= "Pango.Context" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class Context : GLib.Object" />
2003-02-12 01:58:46 +00:00
<AssemblyInfo >
<AssemblyName > pango-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2007-12-06 18:37:54 +00:00
<AssemblyVersion > 2.12.0.0</AssemblyVersion>
2003-02-12 01:58:46 +00:00
</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>
2007-01-15 21:05:55 +00:00
<Interfaces >
</Interfaces>
2003-02-12 01:58:46 +00:00
<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= ".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>
<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>
2005-05-23 20:41:51 +00:00
<value > the context's default font description.</value>
2004-07-12 01:10:51 +00:00
<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>
2005-05-23 20:41:51 +00:00
<value > the global language tag.</value>
2004-07-12 01:10:51 +00:00
<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>
2005-05-23 20:41:51 +00:00
<value > the base direction</value>
2004-07-12 01:10:51 +00:00
<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>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
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>
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>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-15 21:05:55 +00:00
<AttributeName > System.Obsolete</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</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>
<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" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Pango.FontFamily[] Families { get; };" />
2004-08-17 20:43:49 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.FontFamily[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Returns an array of Font Families.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Pango.FontFamily[]" /> </value>
2004-08-18 16:08:02 +00:00
<remarks >
</remarks>
2004-08-17 20:43:49 +00:00
</Docs>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "FontMap" >
<MemberSignature Language= "C#" Value= "public Pango.FontMap FontMap { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.FontMap</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Pango.FontMap" /> </value>
2005-04-21 17:10:54 +00:00
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "Matrix" >
<MemberSignature Language= "C#" Value= "public Pango.Matrix Matrix { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.Matrix</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Pango.Matrix" /> </value>
2005-04-21 17:10:54 +00:00
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
2008-02-29 17:20:28 +00:00
<Member MemberName= "BaseGravity" >
<MemberSignature Language= "C#" Value= "public Pango.Gravity BaseGravity { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.Gravity</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added.</summary>
<value > To be added.</value>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName= "Gravity" >
<MemberSignature Language= "C#" Value= "public Pango.Gravity Gravity { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.Gravity</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added.</summary>
<value > To be added.</value>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName= "GravityHint" >
<MemberSignature Language= "C#" Value= "public Pango.GravityHint GravityHint { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.GravityHint</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added.</summary>
<value > To be added.</value>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.12" />
</Docs>
</Member>
2003-02-12 01:58:46 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>