mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 17:15:29 +00:00
Canvas contributions from alf82@freemail.gr
svn path=/trunk/gtk-sharp/; revision=27034
This commit is contained in:
parent
3761234140
commit
adb74a6aa8
|
@ -10,8 +10,8 @@
|
||||||
</AssemblyInfo>
|
</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>
|
<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>
|
<Docs>
|
||||||
<summary>Use this class to create text on the canvas. </summary>
|
<summary>Text canvas item</summary>
|
||||||
<remarks>To be added</remarks>
|
<remarks>A canvas item for displaying text. See <see cref="T:Gnome.CanvasRichText" /> for a more advanced text display and editing canvas item.</remarks>
|
||||||
<example>
|
<example>
|
||||||
<code language="C#">
|
<code language="C#">
|
||||||
using System;
|
using System;
|
||||||
|
@ -153,7 +153,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Pango marked up text to render.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.String" /></param>
|
<param name="value">an object of type <see cref="T:System.String" /></param>
|
||||||
<returns>an object of type <see cref="T:System.String" /></returns>
|
<returns>an object of type <see cref="T:System.String" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -168,7 +168,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Whether to strike through the text.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Boolean" /></param>
|
<param name="value">an object of type <see cref="T:System.Boolean" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Boolean" /></returns>
|
<returns>an object of type <see cref="T:System.Boolean" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -183,10 +183,10 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Offset of text above the baseline.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Int32" /></param>
|
<param name="value">an object of type <see cref="T:System.Int32" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Int32" /></returns>
|
<returns>an object of type <see cref="T:System.Int32" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>This property specifies the offset of the text below the baseline if Rise is negative.</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="Text">
|
<Member MemberName="Text">
|
||||||
|
@ -198,7 +198,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>The text to display.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.String" /></param>
|
<param name="value">an object of type <see cref="T:System.String" /></param>
|
||||||
<returns>an object of type <see cref="T:System.String" /></returns>
|
<returns>an object of type <see cref="T:System.String" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -213,10 +213,10 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Name of the font family.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.String" /></param>
|
<param name="value">an object of type <see cref="T:System.String" /></param>
|
||||||
<returns>an object of type <see cref="T:System.String" /></returns>
|
<returns>an object of type <see cref="T:System.String" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>e.g. Sans, Helvetica, Times, Monospace</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="Y">
|
<Member MemberName="Y">
|
||||||
|
@ -228,7 +228,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Y coordinate of anchor point.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Double" /></returns>
|
<returns>an object of type <see cref="T:System.Double" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -243,7 +243,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>X coordinate of anchor point.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Double" /></returns>
|
<returns>an object of type <see cref="T:System.Double" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -258,7 +258,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Height of clip rectangle.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Double" /></returns>
|
<returns>an object of type <see cref="T:System.Double" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -273,7 +273,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Pango stretch of font to use.</summary>
|
||||||
<param name="value">an object of type <see cref="T:Pango.Stretch" /></param>
|
<param name="value">an object of type <see cref="T:Pango.Stretch" /></param>
|
||||||
<returns>an object of type <see cref="T:Pango.Stretch" /></returns>
|
<returns>an object of type <see cref="T:Pango.Stretch" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -288,7 +288,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Justification for multiline text.</summary>
|
||||||
<param name="value">an object of type <see cref="T:Gtk.Justification" /></param>
|
<param name="value">an object of type <see cref="T:Gtk.Justification" /></param>
|
||||||
<returns>an object of type <see cref="T:Gtk.Justification" /></returns>
|
<returns>an object of type <see cref="T:Gtk.Justification" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -303,7 +303,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Used to query the height of the rendered text.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Double" /></returns>
|
<returns>an object of type <see cref="T:System.Double" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -318,7 +318,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Vertical offset distance from anchor position.</summary>
|
||||||
<param name="value">an object of type 'double'</param>
|
<param name="value">an object of type 'double'</param>
|
||||||
<returns>an object of type 'double'</returns>
|
<returns>an object of type 'double'</returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -333,7 +333,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Stipple pattern for filling the text.</summary>
|
||||||
<param name="value">an object of type <see cref="T:Gdk.Drawable" /></param>
|
<param name="value">an object of type <see cref="T:Gdk.Drawable" /></param>
|
||||||
<returns>an object of type <see cref="T:Gdk.Drawable" /></returns>
|
<returns>an object of type <see cref="T:Gdk.Drawable" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -348,7 +348,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Anchor position for the text.</summary>
|
||||||
<param name="value">an object of type <see cref="T:Gtk.AnchorType" /></param>
|
<param name="value">an object of type <see cref="T:Gtk.AnchorType" /></param>
|
||||||
<returns>an object of type <see cref="T:Gtk.AnchorType" /></returns>
|
<returns>an object of type <see cref="T:Gtk.AnchorType" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -363,7 +363,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Size (in points) of font.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Double" /></returns>
|
<returns>an object of type <see cref="T:System.Double" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -378,7 +378,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Pango weight of font to use.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Int32" /></param>
|
<param name="value">an object of type <see cref="T:System.Int32" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Int32" /></returns>
|
<returns>an object of type <see cref="T:System.Int32" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -393,7 +393,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Use clipping rectangle?</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Boolean" /></param>
|
<param name="value">an object of type <see cref="T:System.Boolean" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Boolean" /></returns>
|
<returns>an object of type <see cref="T:System.Boolean" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -408,7 +408,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Reference to a Pango attribute list.</summary>
|
||||||
<param name="value">an object of type <see cref="T:Pango.AttrList" /></param>
|
<param name="value">an object of type <see cref="T:Pango.AttrList" /></param>
|
||||||
<returns>an object of type <see cref="T:Pango.AttrList" /></returns>
|
<returns>an object of type <see cref="T:Pango.AttrList" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -423,7 +423,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Pango underline style for text.</summary>
|
||||||
<param name="value">an object of type <see cref="T:Pango.Underline" /></param>
|
<param name="value">an object of type <see cref="T:Pango.Underline" /></param>
|
||||||
<returns>an object of type <see cref="T:Pango.Underline" /></returns>
|
<returns>an object of type <see cref="T:Pango.Underline" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -438,7 +438,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Size of font, relative to default size.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Double" /></returns>
|
<returns>an object of type <see cref="T:System.Double" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -453,10 +453,10 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>RGBA value used for AA color </summary>
|
||||||
<param name="value">an object of type <see cref="T:System.UInt32" /></param>
|
<param name="value">an object of type <see cref="T:System.UInt32" /></param>
|
||||||
<returns>an object of type <see cref="T:System.UInt32" /></returns>
|
<returns>an object of type <see cref="T:System.UInt32" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>The color should be specified in the format 0xRRGGBBAA (R: red, G: green, B: blue, A: alpha)</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="Size">
|
<Member MemberName="Size">
|
||||||
|
@ -468,7 +468,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Size (in pixels) of font.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Int32" /></param>
|
<param name="value">an object of type <see cref="T:System.Int32" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Int32" /></returns>
|
<returns>an object of type <see cref="T:System.Int32" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -483,7 +483,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Width of clip rectangle.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Double" /></returns>
|
<returns>an object of type <see cref="T:System.Double" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -498,7 +498,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Pango style of font to use. </summary>
|
||||||
<param name="value">an object of type <see cref="T:Pango.Style" /></param>
|
<param name="value">an object of type <see cref="T:Pango.Style" /></param>
|
||||||
<returns>an object of type <see cref="T:Pango.Style" /></returns>
|
<returns>an object of type <see cref="T:Pango.Style" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -513,7 +513,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Pango variant of font to use.</summary>
|
||||||
<param name="value">an object of type <see cref="T:Pango.Variant" /></param>
|
<param name="value">an object of type <see cref="T:Pango.Variant" /></param>
|
||||||
<returns>an object of type <see cref="T:Pango.Variant" /></returns>
|
<returns>an object of type <see cref="T:Pango.Variant" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -528,7 +528,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>An allocated Gdk.Color specification for text.</summary>
|
||||||
<param name="value">an object of type <see cref="T:Gdk.Color" /></param>
|
<param name="value">an object of type <see cref="T:Gdk.Color" /></param>
|
||||||
<returns>an object of type <see cref="T:Gdk.Color" /></returns>
|
<returns>an object of type <see cref="T:Gdk.Color" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -543,7 +543,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Font description as a Pango.FontDescription class.</summary>
|
||||||
<param name="value">an object of type <see cref="T:Pango.FontDescription" /></param>
|
<param name="value">an object of type <see cref="T:Pango.FontDescription" /></param>
|
||||||
<returns>an object of type <see cref="T:Pango.FontDescription" /></returns>
|
<returns>an object of type <see cref="T:Pango.FontDescription" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -558,10 +558,10 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Font description as a string.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.String" /></param>
|
<param name="value">an object of type <see cref="T:System.String" /></param>
|
||||||
<returns>an object of type <see cref="T:System.String" /></returns>
|
<returns>an object of type <see cref="T:System.String" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>See <see cref="M:Pango.FontDescription.FromString()" /> for a description of the format of the string representation.</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
<Member MemberName="TextWidth">
|
<Member MemberName="TextWidth">
|
||||||
|
@ -573,7 +573,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Used to query the width of the rendered text.</summary>
|
||||||
<param name="value">an object of type 'double'</param>
|
<param name="value">an object of type 'double'</param>
|
||||||
<returns>an object of type 'double'</returns>
|
<returns>an object of type 'double'</returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -588,7 +588,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>Horizontal offset distance from anchor position.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
<param name="value">an object of type <see cref="T:System.Double" /></param>
|
||||||
<returns>an object of type <see cref="T:System.Double" /></returns>
|
<returns>an object of type <see cref="T:System.Double" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
@ -603,7 +603,7 @@ class CanvasTest
|
||||||
<Parameters>
|
<Parameters>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>To be added</summary>
|
<summary>X color specification for text.</summary>
|
||||||
<param name="value">an object of type <see cref="T:System.String" /></param>
|
<param name="value">an object of type <see cref="T:System.String" /></param>
|
||||||
<returns>an object of type <see cref="T:System.String" /></returns>
|
<returns>an object of type <see cref="T:System.String" /></returns>
|
||||||
<remarks>To be added</remarks>
|
<remarks>To be added</remarks>
|
||||||
|
|
Loading…
Reference in a new issue