Canvas

 

If you use the following figure:

image\Rafting.gif

and you use the following figure as the canvas bitmap:

image\ULAY2.gif

And you call the function using the following values:

Parameter

Value

uTransparency

90

uEmboss

117

nXOffset

0

nYOffset

0

uFlags

CANVAS_SHIFT

uTilesOffset

0

The following figure results:

image\canvas.gif

In the following figure the rafting image has been combined with the canvas bitmap using the same values, except that the CANVAS_FIT flag is used and so instead of tiling the canvas bitmap has been stretched to fit the dimensions of the rafting image:

image\fit.gif