comp • gb.qt4 • draw • picture

Draw.Picture (gb.qt4)

Static Sub Picture ( Picture As Picture, X As Integer, Y As Integer [ , Width As Integer, Height As Integer, SrcX As Integer, SrcY As Integer, SrcWidth As Integer, SrcHeight As Integer ] )

Desde 3.4

Draws a Picture, or part of it.

  • If the Width and Height parameters are specified, then the picture is scaled to fit the specified dimensions.

  • If SrcX, SrcY, SrcWidth and SrcHeight are specified, the only this part of the picture is drawn.