Import line: | GdkPixbuf = imports.gi.GdkPixbuf; |
GIR File: | GdkPixbuf-2.0.gir |
C documentation: | GdkInterpType |
Enum : | InterpType |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number GdkPixbuf.InterpType.BILINEAR : 2
|
|
Number GdkPixbuf.InterpType.HYPER : 3
|
|
Number GdkPixbuf.InterpType.NEAREST : 0
|
|
Number GdkPixbuf.InterpType.TILES : 1
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GdkPixbuf.Pixbuf
Method |
scale
(Pixbuf dest, Number dest_x, Number dest_y, Number dest_width, Number dest_height, Number offset_x, Number offset_y, Number scale_x, Number 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 |
composite
(Pixbuf dest, Number dest_x, Number dest_y, Number dest_width, Number dest_height, Number offset_x, Number offset_y, Number scale_x, Number scale_y, InterpType interp_type, Number 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, Number dest_x, Number dest_y, Number dest_width, Number dest_height, Number offset_x, Number offset_y, Number scale_x, Number scale_y, InterpType interp_type, Number overall_alpha, Number check_x, Number check_y, Number check_size, Number color1, Number 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 |
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).
|
GdkPixbuf.Pixbuf
Method |
composite_color_simple
(Number dest_width, Number dest_height, InterpType interp_type, Number overall_alpha, Number check_size, Number color1, Number color2)
:
GdkPixbuf.Pixbuf
Creates a new GdkPixbuf by scaling src to dest_width x allocated for it.
|