ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Drawing functions
  • End of drawing
  • Pattern and PHP
  • Drawing in Browser code
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 WDPic variable (on the background layer) with respect to a horizontal axis (symmetry with respect to a horizontal axis).
Example
MyWDPicImage is WDPic = "Test.gif"
// Symmetry of image in WDPic variable with respect to a horizontal axis
MyResult is boolean
MyResult = MyWDPicImage.HorizontalSymmetry()
IF MyResult = False THEN Error("The operation failed")
IMG_MyDrawing = MyWDPicImage
Syntax
<Result> = <WDPic image>.HorizontalSymmetry()
<Result>: Boolean
  • True if the symmetry was performed,
  • False otherwise.
<WDPic image>: WDPic variable
Name of the WDPic variable to be used. Only the background layer will be handled.
The symmetry is performed with respect to the media horizontal axis of the image. The image is directly modified.
Remarks

End of drawing

If <WDPic variable>.EndDrawing and <WDPic 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