2003-02-12 01:58:46 +00:00
<Type Name= "GlyphString" FullName= "Pango.GlyphString" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public struct GlyphString" />
2003-02-12 01:58:46 +00:00
<AssemblyInfo >
<AssemblyName > pango-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-06-17 18:43:30 +00:00
<AssemblyVersion > 2.6.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-17 00:03:17 +00:00
<summary > Used to store strings of glyphs with geometry and visual attribute information.</summary>
2004-07-17 18:05:37 +00:00
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
<Base >
<BaseTypeName > System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Members >
<Member MemberName= "Zero" >
<MemberSignature Language= "C#" Value= "public static Pango.GlyphString Zero;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > Pango.GlyphString</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-07-17 18:05:37 +00:00
<summary > Returns an empty <see cref= "T:Pango.GlyphString" /> </summary>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "New" >
<MemberSignature Language= "C#" Value= "public static Pango.GlyphString New ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.GlyphString</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Generates a new <see cref= "T:Pango.GlyphString" /> object.</summary>
<returns > a <see cref= "T:Pango.GlyphString" /> object.</returns>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "New" >
<MemberSignature Language= "C#" Value= "public static Pango.GlyphString New (IntPtr raw);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.GlyphString</ReturnType>
</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 >
2004-07-17 04:14:39 +00:00
<summary > Internal method</summary>
<param name= "raw" > an object of type <see cref= "T:System.IntPtr" /> </param>
<returns > an object of type <see cref= "T:Pango.GlyphString" /> </returns>
<remarks > This is an internal method, and should not be used by user code.</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Copy" >
<MemberSignature Language= "C#" Value= "public Pango.GlyphString Copy ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.GlyphString</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Copies one <see cref= "T:Pango.GlyphString" /> into a new object.</summary>
<returns > a <see cref= "T:Pango.GlyphString" /> </returns>
2005-05-23 20:41:51 +00:00
<remarks > To be added.</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Extents" >
<MemberSignature Language= "C#" Value= "public void Extents (Pango.Font font, Pango.Rectangle ink_rect, Pango.Rectangle logical_rect);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "font" Type= "Pango.Font" />
<Parameter Name= "ink_rect" Type= "Pango.Rectangle" />
<Parameter Name= "logical_rect" Type= "Pango.Rectangle" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Computes the logical and ink extents of this glyph string.</summary>
<param name= "font" > a <see cref= "T:Pango.Font" /> for rendering the string </param>
<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>
<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>
<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>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Free" >
<MemberSignature Language= "C#" Value= "public void Free ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Frees this object's memory.</summary>
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "ExtentsRange" >
<MemberSignature Language= "C#" Value= "public void ExtentsRange (int start, int end, Pango.Font font, Pango.Rectangle ink_rect, Pango.Rectangle logical_rect);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "start" Type= "System.Int32" />
<Parameter Name= "end" Type= "System.Int32" />
<Parameter Name= "font" Type= "Pango.Font" />
<Parameter Name= "ink_rect" Type= "Pango.Rectangle" />
<Parameter Name= "logical_rect" Type= "Pango.Rectangle" />
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Computes the logical and ink extents of a sub-section of this glyph string.</summary>
<param name= "start" > an integer for the start index</param>
<param name= "end" > an integer for the end index</param>
<param name= "font" > a <see cref= "T:Pango.Font" /> for rendering the string </param>
<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>
<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>
<remarks > The extents are relative to the start of the glyph string range, not to the start of the glyph string.</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "Size" >
<MemberSignature Language= "C#" Value= "public int Size { set; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 01:58:46 +00:00
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Resizes this GlyphString to the given length.</summary>
2005-05-23 20:41:51 +00:00
<value > The new length of the string.</value>
<remarks > To be added.</remarks>
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
<Member MemberName= "glyphs" >
<MemberSignature Language= "C#" Value= "public Pango.GlyphInfo glyphs { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.GlyphInfo</ReturnType>
</ReturnValue>
<Docs >
2004-07-17 00:03:17 +00:00
<summary > an array of <see cref= "T:Pango.GlyphInfo" /> </summary>
2005-05-23 20:41:51 +00:00
<value > an object of type <see cref= "T:Pango.GlyphInfo" /> </value>
2004-07-17 00:03:17 +00:00
<remarks />
2003-02-12 01:58:46 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "XToIndex" >
<MemberSignature Language= "C#" Value= "public void XToIndex (string text, Pango.Analysis analysis, int x_pos, out int index_, out int trailing);" />
2003-07-17 06:38:40 +00:00
<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= "analysis" Type= "Pango.Analysis" />
<Parameter Name= "x_pos" Type= "System.Int32" />
2003-10-28 00:48:23 +00:00
<Parameter Name= "index_" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "trailing" Type= "System.Int32&" RefType= "out" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-07-17 06:38:40 +00:00
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Convert from x offset to character position.</summary>
<param name= "text" > a <see cref= "T:System.String" /> , the text for the run</param>
<param name= "analysis" > a <see cref= "T:Pango.Analysis" /> , the analysis for the run</param>
<param name= "x_pos" > the X offset in Pango glyph units.</param>
<param name= "index_" > a <see cref= "T:System.Int32&" /> , for storing the calculated byte index</param>
<param name= "trailing" > a <see cref= "T:System.Int32&" /> for storing whether the user clicked on the leading
or trailing edge of the character.</param>
<remarks >
Character positions are computed by dividing up each cluster into equal portions.
In scripts where positioning within a cluster is not allowed (such as Thai), the returned value may not be a valid cursor
position; the caller must combine the result with the logical attributes for the text to compute the valid cursor position.
</remarks>
2003-10-28 00:48:23 +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.GlyphString" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "NumGlyphs" >
<MemberSignature Language= "C#" Value= "public int NumGlyphs;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
</Parameters>
<Docs >
2004-07-17 00:03:17 +00:00
<summary > the number of glyphs in the string.</summary>
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "IndexToX" >
<MemberSignature Language= "C#" Value= "public int IndexToX (string text, Pango.Analysis analysis, int index_, bool trailing);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "text" Type= "System.String" />
<Parameter Name= "analysis" Type= "Pango.Analysis" />
<Parameter Name= "index_" Type= "System.Int32" />
<Parameter Name= "trailing" Type= "System.Boolean" />
</Parameters>
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Convert from character position to X position.</summary>
<param name= "text" > a <see cref= "T:System.String" /> , the text for the run</param>
<param name= "analysis" > a <see cref= "T:Pango.Analysis" /> , the analysis for the run</param>
<param name= "index_" > a <see cref= "T:System.Int32" /> , the byte index within the text.</param>
<param name= "trailing" > a <see cref= "T:System.Int32" /> whether to compute from trailing edge (true) or leading
edge (false) of the character</param>
<remarks >
Converts from character position to x position. (X position is measured from the left edge of the run).
Character positions are computed by dividing up each cluster into equal portions.
</remarks>
2005-05-23 20:41:51 +00:00
<returns > To be added.</returns>
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "GetLogicalWidths" >
<MemberSignature Language= "C#" Value= "public int GetLogicalWidths (string text, int embedding_level);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "text" Type= "System.String" />
<Parameter Name= "embedding_level" Type= "System.Int32" />
</Parameters>
<Docs >
2004-08-02 13:36:06 +00:00
<summary > Determine the screen width corresponding to each character in a string. When
multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters.
</summary>
<param name= "text" > a <see cref= "T:System.String" /> to process</param>
<param name= "embedding_level" > a <see cref= "T:System.Int32" /> , the embedding level of the string</param>
<returns > a <see cref= "T:System.Int32" /> , a pointer to an array of logical widths for each character.</returns>
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2005-05-23 20:41:51 +00:00
<Member MemberName= "op_Explicit" >
<MemberSignature Language= "C#" Value= "public static GLib.Value op_Explicit (Pango.GlyphString boxed);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.Value</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "boxed" Type= "Pango.GlyphString" />
</Parameters>
<Docs >
<param name= "boxed" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>
<Member MemberName= "op_Explicit" >
<MemberSignature Language= "C#" Value= "public static Pango.GlyphString op_Explicit (GLib.Value val);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Pango.GlyphString</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "val" Type= "GLib.Value" />
</Parameters>
<Docs >
<param name= "val" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
</Docs>
</Member>
2003-02-12 01:58:46 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>