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.
  • Coordinates
  • Width/Height of rectangle
  • Component
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
Builds a sequence of characters containing a circle or an ellipse.
WINDEVUniversal Windows 10 App In a window, this sequence of characters allows to draw a circle or an ellipse:
  • in an element of a List Box or Combo Box control.
  • in the title bar and/or status bar of a window.
  • in a Static control.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
Stored procedures This function is now available in the code of stored procedures.
Linux This function is now available for WEBDEV sites in Linux.
Windows This function is now available for WEBDEV sites in Windows.
New in version 22
Stored procedures This function is now available in the code of stored procedures.
Linux This function is now available for WEBDEV sites in Linux.
Windows This function is now available for WEBDEV sites in Windows.
Stored procedures This function is now available in the code of stored procedures.
Linux This function is now available for WEBDEV sites in Linux.
Windows This function is now available for WEBDEV sites in Windows.
Example
WINDEV
// Dessin d'un cercle dans un élément de le champ "LISTE_ListeFigure"
// Le fond du cercle est vert clair et les bordures sont jaune clair
ListAdd(LISTE_ListeFigure, gCircle(0, 0, 25, 18, LightGreen, LightYellow))
Syntax
<Result> = gCircle(<X1> , <Y1> , <X2> , <Y2> [, <Background color> [, <Line color>]])
<Result>: Character string
Sequence of characters defining a circle or an ellipse.
WINDEVUniversal Windows 10 App This sequence of characters can be:
<X1>: Real
X-coordinate (in pixels) of top left corner of the rectangle containing the circle.
<Y1>: Real
Y-coordinate (in pixels) of top left corner of the rectangle containing the circle.
<X2>: Real
X-coordinate (in pixels) of bottom right corner of the rectangle containing the circle.
<Y2>: Real
Y-coordinate (in pixels) of bottom right corner of the rectangle containing the circle.
<Background color>: Integer or constant (optional)
Circle background color. This color can correspond to:
If this parameter is not specified, the background color corresponds to the background color of the current text (defined by gBackground).
<Line color>: Integer or constant (optional)
Color of circle line. This color can correspond to:
If this parameter is not specified, the color of the line corresponds to the color of the current text (defined by gPen).
Remarks

Coordinates

All coordinates are expressed in pixels in relation to the top left corner of element used (row in the List Box or Combo Box control, title bar of the window, status bar of window or Static control).

Width/Height of rectangle

The width of the reference rectangle is set to <X2> - <X1>.
The height of the reference rectangle is set to <Y2> - <Y1>.

Component

Until Release 21, the gCircle function was available in the wdxxxobj component. From version 22, this function is now available in the wdxxxmdl component.
Component: wd270mdl.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment