comp • gb.qt4 • draw • image

Draw.Image (gb.qt4)

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

Draws an Image, or part of it.

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

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