Draw.Image
(gb.qt)
Syntax
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.