Improve Improve

svn path=/trunk/gtk-sharp/; revision=11760
This commit is contained in:
Miguel de Icaza 2003-02-20 03:56:51 +00:00
parent 7cd3f7e625
commit e6f24508c4

View file

@ -7,13 +7,30 @@
</AssemblyInfo> </AssemblyInfo>
<ThreadSafetyStatement>Not thread safe</ThreadSafetyStatement> <ThreadSafetyStatement>Not thread safe</ThreadSafetyStatement>
<Docs> <Docs>
<summary>Represents an image in memory</summary> <summary>Image representation.</summary>
<remarks> <remarks>
<para> <para>
The Gdk.Pixbuf class is used to represent an image in The Gdk.Pixbuf class is used to represent an image in
memory. The in-memory representation uses either a three memory. The in-memory representation uses either a three
byte RGB representation or a four byte RGBA representation. byte RGB representation or a four byte RGBA representation.
</para> </para>
<para>
Pixbufs can be created from a number of sources: image files
in an assorted set of file formats (png, tiff, jpg, gif, xpm,
pcx, ico, xpm, xbm); Drawables (which can be windows on the X
server, or off-screen images in the X server) or in-memory
images.
</para>
<para>
A pixbuf can be rendered, scaled or composited into another
pixbuf, into a window on the X server, or on a drawable in the
X server. Various rendering methods are provided for this
purpose.
</para>
<para>
Pixbufs can also be saved to a number of different file
formats.
</para>
</remarks> </remarks>
</Docs> </Docs>
<Base> <Base>
@ -63,7 +80,10 @@
The return value is an initialized Pixbuf class The return value is an initialized Pixbuf class
</para> </para>
</returns> </returns>
<remarks></remarks> <remarks>
This creates a Pixbuf from a class that implements the
Gdk.Pixdata interface.
</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="ErrorGetType"> <Member MemberName="ErrorGetType">
@ -1548,19 +1568,32 @@
<Docs> <Docs>
<summary>Height of the image</summary> <summary>Height of the image</summary>
<returns><para>The height in pixels of the image</para></returns> <returns><para>The height in pixels of the image</para></returns>
<remarks>None.</remarks> <remarks>
<para>
See also the <see cref="P:Gdk.Pixbuf.Width"/>, <see
cref="P:Gdk.Pixbuf.Rowstride"/> and <see
cref="P:Gdk.Pixbuf.NChannels"/> for more information about
the layout of the image.
</para>
</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Pixels"> <Member MemberName="Pixels">
<MemberSignature Language="C#" Value="public byte Pixels { get; };" /> <MemberSignature Language="C#" Value="public byte [] Pixels { get; };" />
<MemberType>Property</MemberType> <MemberType>Property</MemberType>
<ReturnValue> <ReturnValue>
<ReturnType>System.Byte</ReturnType> <ReturnType>System.Byte</ReturnType>
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added</summary> <summary>The image pixel information</summary>
<returns>To be added: an object of type 'byte'</returns> <returns>Returns the array with the pixel information</returns>
<remarks>To be added</remarks> <remarks>
See also the <see cref="P:Gdk.Pixbuf.Width"/>, <see
cref="P:Gdk.Pixbuf.Height"/>, <see
cref="P:Gdk.Pixbuf.Rowstride"/> and <see
cref="P:Gdk.Pixbuf.NChannels"/> for more information about
the layout of the image.
</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="HasAlpha"> <Member MemberName="HasAlpha">
@ -1591,7 +1624,12 @@
<Docs> <Docs>
<summary>The width of the image</summary> <summary>The width of the image</summary>
<returns><para>The width in pixels of the image</para></returns> <returns><para>The width in pixels of the image</para></returns>
<remarks>None.</remarks> <remarks>
<para>
This is the width of the image in pixels. See the <see
cref="P:Gdk.Pixbuf.Rowstride"/> property as well.
</para>
</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="NChannels"> <Member MemberName="NChannels">
@ -1604,6 +1642,8 @@
<summary>The number of channels on a Pixbuf</summary> <summary>The number of channels on a Pixbuf</summary>
<returns>Returns the number of channels on a Pixbuf</returns> <returns>Returns the number of channels on a Pixbuf</returns>
<remarks> <remarks>
The possible values are 3 (for RGB encoding) and 4 (for RGB
with an alpha transparency channel encoding.
</remarks> </remarks>
</Docs> </Docs>
</Member> </Member>
@ -1618,7 +1658,12 @@
<returns>The rowstride property for the Pixbuf</returns> <returns>The rowstride property for the Pixbuf</returns>
<remarks> <remarks>
<para> <para>
Queries the rowstride of a pixbuf, which is the number of bytes between rows. Queries the rowstride of a pixbuf. The rowstring is the
number of bytes occupied by a row of pixels. Sometimes
for alignment purposes, the rowstride might be bigger than
the actual width of the image. Applications that
manually process data from the image would scan lines by
adding the value of the Rowstride.
</para> </para>
</remarks> </remarks>
</Docs> </Docs>