comp • gb.qt4 • paint • zoomimage

Paint.ZoomImage (gb.qt4)

Static Sub ZoomImage ( Image As Image, Zoom As Integer, X As Integer, Y As Integer [ , Grid As Integer, Source As Rect ] )

Draw a quick zoomed version of an image or a part of it.

  • Image : the image to zoom.

  • Zoom : the zoom factor. Use 1 for the original image, 2 for an image twice as large, and so on...

  • X, Y : where to draw the zoomed image.

  • Grid : the color of a grid, or Color.Default to draw no grid.

  • Source : if specified, then only the part of the image described by the rectangle is taken into account for the drawing.