mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-22 20:50:57 +00:00
* pango/Attribute.cs: Base class for Pango attributes, a la
Gdk.Event * pango/pango-symbols.xml: explain how to marshal PangoAttribute. * pango/AttrBackground.cs: * pango/AttrFallback.cs: * pango/AttrFamily.cs: * pango/AttrFontDesc.cs: * pango/AttrForeground.cs: * pango/AttrLanguage.cs: * pango/AttrLetterSpacing.cs: * pango/AttrRise.cs: * pango/AttrScale.cs: * pango/AttrShape.cs: * pango/AttrSize.cs: * pango/AttrStretch.cs: * pango/AttrStrikethrough.cs: * pango/AttrStrikethroughColor.cs: * pango/AttrStyle.cs: * pango/AttrUnderline.cs: * pango/AttrUnderlineColor.cs: * pango/AttrVariant.cs: * pango/AttrWeight.cs: subclasses of Attribute, with proper constructors. These don't actually correspond one-to-one with the underlying types, but they're nicer this way. * pango/Pango.metadata: Hide Attribute and its subclasses from the generator. Also hide "Attr" (which previously contained non-working badly-named static methods to create Attributes) and AttrClass (which is not really useful outside of pango itself). * pango/AttrIterator.custom: use Pango.Attribute.GetAttribute. * pango/glue/attribute.c: glue for Attribute and its subclasses [Fixes #52575 and its semi-dup #46552] svn path=/trunk/gtk-sharp/; revision=43520
This commit is contained in:
parent
faa783fba7
commit
b4a4db44dd
41
ChangeLog
41
ChangeLog
|
@ -1,3 +1,44 @@
|
|||
2005-04-24 Dan Winship <danw@novell.com>
|
||||
|
||||
* pango/Attribute.cs: Base class for Pango attributes, a la
|
||||
Gdk.Event
|
||||
|
||||
* pango/pango-symbols.xml: explain how to marshal PangoAttribute.
|
||||
|
||||
* pango/AttrBackground.cs:
|
||||
* pango/AttrFallback.cs:
|
||||
* pango/AttrFamily.cs:
|
||||
* pango/AttrFontDesc.cs:
|
||||
* pango/AttrForeground.cs:
|
||||
* pango/AttrLanguage.cs:
|
||||
* pango/AttrLetterSpacing.cs:
|
||||
* pango/AttrRise.cs:
|
||||
* pango/AttrScale.cs:
|
||||
* pango/AttrShape.cs:
|
||||
* pango/AttrSize.cs:
|
||||
* pango/AttrStretch.cs:
|
||||
* pango/AttrStrikethrough.cs:
|
||||
* pango/AttrStrikethroughColor.cs:
|
||||
* pango/AttrStyle.cs:
|
||||
* pango/AttrUnderline.cs:
|
||||
* pango/AttrUnderlineColor.cs:
|
||||
* pango/AttrVariant.cs:
|
||||
* pango/AttrWeight.cs: subclasses of Attribute, with proper
|
||||
constructors. These don't actually correspond one-to-one with
|
||||
the underlying types, but they're nicer this way.
|
||||
|
||||
* pango/Pango.metadata: Hide Attribute and its subclasses from the
|
||||
generator. Also hide "Attr" (which previously contained
|
||||
non-working badly-named static methods to create Attributes)
|
||||
and AttrClass (which is not really useful outside of pango
|
||||
itself).
|
||||
|
||||
* pango/AttrIterator.custom: use Pango.Attribute.GetAttribute.
|
||||
|
||||
* pango/glue/attribute.c: glue for Attribute and its subclasses
|
||||
|
||||
[Fixes #52575 and its semi-dup #46552]
|
||||
|
||||
2005-04-22 Dan Winship <danw@novell.com>
|
||||
|
||||
* gnome/Gnome.metadata: mark GnomeTriggerActionFunction's char**
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2005-04-24 Dan Winship <danw@novell.com>
|
||||
|
||||
* en/Pango/Attribute.xml, etc: document new Attribute stuff.
|
||||
|
||||
2005-04-21 Dan Winship <danw@novell.com>
|
||||
|
||||
* en/GLib/Marshaller.xml: update
|
||||
|
|
|
@ -1,307 +0,0 @@
|
|||
<Type Name="Attr" FullName="Pango.Attr">
|
||||
<TypeSignature Language="C#" Value="public class Attr" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>
|
||||
</AssemblyPublicKey>
|
||||
<AssemblyVersion>0.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>Static methods for attributes.</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.Object</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="ForegroundNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute ForegroundNew (ushort red, ushort green, ushort blue);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="red" Type="System.UInt16" />
|
||||
<Parameter Name="green" Type="System.UInt16" />
|
||||
<Parameter Name="blue" Type="System.UInt16" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new foreground color attribute.</summary>
|
||||
<param name="red"> the red value (ranging from 0 to 65535)</param>
|
||||
<param name="green"> the green value</param>
|
||||
<param name="blue"> the blue value</param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="FamilyNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute FamilyNew (string family);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="family" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new font family attribute.</summary>
|
||||
<param name="family"> the family or comma separated list of families</param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="TypeRegister">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrType TypeRegister (string name);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="name" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Allocate a new attribute type ID.</summary>
|
||||
<param name="name"> an identifier for the type. (Currently unused.)</param>
|
||||
<returns> the new type ID.</returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="StrikethroughNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute StrikethroughNew (bool strikethrough);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="strikethrough" Type="System.Boolean" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new font strike-through attribute.</summary>
|
||||
<param name="strikethrough">
|
||||
<see langword="true" /> if the text should be struck-through.</param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="VariantNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute VariantNew (Pango.Variant variant);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="variant" Type="Pango.Variant" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new font variant attribute (normal or small caps)</summary>
|
||||
<param name="variant"> the <see cref="T:Pango.Variant" /></param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="StretchNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute StretchNew (Pango.Stretch stretch);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="stretch" Type="Pango.Stretch" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new font stretch attribute</summary>
|
||||
<param name="stretch">a <see cref="T:Pango.Stretch" /></param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="StyleNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute StyleNew (Pango.Style style);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="style" Type="Pango.Style" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new font slant style attribute.</summary>
|
||||
<param name="style"> the slant <see cref="T:Pango.Style" /></param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="WeightNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute WeightNew (Pango.Weight weight);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="weight" Type="Pango.Weight" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new font weight attribute.</summary>
|
||||
<param name="weight">a <see cref="T:Pango.Weight" /></param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="UnderlineNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute UnderlineNew (Pango.Underline underline);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="underline" Type="Pango.Underline" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new underline-style object.</summary>
|
||||
<param name="underline"> the underline style.</param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="BackgroundNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute BackgroundNew (ushort red, ushort green, ushort blue);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="red" Type="System.UInt16" />
|
||||
<Parameter Name="green" Type="System.UInt16" />
|
||||
<Parameter Name="blue" Type="System.UInt16" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new background color attribute.</summary>
|
||||
<param name="red"> the red value (ranging from 0 to 65535)</param>
|
||||
<param name="green"> the green value</param>
|
||||
<param name="blue"> the blue value</param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RiseNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute RiseNew (int rise);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="rise" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new baseline displacement attribute.</summary>
|
||||
<param name="rise"> the amount that the text should be displaced vertically, in 10'000ths of an em. Positive values displace the text upwards.</param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ScaleNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute ScaleNew (double scale_factor);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="scale_factor" Type="System.Double" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new font size scale attribute.</summary>
|
||||
<param name="scale_factor"> factor to scale the font</param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks>The base font for the affected text will have its size multiplied by <paramref name="scale_factor" />.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public Attr ();" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Default constructor</summary>
|
||||
<returns>a <see cref="T:Pango.Attr" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="FallbackNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute FallbackNew (bool enable_fallback);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="enable_fallback" Type="System.Boolean" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="enable_fallback">a <see cref="T:System.Boolean" /></param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="UnderlineColorNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute UnderlineColorNew (ushort red, ushort green, ushort blue);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="red" Type="System.UInt16" />
|
||||
<Parameter Name="green" Type="System.UInt16" />
|
||||
<Parameter Name="blue" Type="System.UInt16" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="red">a <see cref="T:System.UInt16" /></param>
|
||||
<param name="green">a <see cref="T:System.UInt16" /></param>
|
||||
<param name="blue">a <see cref="T:System.UInt16" /></param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="LetterSpacingNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute LetterSpacingNew (int letter_spacing);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="letter_spacing" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="letter_spacing">a <see cref="T:System.Int32" /></param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="StrikethroughColorNew">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute StrikethroughColorNew (ushort red, ushort green, ushort blue);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="red" Type="System.UInt16" />
|
||||
<Parameter Name="green" Type="System.UInt16" />
|
||||
<Parameter Name="blue" Type="System.UInt16" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="red">a <see cref="T:System.UInt16" /></param>
|
||||
<param name="green">a <see cref="T:System.UInt16" /></param>
|
||||
<param name="blue">a <see cref="T:System.UInt16" /></param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
74
doc/en/Pango/AttrBackground.xml
Normal file
74
doc/en/Pango/AttrBackground.xml
Normal file
|
@ -0,0 +1,74 @@
|
|||
<Type Name="AttrBackground" FullName="Pango.AttrBackground">
|
||||
<TypeSignature Language="C#" Value="public class AttrBackground : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing a background color</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrBackground (ushort red, ushort green, ushort blue);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="red" Type="System.UInt16" />
|
||||
<Parameter Name="green" Type="System.UInt16" />
|
||||
<Parameter Name="blue" Type="System.UInt16" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new background color attribute.</summary>
|
||||
<param name="red">the red value</param>
|
||||
<param name="green">the green value</param>
|
||||
<param name="blue">the blue value</param>
|
||||
<returns>a <see cref="T:Pango.AttrBackground" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrBackground (Pango.Color color);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="color" Type="Pango.Color" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new background color attribute.</summary>
|
||||
<param name="color">a <see cref="T:Pango.Color" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrBackground" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Color">
|
||||
<MemberSignature Language="C#" Value="public Pango.Color Color { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Color</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The color represented by this attribute</summary>
|
||||
<returns>a <see cref="T:Pango.Color" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -1,64 +0,0 @@
|
|||
<Type Name="AttrClass" FullName="Pango.AttrClass">
|
||||
<TypeSignature Language="C#" Value="public sealed struct AttrClass;" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>
|
||||
</AssemblyPublicKey>
|
||||
<AssemblyVersion>0.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>Stores the type and operations for a particular type of attribute.</summary>
|
||||
<remarks>The functions in this structure should not be called directly. Instead, one should use the wrapper functions provided for <see cref="T:Pango.Attribute" />.</remarks>
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Zero">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrClass Zero;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrClass</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns an empty <see cref="T:Pango.AttrClass" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrClass New (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrClass</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<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.AttrClass" /></returns>
|
||||
<remarks>This is an internal method, and should not be used by user code.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Type">
|
||||
<MemberSignature Language="C#" Value="public Pango.AttrType Type;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the type ID for this attribute</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -1,77 +0,0 @@
|
|||
<Type Name="AttrColor" FullName="Pango.AttrColor">
|
||||
<TypeSignature Language="C#" Value="public sealed struct AttrColor;" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>
|
||||
</AssemblyPublicKey>
|
||||
<AssemblyVersion>0.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>Used to represent attributes that are colors.</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Zero">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrColor Zero;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrColor</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns an empty <see cref="T:Pango.AttrColor" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrColor New (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrColor</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<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.AttrColor" /></returns>
|
||||
<remarks>This is an internal method, and should not be used by user code.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Attr">
|
||||
<MemberSignature Language="C#" Value="public Pango.Attribute Attr;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the common portion of the attribute</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Color">
|
||||
<MemberSignature Language="C#" Value="public Pango.Color Color;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Color</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the PangoColor which is the value of the attribute</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
67
doc/en/Pango/AttrFallback.xml
Normal file
67
doc/en/Pango/AttrFallback.xml
Normal file
|
@ -0,0 +1,67 @@
|
|||
<Type Name="AttrFallback" FullName="Pango.AttrFallback">
|
||||
<TypeSignature Language="C#" Value="public class AttrFallback : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing the font fallback state</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrFallback (bool fallback);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="fallback" Type="System.Boolean" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new font fallback attribute</summary>
|
||||
<param name="fallback">a <see cref="T:System.Boolean" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrFallback" /></returns>
|
||||
<remarks>
|
||||
If fallback is disabled, characters will only be used from
|
||||
the closest matching font on the system. No fallback will
|
||||
be done to other fonts on the system that might contain
|
||||
the characters in the text.
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Fallback">
|
||||
<MemberSignature Language="C#" Value="public bool Fallback { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Whether or not font fallback is enabled</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>
|
||||
If <see langword="false" />, characters will only be used
|
||||
from the closest matching font on the system. If <see
|
||||
langword="true" />, fallback will be done to other fonts
|
||||
on the system that might contain the characters in the
|
||||
text.
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
56
doc/en/Pango/AttrFamily.xml
Normal file
56
doc/en/Pango/AttrFamily.xml
Normal file
|
@ -0,0 +1,56 @@
|
|||
<Type Name="AttrFamily" FullName="Pango.AttrFamily">
|
||||
<TypeSignature Language="C#" Value="public class AttrFamily : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing a font family</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrFamily (string family);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="family" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new font family attribute</summary>
|
||||
<param name="family">the family or comman-separated list of families</param>
|
||||
<returns>a <see cref="T:Pango.AttrFamily" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Family">
|
||||
<MemberSignature Language="C#" Value="public string Family { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.String</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The font family, or comma-separated list of families</summary>
|
||||
<returns>a <see cref="T:System.String" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -1,77 +0,0 @@
|
|||
<Type Name="AttrFloat" FullName="Pango.AttrFloat">
|
||||
<TypeSignature Language="C#" Value="public sealed struct AttrFloat;" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>
|
||||
</AssemblyPublicKey>
|
||||
<AssemblyVersion>0.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>Used to represent attributes with a float or double value.</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Zero">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrFloat Zero;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrFloat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns an empty <see cref="T:Pango.AttrFloat" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrFloat New (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrFloat</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Internal constructor</summary>
|
||||
<param name="raw">an object of type <see cref="T:System.IntPtr" /></param>
|
||||
<returns>an object of type <see cref="T:Pango.AttrFloat" /></returns>
|
||||
<remarks>This is an internal method, and should not be used by user code.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Attr">
|
||||
<MemberSignature Language="C#" Value="public Pango.Attribute Attr;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the common portion of the attribute</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Value">
|
||||
<MemberSignature Language="C#" Value="public double Value;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Double</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the value of the attribute</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -10,86 +10,41 @@
|
|||
</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>
|
||||
<summary>Used to store an attribute that sets all aspects of the font description at once.</summary>
|
||||
<summary>An attribute that represents a <see cref="T:Pango.FontDescription" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Zero">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrFontDesc Zero;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrFontDesc</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrFontDesc (Pango.FontDescription font_desc);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="font_desc" Type="Pango.FontDescription" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Returns an empty <see cref="T:Pango.AttrFontDesc" /></summary>
|
||||
<summary>Creates a new font description attribute</summary>
|
||||
<param name="font_desc">a <see cref="T:Pango.FontDescription" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrFontDesc" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrFontDesc New (Pango.FontDescription desc);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrFontDesc</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="desc" Type="Pango.FontDescription" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new <see cref="T:Pango.AttrFontDesc" /> from the provided <see cref="T:Pango.FontDescription" />.</summary>
|
||||
<param name="desc">a <see cref="T:Pango.FontDescription" /></param>
|
||||
<returns>a new <see cref="T:Pango.AttrFontDesc" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrFontDesc New (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrFontDesc</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<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.AttrFontDesc" /></returns>
|
||||
<remarks>This is an internal method, and should not be used by user code.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="desc">
|
||||
<MemberSignature Language="C#" Value="public Pango.FontDescription desc { set; get; };" />
|
||||
<Member MemberName="Desc">
|
||||
<MemberSignature Language="C#" Value="public Pango.FontDescription Desc { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.FontDescription</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>the font description which is the value of this attribute</summary>
|
||||
<param name="value">a <see cref="T:Pango.FontDescription" /></param>
|
||||
<summary>The font description which is the value of this attribute</summary>
|
||||
<returns>a <see cref="T:Pango.FontDescription" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Attr">
|
||||
<MemberSignature Language="C#" Value="public Pango.Attribute Attr;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the common portion of the attribute</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
74
doc/en/Pango/AttrForeground.xml
Normal file
74
doc/en/Pango/AttrForeground.xml
Normal file
|
@ -0,0 +1,74 @@
|
|||
<Type Name="AttrForeground" FullName="Pango.AttrForeground">
|
||||
<TypeSignature Language="C#" Value="public class AttrForeground : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing a foreground color</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrForeground (ushort red, ushort green, ushort blue);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="red" Type="System.UInt16" />
|
||||
<Parameter Name="green" Type="System.UInt16" />
|
||||
<Parameter Name="blue" Type="System.UInt16" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new foreground color attribute.</summary>
|
||||
<param name="red">the red value</param>
|
||||
<param name="green">the green value</param>
|
||||
<param name="blue">the blue value</param>
|
||||
<returns>a <see cref="T:Pango.AttrForeground" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrForeground (Pango.Color color);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="color" Type="Pango.Color" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new foreground color attribute.</summary>
|
||||
<param name="color">a <see cref="T:Pango.Color" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrForeground" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Color">
|
||||
<MemberSignature Language="C#" Value="public Pango.Color Color { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Color</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The color represented by this attribute</summary>
|
||||
<returns>a <see cref="T:Pango.Color" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -1,77 +0,0 @@
|
|||
<Type Name="AttrInt" FullName="Pango.AttrInt">
|
||||
<TypeSignature Language="C#" Value="public sealed struct AttrInt;" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>
|
||||
</AssemblyPublicKey>
|
||||
<AssemblyVersion>0.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>Used to represent attributes with a integer or enumeration value.</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Zero">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrInt Zero;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrInt</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns an empty <see cref="T:Pango.AttrInt" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrInt New (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrInt</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<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.AttrInt" /></returns>
|
||||
<remarks>This is an internal method, and should not be used by user code.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Attr">
|
||||
<MemberSignature Language="C#" Value="public Pango.Attribute Attr;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the common portion of the attribute</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Value">
|
||||
<MemberSignature Language="C#" Value="public int Value;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the value of the attribute</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -10,86 +10,41 @@
|
|||
</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>
|
||||
<summary>Used to represent attributes that are languages.</summary>
|
||||
<summary>An attribute that represents a language</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Zero">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrLanguage Zero;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrLanguage</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns an empty <see cref="T:Pango.AttrLanguage" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrLanguage New (Pango.Language language);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrLanguage</ReturnType>
|
||||
</ReturnValue>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrLanguage (Pango.Language language);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="language" Type="Pango.Language" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Create a new <see cref="T:Pango.AttrLanguage" /> from the provided <see cref="T:Pango.Language" /></summary>
|
||||
<summary>Creates a new language tag attribute</summary>
|
||||
<param name="language">a <see cref="T:Pango.Language" /></param>
|
||||
<returns>a new <see cref="T:Pango.AttrLanguage" /></returns>
|
||||
<returns>a <see cref="T:Pango.AttrLanguage" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrLanguage New (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrLanguage</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<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.AttrLanguage" /></returns>
|
||||
<remarks>This is an internal method, and should not be used by user code.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="value">
|
||||
<MemberSignature Language="C#" Value="public Pango.Language value { set; get; };" />
|
||||
<Member MemberName="Language">
|
||||
<MemberSignature Language="C#" Value="public Pango.Language Language { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Language</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>the PangoLanguage which is the value of the attribute</summary>
|
||||
<param name="value">a <see cref="T:Pango.Language" /></param>
|
||||
<summary>The language represented by this attribute</summary>
|
||||
<returns>a <see cref="T:Pango.Language" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Attr">
|
||||
<MemberSignature Language="C#" Value="public Pango.Attribute Attr;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the common portion of the attribute</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
56
doc/en/Pango/AttrLetterSpacing.xml
Normal file
56
doc/en/Pango/AttrLetterSpacing.xml
Normal file
|
@ -0,0 +1,56 @@
|
|||
<Type Name="AttrLetterSpacing" FullName="Pango.AttrLetterSpacing">
|
||||
<TypeSignature Language="C#" Value="public class AttrLetterSpacing : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing letter spacing</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrLetterSpacing (int letter_spacing);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="letter_spacing" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new letter-spacing attribute</summary>
|
||||
<param name="letter_spacing">the amount of extra space to add between letters, in Pango units</param>
|
||||
<returns>a <see cref="T:Pango.AttrLetterSpacing" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="LetterSpacing">
|
||||
<MemberSignature Language="C#" Value="public int LetterSpacing { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The amount of extra space to add between letters, in Pango units</summary>
|
||||
<returns>a <see cref="T:System.Int32" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
56
doc/en/Pango/AttrRise.xml
Normal file
56
doc/en/Pango/AttrRise.xml
Normal file
|
@ -0,0 +1,56 @@
|
|||
<Type Name="AttrRise" FullName="Pango.AttrRise">
|
||||
<TypeSignature Language="C#" Value="public class AttrRise : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing baseline displacement</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrRise (int rise);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="rise" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new baseline displacement attribute</summary>
|
||||
<param name="rise">the amount that the text should be displaced vertically, in Pango units. Positive values displace the text upwards</param>
|
||||
<returns>a <see cref="T:Pango.AttrRise" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Rise">
|
||||
<MemberSignature Language="C#" Value="public int Rise { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The amount that the text should be displaced vertically, in Pango units. Positive values displace the text upwards</summary>
|
||||
<returns>a <see cref="T:System.Int32" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
56
doc/en/Pango/AttrScale.xml
Normal file
56
doc/en/Pango/AttrScale.xml
Normal file
|
@ -0,0 +1,56 @@
|
|||
<Type Name="AttrScale" FullName="Pango.AttrScale">
|
||||
<TypeSignature Language="C#" Value="public class AttrScale : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing a font size scaling factor</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrScale (double scale);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="scale" Type="System.Double" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new font size scale attribute</summary>
|
||||
<param name="scale">the factor to scale the font by</param>
|
||||
<returns>a <see cref="T:Pango.AttrScale" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Scale">
|
||||
<MemberSignature Language="C#" Value="public double Scale { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Double</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The factor to scale the font by</summary>
|
||||
<returns>a <see cref="T:System.Double" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -10,136 +10,61 @@
|
|||
</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>
|
||||
<summary>Used to represent attributes which impose shape restrictions.</summary>
|
||||
<summary>An attribute that imposes a shape restriction.</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Zero">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrShape Zero;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrShape</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns an empty <see cref="T:Pango.AttrShape" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrShape New (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrShape</ReturnType>
|
||||
</ReturnValue>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrShape (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="ink_rect" Type="Pango.Rectangle" />
|
||||
<Parameter Name="logical_rect" Type="Pango.Rectangle" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new <see cref="T:Pango.AttrShape" /> from the provided <see cref="T:Pango.Rectangle" />s.</summary>
|
||||
<param name="ink_rect">the ink rectangle to restrict to</param>
|
||||
<param name="logical_rect">the logical rectangle to restrict to</param>
|
||||
<returns>a new <see cref="T:Pango.AttrShape" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrShape New (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrShape</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<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.AttrShape" /></returns>
|
||||
<remarks>This is an internal method, and should not be used by user code.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Attr">
|
||||
<MemberSignature Language="C#" Value="public Pango.Attribute Attr;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the common portion of the attribute</summary>
|
||||
<remarks />
|
||||
<summary>Creates a new shape attribute</summary>
|
||||
<param name="ink_rect">a <see cref="T:Pango.Rectangle" /></param>
|
||||
<param name="logical_rect">a <see cref="T:Pango.Rectangle" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrShape" /></returns>
|
||||
<remarks>
|
||||
A shape is used to impose a particular ink and logical
|
||||
rectangle on the result of shaping a particular glyph. This
|
||||
might be used, for instance, for embedding a picture or a
|
||||
widget inside a <see cref="T:Pango.Layout" />.
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="InkRect">
|
||||
<MemberSignature Language="C#" Value="public Pango.Rectangle InkRect;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<MemberSignature Language="C#" Value="public Pango.Rectangle InkRect { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Rectangle</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>the ink rectangle to restrict to</summary>
|
||||
<summary>The ink rectangle to restrict to</summary>
|
||||
<returns>a <see cref="T:Pango.Rectangle" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="LogicalRect">
|
||||
<MemberSignature Language="C#" Value="public Pango.Rectangle LogicalRect;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<MemberSignature Language="C#" Value="public Pango.Rectangle LogicalRect { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Rectangle</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>the logical rectangle to restrict to</summary>
|
||||
<summary>The logical rectangle to restrict to</summary>
|
||||
<returns>a <see cref="T:Pango.Rectangle" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="DestroyFunc">
|
||||
<MemberSignature Language="C#" Value="public IntPtr DestroyFunc;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.IntPtr</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="NewWithData">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrShape NewWithData (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect, IntPtr data, Pango.AttrDataCopyFunc copy_func, IntPtr destroy_func);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrShape</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="ink_rect" Type="Pango.Rectangle" />
|
||||
<Parameter Name="logical_rect" Type="Pango.Rectangle" />
|
||||
<Parameter Name="data" Type="System.IntPtr" />
|
||||
<Parameter Name="copy_func" Type="Pango.AttrDataCopyFunc" />
|
||||
<Parameter Name="destroy_func" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="ink_rect">a <see cref="T:Pango.Rectangle" /></param>
|
||||
<param name="logical_rect">a <see cref="T:Pango.Rectangle" /></param>
|
||||
<param name="data">a <see cref="T:System.IntPtr" /></param>
|
||||
<param name="copy_func">a <see cref="T:Pango.AttrDataCopyFunc" /></param>
|
||||
<param name="destroy_func">a <see cref="T:System.IntPtr" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrShape" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -9,100 +9,74 @@
|
|||
</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>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>An attribute that represents a font size.</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Zero">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrSize Zero;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrSize</ReturnType>
|
||||
</ReturnValue>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrSize (int size);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="size" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Creates a new font-size attribute in fractional points</summary>
|
||||
<param name="size">the font size, in units of <see cref="T:Pango.Scale.PangoScale" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrSize" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Attr">
|
||||
<MemberSignature Language="C#" Value="public Pango.Attribute Attr;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrSize (int size, bool absolute);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="size" Type="System.Int32" />
|
||||
<Parameter Name="absolute" Type="System.Boolean" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Creates a new font-size attribute in Pango or device units</summary>
|
||||
<param name="size">the font size, in Pango or device units</param>
|
||||
<param name="absolute">if <see langword="true" />, <paramref name="size" /> is in device units</param>
|
||||
<returns>a <see cref="T:Pango.AttrSize" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Size">
|
||||
<MemberSignature Language="C#" Value="public int Size;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<MemberSignature Language="C#" Value="public int Size { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>The font size</summary>
|
||||
<returns>a <see cref="T:System.Int32" /></returns>
|
||||
<remarks>
|
||||
If <see cref="M:Pango.AttrSize.Absolute" /> is <see langword="true" />, this is the font size in device units.
|
||||
If it is <see langword="false" />, this is the font size
|
||||
in units of 1/<see cref="M:Pango.Scale.PangoScale" /> of a
|
||||
point.
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrSize New (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<Member MemberName="Absolute">
|
||||
<MemberSignature Language="C#" Value="public bool Absolute { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrSize</ReturnType>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="raw">a <see cref="T:System.IntPtr" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrSize" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrSize New (int size);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrSize</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="size" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="size">a <see cref="T:System.Int32" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrSize" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="NewAbsolute">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrSize NewAbsolute (int size);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrSize</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="size" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="size">a <see cref="T:System.Int32" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrSize" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Whether or not <see cref="M:Pango.AttrSize.Size" /> is in device units</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
|
56
doc/en/Pango/AttrStretch.xml
Normal file
56
doc/en/Pango/AttrStretch.xml
Normal file
|
@ -0,0 +1,56 @@
|
|||
<Type Name="AttrStretch" FullName="Pango.AttrStretch">
|
||||
<TypeSignature Language="C#" Value="public class AttrStretch : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing font stretch</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrStretch (Pango.Stretch stretch);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="stretch" Type="Pango.Stretch" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new font stretch attribute</summary>
|
||||
<param name="stretch">the stretch</param>
|
||||
<returns>a <see cref="T:Pango.AttrStretch" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Stretch">
|
||||
<MemberSignature Language="C#" Value="public Pango.Stretch Stretch { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Stretch</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The font stretch</summary>
|
||||
<returns>a <see cref="T:Pango.Stretch" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
56
doc/en/Pango/AttrStrikethrough.xml
Normal file
56
doc/en/Pango/AttrStrikethrough.xml
Normal file
|
@ -0,0 +1,56 @@
|
|||
<Type Name="AttrStrikethrough" FullName="Pango.AttrStrikethrough">
|
||||
<TypeSignature Language="C#" Value="public class AttrStrikethrough : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute indicating whether or not text is struck-through</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrStrikethrough (bool strikethrough);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="strikethrough" Type="System.Boolean" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new font strike-through attribute</summary>
|
||||
<param name="strikethrough"><see langword="true" /> if the text should be struck-through</param>
|
||||
<returns>a <see cref="T:Pango.AttrStrikethrough" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Strikethrough">
|
||||
<MemberSignature Language="C#" Value="public bool Strikethrough { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Whether or not the text is struck-through</summary>
|
||||
<returns>a <see cref="T:System.Boolean" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
74
doc/en/Pango/AttrStrikethroughColor.xml
Normal file
74
doc/en/Pango/AttrStrikethroughColor.xml
Normal file
|
@ -0,0 +1,74 @@
|
|||
<Type Name="AttrStrikethroughColor" FullName="Pango.AttrStrikethroughColor">
|
||||
<TypeSignature Language="C#" Value="public class AttrStrikethroughColor : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing the color of a strikethrough line</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrStrikethroughColor (ushort red, ushort green, ushort blue);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="red" Type="System.UInt16" />
|
||||
<Parameter Name="green" Type="System.UInt16" />
|
||||
<Parameter Name="blue" Type="System.UInt16" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new strikethrough color attribute.</summary>
|
||||
<param name="red">the red value</param>
|
||||
<param name="green">the green value</param>
|
||||
<param name="blue">the blue value</param>
|
||||
<returns>a <see cref="T:Pango.AttrStrikethroughColor" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrStrikethroughColor (Pango.Color color);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="color" Type="Pango.Color" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new strikethrough color attribute.</summary>
|
||||
<param name="color">a <see cref="T:Pango.Color" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrStrikethroughColor" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Color">
|
||||
<MemberSignature Language="C#" Value="public Pango.Color Color { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Color</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The color represented by this attribute</summary>
|
||||
<returns>a <see cref="T:Pango.Color" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -1,77 +0,0 @@
|
|||
<Type Name="AttrString" FullName="Pango.AttrString">
|
||||
<TypeSignature Language="C#" Value="public sealed struct AttrString;" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>
|
||||
</AssemblyPublicKey>
|
||||
<AssemblyVersion>0.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>Used to represent attributes with a string value.</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Zero">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrString Zero;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrString</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns an empty <see cref="T:Pango.AttrString" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.AttrString New (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrString</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<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.AttrString" /></returns>
|
||||
<remarks>This is an internal method, and should not be used by user code.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Attr">
|
||||
<MemberSignature Language="C#" Value="public Pango.Attribute Attr;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the common portion of the attribute</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Value">
|
||||
<MemberSignature Language="C#" Value="public string Value;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.String</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>the string which is the value of the attribute</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
56
doc/en/Pango/AttrStyle.xml
Normal file
56
doc/en/Pango/AttrStyle.xml
Normal file
|
@ -0,0 +1,56 @@
|
|||
<Type Name="AttrStyle" FullName="Pango.AttrStyle">
|
||||
<TypeSignature Language="C#" Value="public class AttrStyle : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing a <see cref="T:Pango.Style" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrStyle (Pango.Style style);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="style" Type="Pango.Style" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new font slant syle attribute</summary>
|
||||
<param name="style">the slant style</param>
|
||||
<returns>a <see cref="T:Pango.AttrStyle" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Style">
|
||||
<MemberSignature Language="C#" Value="public Pango.Style Style { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Style</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The font slant style</summary>
|
||||
<returns>a <see cref="T:Pango.Style" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
56
doc/en/Pango/AttrUnderline.xml
Normal file
56
doc/en/Pango/AttrUnderline.xml
Normal file
|
@ -0,0 +1,56 @@
|
|||
<Type Name="AttrUnderline" FullName="Pango.AttrUnderline">
|
||||
<TypeSignature Language="C#" Value="public class AttrUnderline : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing underlining</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrUnderline (Pango.Underline underline);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="underline" Type="Pango.Underline" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new underline-style object</summary>
|
||||
<param name="underline">the underline style</param>
|
||||
<returns>a <see cref="T:Pango.AttrUnderline" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Underline">
|
||||
<MemberSignature Language="C#" Value="public Pango.Underline Underline { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Underline</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The underline style</summary>
|
||||
<returns>a <see cref="T:Pango.Underline" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
74
doc/en/Pango/AttrUnderlineColor.xml
Normal file
74
doc/en/Pango/AttrUnderlineColor.xml
Normal file
|
@ -0,0 +1,74 @@
|
|||
<Type Name="AttrUnderlineColor" FullName="Pango.AttrUnderlineColor">
|
||||
<TypeSignature Language="C#" Value="public class AttrUnderlineColor : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing the color of an underline</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrUnderlineColor (ushort red, ushort green, ushort blue);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="red" Type="System.UInt16" />
|
||||
<Parameter Name="green" Type="System.UInt16" />
|
||||
<Parameter Name="blue" Type="System.UInt16" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new underline color attribute.</summary>
|
||||
<param name="red">the red value</param>
|
||||
<param name="green">the green value</param>
|
||||
<param name="blue">the blue value</param>
|
||||
<returns>a <see cref="T:Pango.AttrUnderlineColor" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrUnderlineColor (Pango.Color color);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="color" Type="Pango.Color" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new underline color attribute.</summary>
|
||||
<param name="color">a <see cref="T:Pango.Color" /></param>
|
||||
<returns>a <see cref="T:Pango.AttrUnderlineColor" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Color">
|
||||
<MemberSignature Language="C#" Value="public Pango.Color Color { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Color</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The color represented by this attribute</summary>
|
||||
<returns>a <see cref="T:Pango.Color" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
56
doc/en/Pango/AttrVariant.xml
Normal file
56
doc/en/Pango/AttrVariant.xml
Normal file
|
@ -0,0 +1,56 @@
|
|||
<Type Name="AttrVariant" FullName="Pango.AttrVariant">
|
||||
<TypeSignature Language="C#" Value="public class AttrVariant : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing <see cref="T:Pango.Variant" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrVariant (Pango.Variant variant);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="variant" Type="Pango.Variant" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new font variant attribute</summary>
|
||||
<param name="variant">the variant</param>
|
||||
<returns>a <see cref="T:Pango.AttrVariant" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Variant">
|
||||
<MemberSignature Language="C#" Value="public Pango.Variant Variant { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Variant</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The variant</summary>
|
||||
<returns>a <see cref="T:Pango.Variant" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
56
doc/en/Pango/AttrWeight.xml
Normal file
56
doc/en/Pango/AttrWeight.xml
Normal file
|
@ -0,0 +1,56 @@
|
|||
<Type Name="AttrWeight" FullName="Pango.AttrWeight">
|
||||
<TypeSignature Language="C#" Value="public class AttrWeight : Pango.Attribute, IWrapper, IDisposable" Maintainer="auto" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>pango-sharp</AssemblyName>
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<AssemblyCulture>neutral</AssemblyCulture>
|
||||
<Attributes />
|
||||
</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>
|
||||
<summary>An attribute representing <see cref="T:Pango.Weight" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces>
|
||||
<Interface>
|
||||
<InterfaceName>GLib.IWrapper</InterfaceName>
|
||||
</Interface>
|
||||
<Interface>
|
||||
<InterfaceName>System.IDisposable</InterfaceName>
|
||||
</Interface>
|
||||
</Interfaces>
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public AttrWeight (Pango.Weight weight);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<ReturnValue />
|
||||
<Parameters>
|
||||
<Parameter Name="weight" Type="Pango.Weight" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Creates a new font weight attribute</summary>
|
||||
<param name="weight">the weight</param>
|
||||
<returns>a <see cref="T:Pango.AttrWeight" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Weight">
|
||||
<MemberSignature Language="C#" Value="public Pango.Weight Weight { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Weight</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The weight</summary>
|
||||
<returns>a <see cref="T:Pango.Weight" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
|
@ -10,43 +10,15 @@
|
|||
</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>
|
||||
<summary>This structure represents the common portions of all attributes</summary>
|
||||
<remarks>Particular types of attributes include this structure as their initial portion. The common portion of the attribute holds the range to which the value in the type-specific part of the attribute applies.</remarks>
|
||||
<summary>This is the base class for all Pango text attributes</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
<Base>
|
||||
<BaseTypeName>System.ValueType</BaseTypeName>
|
||||
<BaseTypeName>System.Object</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Attributes />
|
||||
<Members>
|
||||
<Member MemberName="Zero">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute Zero;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Returns an empty <see cref="T:Pango.Attribute" /></summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="New">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute New (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<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.Attribute" /></returns>
|
||||
<remarks>This is an internal method, and should not be used by user code.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Equal">
|
||||
<MemberSignature Language="C#" Value="public bool Equal (Pango.Attribute attr2);" />
|
||||
<MemberType>Method</MemberType>
|
||||
|
@ -64,18 +36,6 @@
|
|||
<remarks>This compares only the actual value of the two attributes and not the ranges that the attributes apply to.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Destroy">
|
||||
<MemberSignature Language="C#" Value="public void Destroy ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Destroy a <see cref="T:Pango.Attribute" /> and free all associated memory.</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Copy">
|
||||
<MemberSignature Language="C#" Value="public Pango.Attribute Copy ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
|
@ -89,43 +49,110 @@
|
|||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="klass">
|
||||
<MemberSignature Language="C#" Value="public Pango.AttrClass klass { get; };" />
|
||||
<Member MemberName="GType">
|
||||
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrClass</ReturnType>
|
||||
<ReturnType>GLib.GType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>the class structure holding information about the type of the attribute</summary>
|
||||
<returns>an object of type <see cref="T:Pango.AttrClass" /></returns>
|
||||
<summary>GType property</summary>
|
||||
<returns>a <see cref="T:GLib.GType" /></returns>
|
||||
<remarks>Returns the <see cref="T:GLib.GType" /> value for <see cref="T:Pango.Attribute" /></remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Handle">
|
||||
<MemberSignature Language="C#" Value="public virtual IntPtr Handle { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.IntPtr</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Pointer to the raw PangoAttribute structure associated with this object.</summary>
|
||||
<returns>a <see cref="T:System.IntPtr" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Type">
|
||||
<MemberSignature Language="C#" Value="public Pango.AttrType Type { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.AttrType</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>The attribute type</summary>
|
||||
<returns>a <see cref="T:Pango.AttrType" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="StartIndex">
|
||||
<MemberSignature Language="C#" Value="public uint StartIndex;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<MemberSignature Language="C#" Value="public uint StartIndex { set; get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.UInt32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>the start index of the range (in bytes).</summary>
|
||||
<returns>a <see cref="T:System.UInt32" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="EndIndex">
|
||||
<MemberSignature Language="C#" Value="public uint EndIndex;" />
|
||||
<MemberType>Field</MemberType>
|
||||
<MemberSignature Language="C#" Value="public uint EndIndex { set; get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.UInt32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
</Parameters>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>end index of the range.</summary>
|
||||
<returns>a <see cref="T:System.UInt32" /></returns>
|
||||
<remarks>The character containing this byte index is not included in the range.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetAttribute">
|
||||
<MemberSignature Language="C#" Value="public static Pango.Attribute GetAttribute (IntPtr raw);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>Pango.Attribute</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="raw" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Gets an Attribute or Attribute subclass for a native PangoAttribute pointer</summary>
|
||||
<param name="raw">a <see cref="T:System.IntPtr" /></param>
|
||||
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Finalize">
|
||||
<MemberSignature Language="C#" Value="protected override void Finalize ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Finalizer</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Dispose">
|
||||
<MemberSignature Language="C#" Value="public virtual void Dispose ();" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Dispose method</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
44
pango/AttrBackground.cs
Normal file
44
pango/AttrBackground.cs
Normal file
|
@ -0,0 +1,44 @@
|
|||
// Pango.AttrBackground - Pango.Attribute for background color
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrBackground : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_background_new (ushort red, ushort green, ushort blue);
|
||||
|
||||
public AttrBackground (ushort red, ushort green, ushort blue) : this (pango_attr_background_new (red, green, blue)) {}
|
||||
|
||||
public AttrBackground (Pango.Color color) : this (pango_attr_background_new (color.Red, color.Green, color.Blue)) {}
|
||||
|
||||
internal AttrBackground (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw);
|
||||
|
||||
public Pango.Color Color {
|
||||
get {
|
||||
return pangosharp_attr_color_get_color (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
pango/AttrFallback.cs
Normal file
42
pango/AttrFallback.cs
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Pango.AttrFallback - Pango.Attribute for font fallback
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrFallback : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_fallback_new (bool fallback);
|
||||
|
||||
public AttrFallback (bool fallback) : this (pango_attr_fallback_new (fallback)) {}
|
||||
|
||||
internal AttrFallback (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern int pangosharp_attr_int_get_value (IntPtr raw);
|
||||
|
||||
public bool Fallback {
|
||||
get {
|
||||
return pangosharp_attr_int_get_value (Handle) != 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
51
pango/AttrFamily.cs
Normal file
51
pango/AttrFamily.cs
Normal file
|
@ -0,0 +1,51 @@
|
|||
// Pango.AttrFamily - Pango.Attribute for font families
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrFamily : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_family_new (IntPtr family);
|
||||
|
||||
public AttrFamily (string family) : base (NewAttrFamily (family)) {}
|
||||
|
||||
static IntPtr NewAttrFamily (string family)
|
||||
{
|
||||
IntPtr family_raw = GLib.Marshaller.StringToPtrGStrdup (family);
|
||||
IntPtr attr_raw = pango_attr_family_new (family_raw);
|
||||
GLib.Marshaller.Free (family_raw);
|
||||
return attr_raw;
|
||||
}
|
||||
|
||||
internal AttrFamily (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern IntPtr pangosharp_attr_string_get_value (IntPtr raw);
|
||||
|
||||
public string Family {
|
||||
get {
|
||||
IntPtr raw_family = pangosharp_attr_string_get_value (Handle);
|
||||
return GLib.Marshaller.Utf8PtrToString (raw_family);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
43
pango/AttrFontDesc.cs
Normal file
43
pango/AttrFontDesc.cs
Normal file
|
@ -0,0 +1,43 @@
|
|||
// Pango.AttrFontDesc - Pango.Attribute for Pango.FontDescription
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrFontDesc : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_font_desc_new (IntPtr font_desc);
|
||||
|
||||
public AttrFontDesc (Pango.FontDescription font_desc) : this (pango_attr_font_desc_new (font_desc.Handle)) {}
|
||||
|
||||
internal AttrFontDesc (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern IntPtr pangosharp_attr_font_desc_get_desc (IntPtr raw);
|
||||
|
||||
public Pango.FontDescription Desc {
|
||||
get {
|
||||
IntPtr raw_ret = pangosharp_attr_font_desc_get_desc (Handle);
|
||||
return new Pango.FontDescription (raw_ret);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
44
pango/AttrForeground.cs
Normal file
44
pango/AttrForeground.cs
Normal file
|
@ -0,0 +1,44 @@
|
|||
// Pango.AttrForeground - Pango.Attribute for foreground color
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrForeground : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_foreground_new (ushort red, ushort green, ushort blue);
|
||||
|
||||
public AttrForeground (ushort red, ushort green, ushort blue) : this (pango_attr_foreground_new (red, green, blue)) {}
|
||||
|
||||
public AttrForeground (Pango.Color color) : this (pango_attr_foreground_new (color.Red, color.Green, color.Blue)) {}
|
||||
|
||||
internal AttrForeground (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw);
|
||||
|
||||
public Pango.Color Color {
|
||||
get {
|
||||
return pangosharp_attr_color_get_color (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -37,8 +37,8 @@
|
|||
GLib.SList list = new GLib.SList (list_handle);
|
||||
extra_attrs = new Pango.Attribute [list.Count];
|
||||
int i = 0;
|
||||
foreach (Pango.Attribute attr in list)
|
||||
extra_attrs [i++] = attr;
|
||||
foreach (IntPtr raw_attr in list)
|
||||
extra_attrs [i++] = Pango.Attribute.GetAttribute (raw_attr);
|
||||
}
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
|
@ -52,8 +52,8 @@
|
|||
GLib.SList list = new GLib.SList (list_handle);
|
||||
Pango.Attribute[] attrs = new Pango.Attribute [list.Count];
|
||||
int i = 0;
|
||||
foreach (Pango.Attribute attr in list)
|
||||
attrs [i++] = attr;
|
||||
foreach (IntPtr raw_attr in list)
|
||||
attrs [i++] = Pango.Attribute.GetAttribute (raw_attr);
|
||||
return attrs;
|
||||
}
|
||||
}
|
||||
|
|
43
pango/AttrLanguage.cs
Normal file
43
pango/AttrLanguage.cs
Normal file
|
@ -0,0 +1,43 @@
|
|||
// Pango.AttrLanguage - Pango.Attribute for Pango.Language
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrLanguage : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_language_new (IntPtr language);
|
||||
|
||||
public AttrLanguage (Pango.Language language) : this (pango_attr_language_new (language.Handle)) {}
|
||||
|
||||
internal AttrLanguage (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern IntPtr pangosharp_attr_language_get_value (IntPtr raw);
|
||||
|
||||
public Pango.Language Language {
|
||||
get {
|
||||
IntPtr raw_ret = pangosharp_attr_language_get_value (Handle);
|
||||
return new Pango.Language (raw_ret);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
pango/AttrLetterSpacing.cs
Normal file
42
pango/AttrLetterSpacing.cs
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Pango.AttrLetterSpacing - Pango.Attribute for baseline displacement
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrLetterSpacing : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_letter_spacing_new (int letter_spacing);
|
||||
|
||||
public AttrLetterSpacing (int letter_spacing) : this (pango_attr_letter_spacing_new (letter_spacing)) {}
|
||||
|
||||
internal AttrLetterSpacing (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern int pangosharp_attr_int_get_value (IntPtr raw);
|
||||
|
||||
public int LetterSpacing {
|
||||
get {
|
||||
return pangosharp_attr_int_get_value (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
pango/AttrRise.cs
Normal file
42
pango/AttrRise.cs
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Pango.AttrRise - Pango.Attribute for baseline displacement
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrRise : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_rise_new (int rise);
|
||||
|
||||
public AttrRise (int rise) : this (pango_attr_rise_new (rise)) {}
|
||||
|
||||
internal AttrRise (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern int pangosharp_attr_int_get_value (IntPtr raw);
|
||||
|
||||
public int Rise {
|
||||
get {
|
||||
return pangosharp_attr_int_get_value (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
pango/AttrScale.cs
Normal file
42
pango/AttrScale.cs
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Pango.AttrScale - Pango.Attribute for font size scale
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrScale : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_scale_new (double scale);
|
||||
|
||||
public AttrScale (double scale) : this (pango_attr_scale_new (scale)) {}
|
||||
|
||||
internal AttrScale (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern double pangosharp_attr_float_get_value (IntPtr raw);
|
||||
|
||||
public double Scale {
|
||||
get {
|
||||
return pangosharp_attr_float_get_value (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
51
pango/AttrShape.cs
Normal file
51
pango/AttrShape.cs
Normal file
|
@ -0,0 +1,51 @@
|
|||
// Pango.AttrShape - Pango.Attribute for shape restrictions
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrShape : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_shape_new (ref Pango.Rectangle ink_rect, ref Pango.Rectangle logical_rect);
|
||||
|
||||
public AttrShape (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect) : this (pango_attr_shape_new (ref ink_rect, ref logical_rect)) {}
|
||||
|
||||
internal AttrShape (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern Pango.Rectangle pangosharp_attr_shape_get_ink_rect (IntPtr raw);
|
||||
|
||||
public Pango.Rectangle InkRect {
|
||||
get {
|
||||
return pangosharp_attr_shape_get_ink_rect (Handle);
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern Pango.Rectangle pangosharp_attr_shape_get_logical_rect (IntPtr raw);
|
||||
|
||||
public Pango.Rectangle LogicalRect {
|
||||
get {
|
||||
return pangosharp_attr_shape_get_logical_rect (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
56
pango/AttrSize.cs
Normal file
56
pango/AttrSize.cs
Normal file
|
@ -0,0 +1,56 @@
|
|||
// Pango.AttrSize - Pango.Attribute for font size
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrSize : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_size_new (int size);
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_size_new_absolute (int size);
|
||||
|
||||
public AttrSize (int size) : this (pango_attr_size_new (size)) {}
|
||||
|
||||
public AttrSize (int size, bool absolute) : this (absolute ? pango_attr_size_new (size) : pango_attr_size_new_absolute (size)) {}
|
||||
|
||||
internal AttrSize (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern int pangosharp_attr_size_get_size (IntPtr raw);
|
||||
|
||||
public int Size {
|
||||
get {
|
||||
return pangosharp_attr_size_get_size (Handle);
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern bool pangosharp_attr_size_get_absolute (IntPtr raw);
|
||||
|
||||
public bool Absolute {
|
||||
get {
|
||||
return pangosharp_attr_size_get_absolute (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
pango/AttrStretch.cs
Normal file
42
pango/AttrStretch.cs
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Pango.AttrStretch - Pango.Attribute for Pango.Stretch
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrStretch : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_stretch_new (Pango.Stretch stretch);
|
||||
|
||||
public AttrStretch (Pango.Stretch stretch) : this (pango_attr_stretch_new (stretch)) {}
|
||||
|
||||
internal AttrStretch (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern int pangosharp_attr_int_get_value (IntPtr raw);
|
||||
|
||||
public Pango.Stretch Stretch {
|
||||
get {
|
||||
return (Pango.Stretch)pangosharp_attr_int_get_value (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
pango/AttrStrikethrough.cs
Normal file
42
pango/AttrStrikethrough.cs
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Pango.AttrStrikethrough - Pango.Attribute for strikethrough
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrStrikethrough : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_strikethrough_new (bool strikethrough);
|
||||
|
||||
public AttrStrikethrough (bool strikethrough) : this (pango_attr_strikethrough_new (strikethrough)) {}
|
||||
|
||||
internal AttrStrikethrough (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern int pangosharp_attr_int_get_value (IntPtr raw);
|
||||
|
||||
public bool Strikethrough {
|
||||
get {
|
||||
return pangosharp_attr_int_get_value (Handle) != 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
44
pango/AttrStrikethroughColor.cs
Normal file
44
pango/AttrStrikethroughColor.cs
Normal file
|
@ -0,0 +1,44 @@
|
|||
// Pango.AttrStrikethroughColor - Pango.Attribute for strikethrough color
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrStrikethroughColor : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_strikethrough_color_new (ushort red, ushort green, ushort blue);
|
||||
|
||||
public AttrStrikethroughColor (ushort red, ushort green, ushort blue) : this (pango_attr_strikethrough_color_new (red, green, blue)) {}
|
||||
|
||||
public AttrStrikethroughColor (Pango.Color color) : this (pango_attr_strikethrough_color_new (color.Red, color.Green, color.Blue)) {}
|
||||
|
||||
internal AttrStrikethroughColor (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw);
|
||||
|
||||
public Pango.Color Color {
|
||||
get {
|
||||
return pangosharp_attr_color_get_color (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
pango/AttrStyle.cs
Normal file
42
pango/AttrStyle.cs
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Pango.AttrStyle - Pango.Attribute for Pango.Style
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrStyle : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_style_new (Pango.Style style);
|
||||
|
||||
public AttrStyle (Pango.Style style) : this (pango_attr_style_new (style)) {}
|
||||
|
||||
internal AttrStyle (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern int pangosharp_attr_int_get_value (IntPtr raw);
|
||||
|
||||
public Pango.Style Style {
|
||||
get {
|
||||
return (Pango.Style)pangosharp_attr_int_get_value (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
pango/AttrUnderline.cs
Normal file
42
pango/AttrUnderline.cs
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Pango.AttrUnderline - Pango.Attribute for Pango.Underline
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrUnderline : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_underline_new (Pango.Underline underline);
|
||||
|
||||
public AttrUnderline (Pango.Underline underline) : this (pango_attr_underline_new (underline)) {}
|
||||
|
||||
internal AttrUnderline (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern int pangosharp_attr_int_get_value (IntPtr raw);
|
||||
|
||||
public Pango.Underline Underline {
|
||||
get {
|
||||
return (Pango.Underline)pangosharp_attr_int_get_value (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
44
pango/AttrUnderlineColor.cs
Normal file
44
pango/AttrUnderlineColor.cs
Normal file
|
@ -0,0 +1,44 @@
|
|||
// Pango.AttrUnderlineColor - Pango.Attribute for underline color
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrUnderlineColor : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_underline_color_new (ushort red, ushort green, ushort blue);
|
||||
|
||||
public AttrUnderlineColor (ushort red, ushort green, ushort blue) : this (pango_attr_underline_color_new (red, green, blue)) {}
|
||||
|
||||
public AttrUnderlineColor (Pango.Color color) : this (pango_attr_underline_color_new (color.Red, color.Green, color.Blue)) {}
|
||||
|
||||
internal AttrUnderlineColor (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw);
|
||||
|
||||
public Pango.Color Color {
|
||||
get {
|
||||
return pangosharp_attr_color_get_color (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
pango/AttrVariant.cs
Normal file
42
pango/AttrVariant.cs
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Pango.AttrVariant - Pango.Attribute for Pango.Variant
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrVariant : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_variant_new (Pango.Variant variant);
|
||||
|
||||
public AttrVariant (Pango.Variant variant) : this (pango_attr_variant_new (variant)) {}
|
||||
|
||||
internal AttrVariant (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern int pangosharp_attr_int_get_value (IntPtr raw);
|
||||
|
||||
public Pango.Variant Variant {
|
||||
get {
|
||||
return (Pango.Variant)pangosharp_attr_int_get_value (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
pango/AttrWeight.cs
Normal file
42
pango/AttrWeight.cs
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Pango.AttrWeight - Pango.Attribute for Pango.Weight
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class AttrWeight : Attribute {
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attr_weight_new (Pango.Weight weight);
|
||||
|
||||
public AttrWeight (Pango.Weight weight) : this (pango_attr_weight_new (weight)) {}
|
||||
|
||||
internal AttrWeight (IntPtr raw) : base (raw) {}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern int pangosharp_attr_int_get_value (IntPtr raw);
|
||||
|
||||
public Pango.Weight Weight {
|
||||
get {
|
||||
return (Pango.Weight)pangosharp_attr_int_get_value (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
161
pango/Attribute.cs
Normal file
161
pango/Attribute.cs
Normal file
|
@ -0,0 +1,161 @@
|
|||
// Pango.Attribute - Attribute "base class"
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Pango {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class Attribute : GLib.IWrapper, IDisposable {
|
||||
|
||||
IntPtr raw;
|
||||
|
||||
internal Attribute (IntPtr raw)
|
||||
{
|
||||
this.raw = raw;
|
||||
}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern Pango.AttrType pangosharp_attribute_get_attr_type (IntPtr raw);
|
||||
|
||||
public static Attribute GetAttribute (IntPtr raw)
|
||||
{
|
||||
switch (pangosharp_attribute_get_attr_type (raw)) {
|
||||
case Pango.AttrType.Language:
|
||||
return new AttrLanguage (raw);
|
||||
case Pango.AttrType.Family:
|
||||
return new AttrFamily (raw);
|
||||
case Pango.AttrType.Style:
|
||||
return new AttrStyle (raw);
|
||||
case Pango.AttrType.Weight:
|
||||
return new AttrWeight (raw);
|
||||
case Pango.AttrType.Variant:
|
||||
return new AttrVariant (raw);
|
||||
case Pango.AttrType.Stretch:
|
||||
return new AttrStretch (raw);
|
||||
case Pango.AttrType.Size:
|
||||
return new AttrSize (raw);
|
||||
case Pango.AttrType.FontDesc:
|
||||
return new AttrFontDesc (raw);
|
||||
case Pango.AttrType.Foreground:
|
||||
return new AttrForeground (raw);
|
||||
case Pango.AttrType.Background:
|
||||
return new AttrBackground (raw);
|
||||
case Pango.AttrType.Underline:
|
||||
return new AttrUnderline (raw);
|
||||
case Pango.AttrType.Strikethrough:
|
||||
return new AttrStrikethrough (raw);
|
||||
case Pango.AttrType.Rise:
|
||||
return new AttrRise (raw);
|
||||
case Pango.AttrType.Shape:
|
||||
return new AttrShape (raw);
|
||||
case Pango.AttrType.Scale:
|
||||
return new AttrScale (raw);
|
||||
case Pango.AttrType.Fallback:
|
||||
return new AttrFallback (raw);
|
||||
case Pango.AttrType.LetterSpacing:
|
||||
return new AttrLetterSpacing (raw);
|
||||
case Pango.AttrType.UnderlineColor:
|
||||
return new AttrUnderlineColor (raw);
|
||||
case Pango.AttrType.StrikethroughColor:
|
||||
return new AttrStrikethroughColor (raw);
|
||||
default:
|
||||
return new Attribute (raw);
|
||||
}
|
||||
}
|
||||
|
||||
~Attribute ()
|
||||
{
|
||||
Dispose ();
|
||||
}
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern void pango_attribute_destroy (IntPtr raw);
|
||||
|
||||
public void Dispose ()
|
||||
{
|
||||
if (raw != IntPtr.Zero) {
|
||||
pango_attribute_destroy (raw);
|
||||
raw = IntPtr.Zero;
|
||||
}
|
||||
GC.SuppressFinalize (this);
|
||||
}
|
||||
|
||||
public IntPtr Handle {
|
||||
get {
|
||||
return raw;
|
||||
}
|
||||
}
|
||||
|
||||
public static GLib.GType GType {
|
||||
get {
|
||||
return GLib.GType.Pointer;
|
||||
}
|
||||
}
|
||||
|
||||
public Pango.AttrType Type {
|
||||
get {
|
||||
return pangosharp_attribute_get_attr_type (raw);
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern uint pangosharp_attribute_get_start_index (IntPtr raw);
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern void pangosharp_attribute_set_start_index (IntPtr raw, uint index);
|
||||
|
||||
public uint StartIndex {
|
||||
get {
|
||||
return pangosharp_attribute_get_start_index (raw);
|
||||
}
|
||||
set {
|
||||
pangosharp_attribute_set_start_index (raw, value);
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern uint pangosharp_attribute_get_end_index (IntPtr raw);
|
||||
|
||||
[DllImport("pangosharpglue-2")]
|
||||
static extern void pangosharp_attribute_set_end_index (IntPtr raw, uint index);
|
||||
|
||||
public uint EndIndex {
|
||||
get {
|
||||
return pangosharp_attribute_get_end_index (raw);
|
||||
}
|
||||
set {
|
||||
pangosharp_attribute_set_end_index (raw, value);
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern IntPtr pango_attribute_copy (IntPtr raw);
|
||||
|
||||
public Pango.Attribute Copy () {
|
||||
return GetAttribute (pango_attribute_copy (raw));
|
||||
}
|
||||
|
||||
[DllImport("libpango-1.0-0.dll")]
|
||||
static extern bool pango_attribute_equal (IntPtr raw1, IntPtr raw2);
|
||||
|
||||
public bool Equal (Pango.Attribute attr2) {
|
||||
return pango_attribute_equal (raw, attr2.raw);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2,10 +2,30 @@ SUBDIRS = . glue
|
|||
|
||||
pkg = pango
|
||||
METADATA = Pango.metadata
|
||||
SYMBOLS =
|
||||
SYMBOLS = pango-symbols.xml
|
||||
references = ../glib/glib-sharp.dll
|
||||
|
||||
sources = \
|
||||
Attribute.cs \
|
||||
AttrBackground.cs \
|
||||
AttrFallback.cs \
|
||||
AttrFamily.cs \
|
||||
AttrFontDesc.cs \
|
||||
AttrForeground.cs \
|
||||
AttrLanguage.cs \
|
||||
AttrLetterSpacing.cs \
|
||||
AttrRise.cs \
|
||||
AttrScale.cs \
|
||||
AttrShape.cs \
|
||||
AttrSize.cs \
|
||||
AttrStretch.cs \
|
||||
AttrStrikethroughColor.cs \
|
||||
AttrStrikethrough.cs \
|
||||
AttrStyle.cs \
|
||||
AttrUnderlineColor.cs \
|
||||
AttrUnderline.cs \
|
||||
AttrVariant.cs \
|
||||
AttrWeight.cs \
|
||||
Scale.cs
|
||||
|
||||
customs = \
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<attr path="/api/namespace/boxed[@cname='PangoTabArray']/constructor[@cname='pango_tab_array_new_with_positions']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/boxed[@cname='PangoTabArray']/method[@name='GetTabs']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/callback[@cname='PangoFT2SubstituteFunc']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/class[@cname='PangoAttr_']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/class[@cname='PangoGlobal']/method[@name='GetMirrorChar']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/class[@cname='PangoGlobal']/method[@name='ParseMarkup']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/class[@cname='PangoGlobal']/method[@name='ReadLine']" name="hidden">1</attr>
|
||||
|
@ -29,8 +30,18 @@
|
|||
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='SetMarkup']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='SetMarkupWithAccel']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='PangoLayout']/method[@name='SetText']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttribute']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrClass']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrColor']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrFloat']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrFontDesc']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrInt']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrIterator']/method[@name='GetAttrs']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrIterator']/method[@name='GetFont']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrLanguage']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrShape']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrSize']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoAttrString']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoCoverage']/method[@name='ToBytes']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoGlyphItem']/method[@name='ApplyAttrs']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoLayoutLine']" name="opaque">1</attr>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
lib_LTLIBRARIES = libpangosharpglue-2.la
|
||||
|
||||
libpangosharpglue_2_la_SOURCES = \
|
||||
attribute.c \
|
||||
layoutline.c
|
||||
|
||||
# Adding a new glue file?
|
||||
|
|
130
pango/glue/attribute.c
Normal file
130
pango/glue/attribute.c
Normal file
|
@ -0,0 +1,130 @@
|
|||
/* attribute.c : Glue to access fields in PangoAttribute and
|
||||
* subclasses.
|
||||
*
|
||||
* Copyright (c) 2005 Novell, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of version 2 of the Lesser GNU General
|
||||
* Public License as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this program; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <pango/pango-attributes.h>
|
||||
|
||||
/* Forward declarations */
|
||||
PangoAttrType pangosharp_attribute_get_attr_type (PangoAttribute *attr);
|
||||
guint pangosharp_attribute_get_start_index (PangoAttribute *attr);
|
||||
void pangosharp_attribute_set_start_index (PangoAttribute *attr, guint ind);
|
||||
guint pangosharp_attribute_get_end_index (PangoAttribute *attr);
|
||||
void pangosharp_attribute_set_end_index (PangoAttribute *attr, guint ind);
|
||||
const char *pangosharp_attr_string_get_value (PangoAttrString *attr);
|
||||
PangoLanguage *pangosharp_attr_language_get_value (PangoAttrLanguage *attr);
|
||||
PangoColor pangosharp_attr_color_get_color (PangoAttrColor *attr);
|
||||
int pangosharp_attr_int_get_value (PangoAttrInt *attr);
|
||||
double pangosharp_attr_float_get_value (PangoAttrFloat *attr);
|
||||
PangoFontDescription *pangosharp_attr_font_desc_get_desc (PangoAttrFontDesc *attr);
|
||||
PangoRectangle pangosharp_attr_shape_get_ink_rect (PangoAttrShape *attr);
|
||||
PangoRectangle pangosharp_attr_shape_get_logical_rect (PangoAttrShape *attr);
|
||||
int pangosharp_attr_size_get_size (PangoAttrSize *attr);
|
||||
gboolean pangosharp_attr_size_get_absolute (PangoAttrSize *attr);
|
||||
/* */
|
||||
|
||||
PangoAttrType
|
||||
pangosharp_attribute_get_attr_type (PangoAttribute *attr)
|
||||
{
|
||||
return attr->klass->type;
|
||||
}
|
||||
|
||||
guint
|
||||
pangosharp_attribute_get_start_index (PangoAttribute *attr)
|
||||
{
|
||||
return attr->start_index;
|
||||
}
|
||||
|
||||
void
|
||||
pangosharp_attribute_set_start_index (PangoAttribute *attr, guint ind)
|
||||
{
|
||||
attr->start_index = ind;
|
||||
}
|
||||
|
||||
guint
|
||||
pangosharp_attribute_get_end_index (PangoAttribute *attr)
|
||||
{
|
||||
return attr->end_index;
|
||||
}
|
||||
|
||||
void
|
||||
pangosharp_attribute_set_end_index (PangoAttribute *attr, guint ind)
|
||||
{
|
||||
attr->end_index = ind;
|
||||
}
|
||||
|
||||
const char *
|
||||
pangosharp_attr_string_get_value (PangoAttrString *attr)
|
||||
{
|
||||
return attr->value;
|
||||
}
|
||||
|
||||
PangoLanguage *
|
||||
pangosharp_attr_language_get_value (PangoAttrLanguage *attr)
|
||||
{
|
||||
return attr->value;
|
||||
}
|
||||
|
||||
PangoColor
|
||||
pangosharp_attr_color_get_color (PangoAttrColor *attr)
|
||||
{
|
||||
return attr->color;
|
||||
}
|
||||
|
||||
int
|
||||
pangosharp_attr_int_get_value (PangoAttrInt *attr)
|
||||
{
|
||||
return attr->value;
|
||||
}
|
||||
|
||||
double
|
||||
pangosharp_attr_float_get_value (PangoAttrFloat *attr)
|
||||
{
|
||||
return attr->value;
|
||||
}
|
||||
|
||||
PangoFontDescription *
|
||||
pangosharp_attr_font_desc_get_desc (PangoAttrFontDesc *attr)
|
||||
{
|
||||
return attr->desc;
|
||||
}
|
||||
|
||||
PangoRectangle
|
||||
pangosharp_attr_shape_get_ink_rect (PangoAttrShape *attr)
|
||||
{
|
||||
return attr->ink_rect;
|
||||
}
|
||||
|
||||
PangoRectangle
|
||||
pangosharp_attr_shape_get_logical_rect (PangoAttrShape *attr)
|
||||
{
|
||||
return attr->logical_rect;
|
||||
}
|
||||
|
||||
int
|
||||
pangosharp_attr_size_get_size (PangoAttrSize *attr)
|
||||
{
|
||||
return attr->size;
|
||||
}
|
||||
|
||||
gboolean
|
||||
pangosharp_attr_size_get_absolute (PangoAttrSize *attr)
|
||||
{
|
||||
return attr->absolute;
|
||||
}
|
||||
|
|
@ -4,6 +4,7 @@ CC=gcc -mno-cygwin -mms-bitfields
|
|||
DLLWRAP=dllwrap -mno-cygwin -mms-bitfields --target i386-mingw32 --export-all-symbols
|
||||
|
||||
GLUE_OBJS = \
|
||||
attribute.c \
|
||||
layoutline.o \
|
||||
win32dll.o
|
||||
|
||||
|
|
5
pango/pango-symbols.xml
Normal file
5
pango/pango-symbols.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<api>
|
||||
<symbol type="marshal" cname="PangoAttribute" name="Pango.Attribute" marshal_type="IntPtr" call_fmt="{0}.Handle" from_fmt="Pango.Attribute.GetAttribute ({0})"/>
|
||||
</api>
|
||||
|
Loading…
Reference in a new issue