Method GDK2.Pixbuf()->scale()
- Method
scale
GDK2.Pixbufscale(GDK2.Pixbufdest,intdest_x,intdest_y,intdest_width,intdest_height,floatoffset_x,floatoffset_y,floatscale_x,floatscale_y,inttype)- Description
Creates a transformation of the source image by scaling by scale_x and scale_y, then translating by offset_x and offset_y, then renders the rectangle (dest_x,dest_y,dest_width,dest_height) of the resulting image onto the destination image replacing the previous contents. Try to use scale_simple() first, this function is the industrial- strength power tool you can fall back to if scale_simple() isn't powerful enough.