|
|
|
|
|
dRotation (Function) In french: dRotation Performs a rotation: - in an Image control,
- in a variable of type Image.
Résultat1 is boolean
Résultat1 = dRotation(IMG_Image1, 45)
IF Résultat1 = False THEN Error("L'opération a échoué")
Syntax
Performing a simple rotation Hide the details
<Result> = dRotation(<Image> , <Rotation angle> [, <Options>])
<Result>: Boolean - True if the rotation has been completed,
- False otherwise.
<Image>: Control name, Image variable or picLayer variable Image to use. This image can correspond to: - the name of an Image control.
- the name of a variable of type Image.
The rotation is performed in relation to the center of the image. The image is directly modified. <Rotation angle>: Real Rotation angle (in degrees). - If the angle is positive, the image rotates clockwise.
- If the angle is negative, the image rotates counterclockwise.
<Options>: Integer constant
Remarks End of drawing If dEndDrawing and dRotation are called in the same process, the image changes will not be displayed.
Related Examples:
|
Unit examples (WINDEV): Image rotation
[ + ] Image rotation from any point that will be used as rotation center.
|
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|