Import line: | GdkPixbuf = imports.gi.GdkPixbuf; |
GIR File: | GdkPixbuf-2.0.gir |
C documentation: | GdkInterpType |
Enum : | InterpType |
Properties | |
---|---|
guint32 GdkPixbuf.InterpType.BILINEAR : 2
|
|
guint32 GdkPixbuf.InterpType.HYPER : 3
|
|
guint32 GdkPixbuf.InterpType.NEAREST : 0
|
|
guint32 GdkPixbuf.InterpType.TILES : 1
|
None |
None |
None |
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 |
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). |