Back to Seed Clases

GdkPixbuf


Classes

Interfaces

Structs

Unions

Enums

Enum GdkPixbuf.InterpType

Import line: GdkPixbuf = imports.gi.GdkPixbuf;
GIR File: GdkPixbuf-2.0.gir
C documentation: GdkInterpType
Enum : InterpType
This enumeration describes the different interpolation modes that
can be used with the scaling functions. GDK_INTERP_NEAREST is
the fastest scaling method, but has horrible quality when
scaling down. GDK_INTERP_BILINEAR is the best choice if you
aren't sure what to choose, it has a good speed/quality balance.

Cubic filtering is missing from the list; hyperbolic
interpolation is just as fast and results in higher quality.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
GdkPixbuf.Pixbuf
Method
composite (Pixbuf dest, gint32 dest_x, gint32 dest_y, gint32 dest_width, gint32 dest_height, gdouble offset_x, gdouble offset_y, gdouble scale_x, gdouble scale_y, InterpType interp_type, gint32 overall_alpha) : none
Creates a transformation of the source image src by scaling by
This gives an image in the coordinates of the destination pixbuf.
GdkPixbuf.Pixbuf
Method
composite_color (Pixbuf dest, gint32 dest_x, gint32 dest_y, gint32 dest_width, gint32 dest_height, gdouble offset_x, gdouble offset_y, gdouble scale_x, gdouble scale_y, InterpType interp_type, gint32 overall_alpha, gint32 check_x, gint32 check_y, gint32 check_size, guint32 color1, guint32 color2) : none
Creates a transformation of the source image src by scaling by
then composites the rectangle (dest_x ,dest_y, dest_width,
colors color1 and color2 and renders it onto the destination
image.
GdkPixbuf.Pixbuf
Method
composite_color_simple (gint32 dest_width, gint32 dest_height, InterpType interp_type, gint32 overall_alpha, gint32 check_size, guint32 color1, guint32 color2) : GdkPixbuf.Pixbuf
Creates a new GdkPixbuf by scaling src to dest_width x
allocated for it.
GdkPixbuf.Pixbuf
Method
scale (Pixbuf dest, gint32 dest_x, gint32 dest_y, gint32 dest_width, gint32 dest_height, gdouble offset_x, gdouble offset_y, gdouble scale_x, gdouble scale_y, InterpType interp_type) : none
Creates a transformation of the source image src by scaling by
then renders the rectangle (dest_x, dest_y, dest_width,
replacing the previous contents.
GdkPixbuf.Pixbuf
Method
scale_simple (gint32 dest_width, gint32 dest_height, InterpType interp_type) : GdkPixbuf.Pixbuf
Create a new GdkPixbuf containing a copy of src scaled to
should be GDK_INTERP_NEAREST if you want maximum speed (but when
scaling down GDK_INTERP_NEAREST is usually unusably ugly).
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:03 GMT+0800 (HKT)