ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Drawing functions
  • End of drawing
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Flips an image contained in a variable of type picLayer with respect to a horizontal axis (symmetry with respect to a horizontal axis).
Example
MyWDPicImage is WDPic = "Test.gif"
MyLayer is picLayer
 
// Symmetry of layer with respect to a horizontal axis
MyResult is boolean
MyResult = MyLayer.HorizontalSymmetry()
IF MyResult = False THEN Error("The operation failed")
IMG_MyDrawing = MyWDPicImage
Syntax
<Result> = dHorizontalSymmetry(<Image>)
<Result>: Boolean
  • True if the symmetry was performed,
  • False otherwise.
<Image>: picLayer variable
Name of the picLayer variable to be used.
The symmetry is performed with respect to the media horizontal axis of the image. The image is directly modified.
Remarks

End of drawing

If <picLayer variable>.EndDrawing and <picLayer variable>.HorizontalSymmetry are called in the same process, the image changes will not be displayed.
Component: wd290pnt.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/15/2024

Send a report | Local help