|
|
|
|
|
- End of drawing
- Drawing in PHP
- Drawing in Browser code
dRotation (Function) In french: dRotation // Rotate the IMG_Image1 control by 45 degrees Result1 is boolean Result1 = dRotation(IMG_Image1, 45) IF Result1 = False THEN Error("The operation failed")
Syntax
Performing a simple rotation Hide the details
<Result> = dRotation(<Image> , <Rotation angle> [, <Options>])
<Result>: Boolean - True if the rotation was performed,
- False otherwise.
<Image>: Control name, Image variable or picLayer variable Image to use. The image can correspond to: - the name of an Image control.
- the name of a variable of type Image.
This type of variable is not available. - the name of a variable of type picLayer.
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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|