GtkSharp/doc/en/Pango/AttrShape.xml
Dan Winship b4a4db44dd * 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
2005-04-24 22:35:43 +00:00

70 lines
No EOL
2.6 KiB
XML

<Type Name="AttrShape" FullName="Pango.AttrShape">
<TypeSignature Language="C#" Value="public sealed struct AttrShape;" 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>An attribute that imposes a shape restriction.</summary>
<remarks />
</Docs>
<Base>
<BaseTypeName>Pango.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members>
<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 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 { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Pango.Rectangle</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<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 { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Pango.Rectangle</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The logical rectangle to restrict to</summary>
<returns>a <see cref="T:Pango.Rectangle" /></returns>
<remarks />
</Docs>
</Member>
</Members>
</Type>