PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • End of drawing
  • Pattern and PHP
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Flips an image with respect to a horizontal axis (symmetry with respect to a horizontal axis). This image can correspond to:
  • an Image control,
  • an Image variable.
    PHP This type of variable is not available.
Example
// Symmetry of IMG_IMAGE1 with respect to a horizontal axis
MyResult is boolean
MyResult = dHorizontalSymmetry(IMG_IMAGE1)
IF MyResult = False THEN Error("The operation failed")
Syntax
<Result> = dHorizontalSymmetry(<Image>)
<Result>: Boolean
  • True if the symmetry was performed,
  • False otherwise.
<Image>: Name of Image control, Image, WDPic or picLayer variable
Image to use. This image can correspond to:
  • the name of an Image control.
  • the name of an Image variable.
    PHP This type of variable is not available.
The symmetry is performed in relation to the median horizontal axis of the control or image. The image is directly modified.
Remarks

End of drawing

The transformation of the image will not be displayed if dEndDrawing and dHorizontalSymmetry are called in the same process.
PHP

Pattern and PHP

In PHP, the drawing functions are based on the graphic library GD. This library is commonly used by the PHP hosting companies and therefore it is always enabled. The version of the GD library must be version 2.0.28 (or later). This library can be downloaded from the PHP site.
To enable (if necessary) this library locally, the following elements are required:
  • PHP installed.
  • the PHP.INI file found in the Windows directory must contain the following line: "extension=php_gd2.dll" (instead of ";extension=php_gd2.dll").
  • the php_gd2.dll file must exist in the directory of PHP extensions. This directory is defined in the PHP.INI file by the "extension_dir" variable.
Component: wd260pnt.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment