b4a4db44dd
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
83 lines
No EOL
3.7 KiB
XML
83 lines
No EOL
3.7 KiB
XML
<Type Name="AttrSize" FullName="Pango.AttrSize">
|
|
<TypeSignature Language="C#" Value="public sealed struct AttrSize" 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 that represents a font size.</summary>
|
|
<remarks />
|
|
</Docs>
|
|
<Base>
|
|
<BaseTypeName>Pango.Attribute</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Attributes />
|
|
<Members>
|
|
<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>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=".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>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 { get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<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="Absolute">
|
|
<MemberSignature Language="C#" Value="public bool Absolute { get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<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>
|
|
</Type> |