2003-07-17 06:35:10 +00:00
<Type Name= "Global" FullName= "Pango.Global" >
<TypeSignature Language= "C#" Value= "public class Global" Maintainer= "auto" />
<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-07-17 06:35:10 +00:00
</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>
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Global API elements for <see cref= "N:Pango" /> . Most of these are utility functions.</summary>
2004-07-17 17:24:02 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members >
<Member MemberName= "SplitFileList" >
<MemberSignature Language= "C#" Value= "public static string SplitFileList (string str);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "str" Type= "System.String" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Splits a list of filename strings and normalizes their paths.</summary>
2003-07-17 06:35:10 +00:00
<param name= "str" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.String" /> </returns>
2004-08-02 13:36:06 +00:00
<remarks > In the underlying C implementation, the string returned is intended as an argument to g_strfreev.</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "TrimString" >
<MemberSignature Language= "C#" Value= "public static string TrimString (string str);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "str" Type= "System.String" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Trims leading and trailing whitespace from a string.</summary>
2003-07-17 06:35:10 +00:00
<param name= "str" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.String" /> </returns>
2004-08-02 13:36:06 +00:00
<remarks />
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "GetLogAttrs" >
<MemberSignature Language= "C#" Value= "public static void GetLogAttrs (string text, int level, Pango.Language language, Pango.LogAttr log_attrs, int attrs_len);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "text" Type= "System.String" />
<Parameter Name= "level" Type= "System.Int32" />
<Parameter Name= "language" Type= "Pango.Language" />
<Parameter Name= "log_attrs" Type= "Pango.LogAttr" />
<Parameter Name= "attrs_len" Type= "System.Int32" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-17 18:05:37 +00:00
<summary > Computes a <see cref= "T:Pango.LogAttr" /> for each character in <paramref name= "text" /> .</summary>
<param name= "text" > text to process</param>
<param name= "level" > embedding level, or -1 if unknown</param>
<param name= "language" > language tag</param>
<param name= "log_attrs" > array with one PangoLogAttr per character in text, plus one extra, to be filled in</param>
2003-07-17 06:35:10 +00:00
<param name= "attrs_len" > a <see cref= "T:System.Int32" /> </param>
2004-07-17 18:05:37 +00:00
<remarks > The <paramref name= "log_attrs" /> array must have one <see cref= "T:Pango.LogAttr" /> for each position in text; if text contains N characters, it has N+1 positions, including the last position at the end of the text. text should be an entire paragraph; logical attributes cannot be computed without context (for example you need to see spaces on either side of a word to know the word is a word).</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Global ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-07-17 18:05:37 +00:00
<summary > Default constructor</summary>
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "ParseWeight" >
<MemberSignature Language= "C#" Value= "public static bool ParseWeight (string str, out Pango.Weight weight, bool warn);" />
2003-07-17 06:35:10 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "str" Type= "System.String" />
2003-10-28 00:48:23 +00:00
<Parameter Name= "weight" Type= "Pango.Weight&" RefType= "out" />
2003-09-17 21:56:59 +00:00
<Parameter Name= "warn" Type= "System.Boolean" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Parses a string into a <see cref= "T:Pango.Weight&" /> object.</summary>
<param name= "str" > a <see cref= "T:System.String" /> to parse</param>
<param name= "weight" > a <see cref= "T:Pango.Weight&" /> object to set up with the weight parsed out of the string</param>
<param name= "warn" > a <see cref= "T:System.Boolean" /> for whether to warn on bad input.</param>
<returns > a <see cref= "T:System.Boolean" /> for whether the string was successfully parsed.</returns>
<remarks > The allowed values are "heavy", "ultrabold", "bold", "normal", "light", "ultralight" and integers. Case variations are ignored.</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "ParseStretch" >
<MemberSignature Language= "C#" Value= "public static bool ParseStretch (string str, out Pango.Stretch stretch, bool warn);" />
2003-07-17 06:35:10 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
2003-10-28 00:48:23 +00:00
<ReturnType > System.Boolean</ReturnType>
2003-07-17 06:35:10 +00:00
</ReturnValue>
<Parameters >
2003-10-28 00:48:23 +00:00
<Parameter Name= "str" Type= "System.String" />
<Parameter Name= "stretch" Type= "Pango.Stretch&" RefType= "out" />
<Parameter Name= "warn" Type= "System.Boolean" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Parses a string into a <see cref= "T:Pango.Stretch&" /> object.</summary>
<param name= "str" > a <see cref= "T:System.String" /> to parse</param>
<param name= "stretch" > a <see cref= "T:Pango.Stretch&" /> to set up with the stretch value parsed out of the string</param>
<param name= "warn" > a <see cref= "T:System.Boolean" /> for whether to warn on bad input.</param>
<returns > a <see cref= "T:System.Boolean" /> for whether the string was successfully parsed.</returns>
<remarks > The allowed values are "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal",
"semi_expanded", "expanded", "extra_expanded" and "ultra_expanded". Case variations are ignored and the '_'
characters may be omitted.</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "ParseVariant" >
<MemberSignature Language= "C#" Value= "public static bool ParseVariant (string str, out Pango.Variant variant, bool warn);" />
2003-07-17 06:35:10 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "str" Type= "System.String" />
2003-10-28 00:48:23 +00:00
<Parameter Name= "variant" Type= "Pango.Variant&" RefType= "out" />
2003-09-17 21:56:59 +00:00
<Parameter Name= "warn" Type= "System.Boolean" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Parses a string into a <see cref= "T:Pango.Variant&" /> object.</summary>
<param name= "str" > a <see cref= "T:System.String" /> to parse</param>
<param name= "variant" > a <see cref= "T:Pango.Variant&" /> to set up with the variant value parsed out of the string</param>
<param name= "warn" > a <see cref= "T:System.Boolean" /> for whether to warn on bad input.</param>
<returns > a <see cref= "T:System.Boolean" /> for whether the string was successfully parsed.</returns>
<remarks > The allowed values are "normal" and "smallcaps" or "small_caps", case variations being ignored.</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "ParseStyle" >
<MemberSignature Language= "C#" Value= "public static bool ParseStyle (string str, out Pango.Style style, bool warn);" />
2003-07-17 06:35:10 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "str" Type= "System.String" />
2003-10-28 00:48:23 +00:00
<Parameter Name= "style" Type= "Pango.Style&" RefType= "out" />
2003-09-17 21:56:59 +00:00
<Parameter Name= "warn" Type= "System.Boolean" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Parses a string into a <see cref= "T:Pango.Style&" /> object.</summary>
<param name= "str" > a <see cref= "T:System.String" /> to parse</param>
<param name= "style" > a <see cref= "T:Pango.Style&" /> to set up with the style parsed out of the string.</param>
<param name= "warn" > a <see cref= "T:System.Boolean" /> for whether to warn on bad input.</param>
<returns > a <see cref= "T:System.Boolean" /> for whether the string was successfully parsed.</returns>
<remarks > The allowed values are "normal", "italic" and "oblique", case variations being ignored.</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "FindParagraphBoundary" >
<MemberSignature Language= "C#" Value= "public static void FindParagraphBoundary (string text, out int paragraph_delimiter_index, out int next_paragraph_start);" />
<MemberType > Method</MemberType>
2003-07-17 06:35:10 +00:00
<ReturnValue >
2003-10-28 00:48:23 +00:00
<ReturnType > System.Void</ReturnType>
2003-07-17 06:35:10 +00:00
</ReturnValue>
2003-10-28 00:48:23 +00:00
<Parameters >
<Parameter Name= "text" Type= "System.String" />
<Parameter Name= "paragraph_delimiter_index" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "next_paragraph_start" Type= "System.Int32&" RefType= "out" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-07-17 18:05:37 +00:00
<summary > Locates a paragraph boundary in <paramref name= "text" /> .</summary>
<param name= "text" > UTF-8 text</param>
<param name= "paragraph_delimiter_index" > return location for index of delimiter</param>
<param name= "next_paragraph_start" > return location for start of next paragraph</param>
<remarks >
<para >
A boundary is caused by delimiter characters, such as a newline, carriage return, carriage return-newline pair, or Unicode paragraph separator character. The index of the run of delimiters is returned in <paramref name= "paragraph_delimiter_index" /> . The index of the start of the paragraph (index after all delimiters) is stored in <paramref name= "next_paragraph_start" /> .
</para>
If no delimiters are found, both <paramref name= "paragraph_delimiter_index" /> and <paramref name= "next_paragraph_start" /> are filled with the length of text (an index one off the end).</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "ScanInt" >
<MemberSignature Language= "C#" Value= "public static bool ScanInt (string pos, out int out_param);" />
<MemberType > Method</MemberType>
2003-07-17 06:35:10 +00:00
<ReturnValue >
2003-10-28 00:48:23 +00:00
<ReturnType > System.Boolean</ReturnType>
2003-07-17 06:35:10 +00:00
</ReturnValue>
2003-10-28 00:48:23 +00:00
<Parameters >
<Parameter Name= "pos" Type= "System.String" />
<Parameter Name= "out_param" Type= "System.Int32&" RefType= "out" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Scans a string looking for an integer. An integer consists of up to 31 decimal digits.</summary>
<param name= "pos" > a <see cref= "T:System.String" /> , a string to scan.</param>
<param name= "out_param" > a <see cref= "T:System.Int32&" /> , an integer to put the result into.</param>
<returns > a <see cref= "T:System.Boolean" /> , false if a parse error occurred.</returns>
2005-05-23 20:41:51 +00:00
<remarks > To be added.</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
2004-08-17 20:43:49 +00:00
<Member MemberName= "SkipSpace" >
<MemberSignature Language= "C#" Value= "public static bool SkipSpace (ref string pos);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "pos" Type= "System.String&" RefType= "ref" />
</Parameters>
<Docs >
<summary > Skips 0 or more characters of whitespace</summary>
<param name= "pos" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> , which is true if there are non-whitespace characters before the end of the string.</returns>
2004-08-18 16:08:02 +00:00
<remarks >
</remarks>
2004-08-17 20:43:49 +00:00
</Docs>
</Member>
<Member MemberName= "ScanInt" >
<MemberSignature Language= "C#" Value= "public static bool ScanInt (ref string pos, out int out_param);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "pos" Type= "System.String&" RefType= "ref" />
<Parameter Name= "out_param" Type= "System.Int32&" RefType= "out" />
</Parameters>
<Docs >
<summary > Scans a string looking for an integer. An integer consists of up to 31 decimal digits.</summary>
<param name= "pos" > a <see cref= "T:System.String" /> </param>
<param name= "out_param" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "ParseMarkup" >
<MemberSignature Language= "C#" Value= "public static bool ParseMarkup (string markup, char accel_marker, out Pango.AttrList attrs, out string text, out char accel_char);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "markup" Type= "System.String" />
<Parameter Name= "accel_marker" Type= "System.Char" />
<Parameter Name= "attrs" Type= "Pango.AttrList&" RefType= "out" />
<Parameter Name= "text" Type= "System.String&" RefType= "out" />
<Parameter Name= "accel_char" Type= "System.Char&" RefType= "out" />
</Parameters>
<Docs >
<summary > Parses a markup text string into text and a list of attributes.</summary>
<param name= "markup" > a <see cref= "T:System.String" /> </param>
<param name= "accel_marker" > a <see cref= "T:System.Char" /> </param>
<param name= "attrs" > a <see cref= "T:Pango.AttrList" /> </param>
<param name= "text" > a <see cref= "T:System.String" /> </param>
<param name= "accel_char" > a <see cref= "T:System.Char" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2004-08-18 16:08:02 +00:00
<remarks >
</remarks>
2004-08-17 20:43:49 +00:00
</Docs>
</Member>
2004-11-05 19:05:29 +00:00
<Member MemberName= "FindBaseDir" >
<MemberSignature Language= "C#" Value= "public static Pango.Direction FindBaseDir (string text);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Direction</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "text" Type= "System.String" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "text" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:Pango.Direction" /> </returns>
<remarks > To be added</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 19:05:29 +00:00
</Docs>
</Member>
<Member MemberName= "ItemizeWithBaseDir" >
<MemberSignature Language= "C#" Value= "public static GLib.List ItemizeWithBaseDir (Pango.Context context, Pango.Direction base_dir, string text, int start_index, int length, Pango.AttrList attrs, Pango.AttrIterator cached_iter);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.List</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "context" Type= "Pango.Context" />
<Parameter Name= "base_dir" Type= "Pango.Direction" />
<Parameter Name= "text" Type= "System.String" />
<Parameter Name= "start_index" Type= "System.Int32" />
<Parameter Name= "length" Type= "System.Int32" />
<Parameter Name= "attrs" Type= "Pango.AttrList" />
<Parameter Name= "cached_iter" Type= "Pango.AttrIterator" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "context" > a <see cref= "T:Pango.Context" /> </param>
<param name= "base_dir" > a <see cref= "T:System.Int32" /> </param>
<param name= "text" > a <see cref= "T:System.String" /> </param>
<param name= "start_index" > a <see cref= "T:System.Int32" /> </param>
<param name= "length" > a <see cref= "T:System.Int32" /> </param>
<param name= "attrs" > a <see cref= "T:Pango.AttrList" /> </param>
<param name= "cached_iter" > a <see cref= "T:Pango.AttrIterator" /> </param>
<returns > a <see cref= "T:GLib.List" /> </returns>
<remarks > To be added</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 19:05:29 +00:00
</Docs>
</Member>
<Member MemberName= "ScriptGetSampleLanguage" >
<MemberSignature Language= "C#" Value= "public static Pango.Language ScriptGetSampleLanguage (Pango.Script script);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Language</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "script" Type= "Pango.Script" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "script" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Pango.Language" /> </returns>
<remarks > To be added</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 19:05:29 +00:00
</Docs>
</Member>
2004-12-20 22:05:21 +00:00
<Member MemberName= "UnicharDirection" >
<MemberSignature Language= "C#" Value= "public static Pango.Direction UnicharDirection (char ch);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Direction</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "ch" Type= "System.Char" />
</Parameters>
<Docs >
<summary > Determines the direction of a character</summary>
<param name= "ch" > a <see cref= "T:System.Char" /> </param>
<returns > the direction of the character according to the Unicode bidi algorithm</returns>
<remarks > To be added</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-12-20 22:05:21 +00:00
</Docs>
</Member>
<Member MemberName= "ScriptForUnichar" >
<MemberSignature Language= "C#" Value= "public static Pango.Script ScriptForUnichar (char ch);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.Script</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "ch" Type= "System.Char" />
</Parameters>
<Docs >
<summary > Determines the script for a character</summary>
<param name= "ch" > a <see cref= "T:System.Char" /> </param>
<returns > the script for the character according to Unicode Technical Report 24</returns>
<remarks > No check is made that <paramref name= "ch" /> is valid. If you pass in an invalid character, you will get back an invalid result.</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-12-20 22:05:21 +00:00
</Docs>
</Member>
2007-01-15 21:05:55 +00:00
<Member MemberName= "IsZeroWidth" >
2006-08-03 16:41:27 +00:00
<MemberSignature Language= "C#" Value= "public static bool IsZeroWidth (char ch);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "ch" Type= "System.Char" />
</Parameters>
<Docs >
<param name= "ch" > A character to measure.</param>
<summary > Measures a char to determine if it is zero width.</summary>
2006-08-04 23:15:31 +00:00
<returns >
<see langword= "true" /> if <paramref name= "ch" /> is zero width.</returns>
2006-08-03 16:41:27 +00:00
<remarks > Zero width characters are not normally rendered on-screen.</remarks>
<since version= "Gtk# 2.10" />
2007-01-15 21:05:55 +00:00
</Docs>
</Member>
</Members>
2005-06-17 18:43:30 +00:00
</Type>