gdk-sharp2.6.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Contains functions for inlined pixbuf handling. It allows for pixbuf data to be accessed in a raw form, serialized, and stored.At the time of this writing, gtk-sharp 0.98 has a bug where and use where Byte [] should be used making them function improperly. This problem should be fixed in a future release.System.ValueTypeFieldGdk.PixdataA blank Gdk.Pixdata, equivilent to Gdk.Pixdata Zero = new Gdk.Pixdata ();To be addedMethodGdk.PixdataCreates a new Gdk.Pixdata from a pointer to a raw GdkPixdata.
An pointing to a raw GdkPixdata.
A new 'Gdk.Pixdata' synonymous with the "raw" parameter.To be addedMethodSystem.IntPtrFils in the Gdk.Pixdata with data from an existing .
The 'Gdk.Pixbuf' which the Gdk.Pixdata is to be derived from.
Whether to use run-length encoding for the pixel data.
If "ure_rle" is set to true, an pointing to the new run-length encoded pixel data is returned, otherwise, To be addedFieldSystem.UInt32The GdkPixbuf magic number.All valid Gdk.Pixdata objects must have this set to 0x47646b50, which is 'GdkP' in ASCII.FieldSystem.Int32The length of the raw structure.This is either set to less than one to disable length checks or set to the length of the raw GdkPixbuf header, which is currently 24, plus the length of the pixel data.FieldSystem.UInt32An enumeration containing three sets of flax for the . One used for colorspace, one for the width of the samples, and one for the encoding of the pixel data.ValueDescription0x01Each pixel has red, green, and blue samples.0x02Each pixel has red, green, and blue samples, and an alpha value.0xFFA mask for the colortype flags.0x01 << 16Each sample has 8 bits.0x0f << 16A mask for the sample width flags.0x01 << 24The pixel data is in raw form.0x02 << 24The pixel data is run-length encoded. Runs may be up to 127 bytes long; their length is stored in a single byte preceding the pixel data for the run. If a run is constant, its length byte has the high bit set and the pixel data consists of a single pixel which must be repeated.0x0f << 24A mask for the encoding flags.FieldSystem.UInt32The distance in bytes between rows.To be addedFieldSystem.UInt32The width of the image in pixels.To be addedFieldSystem.UInt32The height of the image in pixels.To be addedMethodSystem.BooleanConverts a serialized datastream, generated by , into pixdata.
A describing the length of "stream".
a A . True if successful, false if there was an error.To be addedMethodSystem.Byte[]Generates serialized pixdata that can then be stored and converted back into a with .the serialized pixdata.