comp • gb.qt4 • paint • drawpicture

Paint.DrawPicture (gb.qt4)

Static Sub DrawPicture ( Picture As Picture, X As Float, Y As Float [ , Width As Float, Height As Float, Source As Rect ] )

Draw a Picture, or part of it.

  • Picture : the picture to draw.

  • X, Y : where the picture is drawn.

  • Width, Height : if specified, then the picture is scaled to fit the specified dimensions.

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