|
|
|
|
|
|
Category: Drawing functions |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Saves an image in icon format either in a file, or in memory. |
|
|
|
|
|
|
Opens an image in an Image Editor control. |
|
|
|
|
|
|
Saves the image displayed in the Image Editor control. |
|
|
|
|
|
|
Blends two images together. This allows you to create fade-in effects between 2 images. |
|
|
|
|
|
|
Declares the default background color for rectangles, circles, ... used in a variable of type Image. |
|
|
|
|
|
|
Blurs the entire given area in a variable of type Image. |
|
|
|
|
|
|
Changes the drawing mode used by the drawing functions (dLine, dRectangle, ....). |
|
|
|
|
|
|
Clears the content of an Image variable and fills it with the specified color. |
|
|
|
|
|
|
Copies an image to another image. |
|
|
|
|
|
|
Returns the cropped part of an image. This image is in an Image variable. |
|
|
|
|
|
|
Compares two images and returns a grayscale image and a percentage determining the differences between the images. This new function is available from WINDEV Suite SaaS 2025 - Update 3. |
|
|
|
|
|
|
Returns the dominant color (i.e. most frequent color) of an image found in an Image variable. |
|
|
|
|
|
|
Draws a circle arc or an ellipse arc in an Image variable. |
|
|
|
|
|
|
Draws the borders in an Image variable. |
|
|
|
|
|
|
Draws the chord of a circle (intersection between an ellipse and a straight line) in an Image variable. |
|
|
|
|
|
|
Draws a circle or an ellipse in an Image variable.
|
|
|
|
|
|
|
Adds a halo effect on an image found in an Image variable. |
|
|
|
|
|
|
Draws a line in an Image variable. |
|
|
|
|
|
|
Draws a point in an Image variable. |
|
|
|
|
|
|
Draws a polygon in an Image variable.
|
|
|
|
|
|
|
Draws a line composed of multiple segments in an Image variable. |
|
|
|
|
|
|
Draws a rectangle in an Image variable. |
|
|
|
|
|
|
Draws a rectangle in an Image variable. |
|
|
|
|
|
|
Draws a rounded rectangle in an Image variable. |
|
|
|
|
|
|
Adds a shadow effect on an image found in an Image variable. |
|
|
|
|
|
|
Draws a section of a circle or an ellipse in an Image variable. |
|
|
|
|
|
|
Draws a text in an Image variable. |
|
|
|
|
|
|
Draws Markdown text in a variable of type Image. |
|
|
|
|
|
|
Draws an RTF text in an Image variable. |
|
|
|
|
|
|
Encrusts a color in an image found in an Image variable. |
|
|
|
|
|
|
Deletes all the drawings made since the last call to dStartDrawing. |
|
|
|
|
|
|
Colors an area in an Image variable. |
|
|
|
|
|
|
Declares the font to be used by the dText function in a Image type variable.
|
|
|
|
|
|
|
Flips an image contained in an Image variable with respect to a horizontal axis (symmetry with respect to a horizontal axis). |
|
|
|
|
|
|
Inverts the colors in an Image variable. |
|
|
|
|
|
|
Changes the contrast of an image in an Image variable. |
|
|
|
|
|
|
Modifies the hue, saturation and lightness of an image in an Image variable. |
|
|
|
|
|
|
Changes the hue of an image in an Image variable.
|
|
|
|
|
|
|
Modifies the lightness of an image in an Image variable. |
|
|
|
|
|
|
Modifies the opacity of an image (which means the alpha channel of the image). |
|
|
|
|
|
|
Modifies the saturation of an image in an Image variable. |
|
|
|
|
|
|
Declares the default color and style for lines, rectangles, circles, etc. contained in a variable of type Image. |
|
|
|
|
|
|
Identifies the color of a pixel contained in an Image variable. |
|
|
|
|
|
|
Identifies the opacity of a pixel in an image (in an Image variable) with an Alpha channel. |
|
|
|
|
|
|
Resizes an image in an Image variable.
|
|
|
|
|
|
|
Rotates an image in an Image variable.
|
|
|
|
|
|
|
Saves an image contained in an Image variable:- in a file in BMP format.
- in memory.
|
|
|
|
|
|
|
Saves an image found in an Image variable:- in a file in GIF format.
- in memory.
|
|
|
|
|
|
|
Saves an image found in an Image variable:- in a JPEG file.
- in memory.
|
|
|
|
|
|
|
Saves an image found in an Image variable: |
|
|
|
|
|
|
Indicates that the drawing functions that will be used are intended for an Image variable. |
|
|
|
|
|
|
Transforms an image by applying perspective correction. |
|
|
|
|
|
|
Flips an image contained in an Image variable with respect to a vertical axis (symmetry with respect to a vertical axis).
|
|
|
|
|
|
|
Blends two images together. This allows you to create fade-in effects between 2 images. |
|
|
|
|
|
|
Declares the default background color for rectangles, circles, etc. used in an Image control. |
|
|
|
|
|
|
Blurs the entire given area in an Image control. |
|
|
|
|
|
|
Changes the drawing mode used by the drawing functions (dLine, dRectangle, ....). |
|
|
|
|
|
|
Clears the content of an Image control and fills it with the specified color. |
|
|
|
|
|
|
Copies an image to another image. |
|
|
|
|
|
|
Compares two images and returns a grayscale image and a percentage determining the differences between the images. This new function is available from WINDEV Suite SaaS 2025 - Update 3. |
|
|
|
|
|
|
Returns the dominant (i.e. most frequent) color of an image found in an Image control. |
|
|
|
|
|
|
Draws a circle arc or an ellipse arc in an Image control. |
|
|
|
|
|
|
Draws the borders in an Image control. |
|
|
|
|
|
|
Draws the chord of a circle (intersection between an ellipse and a straight line) in an Image control. |
|
|
|
|
|
|
Draws a circle or an ellipse in an Image control. |
|
|
|
|
|
|
Draws a line in an Image control. |
|
|
|
|
|
|
Draws a point in an Image control. |
|
|
|
|
|
|
Draws a polygon in an Image control,
|
|
|
|
|
|
|
Draws a line composed of multiple segments in an Image control. |
|
|
|
|
|
|
Draws a rectangle in an Image control. |
|
|
|
|
|
|
Draws a rectangle in an Image control. |
|
|
|
|
|
|
Draws a rounded rectangle in an Image control. |
|
|
|
|
|
|
Draws a circle or an ellipse section in an Image control. |
|
|
|
|
|
|
Draws a text in an Image control. |
|
|
|
|
|
|
Draws Markdown text in an Image control. |
|
|
|
|
|
|
Draws RTF text in an Image control. |
|
|
|
|
|
|
Deletes all the drawings made since the last call to dStartDrawing. |
|
|
|
|
|
|
Colors an area in an Image control. |
|
|
|
|
|
|
Declares the font to be used by the dText function in an Image control.
|
|
|
|
|
|
|
Flips an image in an Image control with respect to a horizontal axis (symmetry with respect to a horizontal axis). |
|
|
|
|
|
|
Inverts the colors in an Image control. |
|
|
|
|
|
|
Changes the contrast of an image contained in an Image control. |
|
|
|
|
|
|
Modifies the hue, the saturation and the lightness of an image in an Image control. |
|
|
|
|
|
|
Changes the hue of an image in an Image control.
|
|
|
|
|
|
|
Modifies the lightness of an image contained in an Image control. |
|
|
|
|
|
|
Changes the saturation of an image in an Image control. |
|
|
|
|
|
|
Declares the default color and style for lines, rectangles, circles, etc. contained in an Image control. |
|
|
|
|
|
|
Identifies the color of a pixel in an Image control. |
|
|
|
|
|
|
Identifies the opacity of a pixel in an image (in an Image control) with an Alpha channel. |
|
|
|
|
|
|
Resizes an image in an Image control.
|
|
|
|
|
|
|
Rotates an Image control. |
|
|
|
|
|
|
Saves an image:- in a file in BMP format.
- in memory.
|
|
|
|
|
|
|
Saves an image:- in a file in GIF format.
- in memory.
|
|
|
|
|
|
|
Saves an image:- in a JPEG file.
- in memory.
|
|
|
|
|
|
|
Indicates that the drawing functions that will be used are intended for the specified Image control.
|
|
|
|
|
|
|
Transforms an image by applying perspective correction. |
|
|
|
|
|
|
Flips an image contained in an Image control with respect to a vertical axis (symmetry with respect to a vertical axis). |
|
|
|
|
|
|
Blends two images together. This allows you to create fade-in effects between 2 images. |
|
|
|
|
|
|
Declares the default background color for rectangles, circles, ... used in a variable of type picLayer. |
|
|
|
|
|
|
Blurs the entire given area in a variable of type picLayer. |
|
|
|
|
|
|
Changes the drawing mode used by the drawing functions (dLine, dRectangle, ....). |
|
|
|
|
|
|
Compares two images and returns a grayscale image and a percentage determining the differences between the images. This new function is available from WINDEV Suite SaaS 2025 - Update 3. |
|
|
|
|
|
|
Draws a circle arc or an ellipse arc in a picLayer variable.
|
|
|
|
|
|
|
Draws the chord of a circle (intersection between an ellipse and a straight line) in a picLayer variable. |
|
|
|
|
|
|
Draws a circle or an ellipse in a picLayer variable.
|
|
|
|
|
|
|
Draws a line composed of multiple segments. |
|
|
|
|
|
|
Draws a rectangle in a picLayer variable. |
|
|
|
|
|
|
Draws a rectangle in a picLayer variable. |
|
|
|
|
|
|
Draws a rounded rectangle in a picLayer variable. |
|
|
|
|
|
|
Draws a section of a circle or an ellipse in a picLayer variable. |
|
|
|
|
|
|
Draws Markdown text in a variable of type picLayer. |
|
|
|
|
|
|
Draws an RTF text in a picLayer variable. |
|
|
|
|
|
|
Deletes all the drawings made since the last call to dStartDrawing. |
|
|
|
|
|
|
Declares the font to be used by the dText function in a picLayer type variable.
|
|
|
|
|
|
|
Flips an image contained in a picLayer variable with respect to a horizontal axis (symmetry with respect to a horizontal axis). |
|
|
|
|
|
|
Inverts the colors of a picLayer variable. |
|
|
|
|
|
|
Declares the default color and style for lines, rectangles, circles, etc. contained in a variable of type picLayer. |
|
|
|
|
|
|
Identifies the color of a pixel contained in a picLayer variable. |
|
|
|
|
|
|
Identifies the opacity of a pixel in a WDPicLayer image with an Alpha channel.
|
|
|
|
|
|
|
Resizes an image in a picLayer variable.
|
|
|
|
|
|
|
Rotates an image in a picLayer variable.
|
|
|
|
|
|
|
Indicates that the drawing functions that will be used are intended for the specified picLayer variable. |
|
|
|
|
|
|
Transforms an image by applying perspective correction. |
|
|
|
|
|
|
Flips an image contained in a picLayer variable with respect to a vertical axis (symmetry with respect to a vertical axis). |
|
|
|
|
|
|
Saves an image in TIFF format into a file or memory. |
|
|
|
|
|
|
Blends two images together. This allows you to create fade-in effects between 2 images. |
|
|
|
|
|
|
Declares the default background color for rectangles, circles, ... used in a variable of type WDPic. |
|
|
|
|
|
|
Blurs the entire given area in a variable of type WDPic (on the background layer). |
|
|
|
|
|
|
Changes the drawing mode used by the drawing functions (dLine, dRectangle, ....). |
|
|
|
|
|
|
Compares two images and returns a grayscale image and a percentage determining the differences between the images. This new function is available from WINDEV Suite SaaS 2025 - Update 3. |
|
|
|
|
|
|
Draws a circle arc or an ellipse arc in a WDPic variable.
|
|
|
|
|
|
|
Draws the chord of a circle (intersection between an ellipse and a straight line) in a WDPic variable. |
|
|
|
|
|
|
Draws a circle or an ellipse in a WDPic variable.
|
|
|
|
|
|
|
Draws a line in a WDPic variable. |
|
|
|
|
|
|
Draws a point in a WDPic variable. |
|
|
|
|
|
|
Draws a polygon in a WDPic variable.
|
|
|
|
|
|
|
Draws a line composed of multiple segments. |
|
|
|
|
|
|
Draws a rectangle in a WDPic variable. |
|
|
|
|
|
|
Draws a rectangle in a WDPic variable. |
|
|
|
|
|
|
Draws a rounded rectangle in a WDPic variable. |
|
|
|
|
|
|
Draws a section of a circle or an ellipse in a WDPic variable. |
|
|
|
|
|
|
Draws a text in a WDPic variable. |
|
|
|
|
|
|
Draws Markdown text in a variable of type WDPic. |
|
|
|
|
|
|
Draws an RTF text in a WDPic variable. |
|
|
|
|
|
|
Deletes all the drawings made since the last call to dStartDrawing. |
|
|
|
|
|
|
Colors an area in a WDPic variable. |
|
|
|
|
|
|
Declares the font to be used by the dText function in a WDPic type variable.
|
|
|
|
|
|
|
Flips an image contained in a WDPic variable with respect to a horizontal axis (symmetry with respect to a horizontal axis). |
|
|
|
|
|
|
Inverts the colors of a WDPic variable. |
|
|
|
|
|
|
Merges the layers of a WDPic image. |
|
|
|
|
|
|
Declares the default color and style for lines, rectangles, circles, etc. contained in a variable of type WDPic. |
|
|
|
|
|
|
Identifies the color of a pixel contained in a WDPic variable. |
|
|
|
|
|
|
Identifies the opacity of a pixel in a WDPic image with an Alpha channel.
|
|
|
|
|
|
|
Saves the image contained in a WDPic variable.
|
|
|
|
|
|
|
Indicates that the drawing functions that will be used are intended for the specified WDPic variable. |
|
|
|
|
|
|
Flips an image contained in a WDPic variable (in the background layer) with respect to a vertical axis (symmetry with respect to a vertical axis). |
|
|
|
|
|
|
Sets the position of the target end of an arrow in a "Shape" control. |
|
|
|
|
|
|
Sets the position of the source end of an arrow in a "Shape" control. |
|
|
|
|
|
|
Retrieves the characteristics of an image file or the characteristics of a PDF file: - format.
- width and height.
- number of bits per pixel.
- transparency zone.
- alpha channel.
|
|
|
|
|
|
|
Calculates the hue of a color. |
|
|
|
|
|
|
Calculates the lightness of a color. |
|
|
|
|
|
|
Calculates the saturation of a color. |
|
|
|
|
|
|
Blends two images together. This allows you to create fade-in effects between 2 images. |
|
|
|
|
|
|
Draws an arc of circle or an arc of ellipse: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Declares the default background color for the rectangles, circles, etc:: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Blurs the entire given area: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Changes the drawing mode used by the drawing functions (dLine, dRectangle, ....). |
|
|
|
|
|
|
Draws the chord of a circle (intersection between an ellipse and a straight line): - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Usage example of the dCircle function |
|
|
|
|
|
|
Draws a circle or an ellipse: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Clears the content of an Image variable or Image control and fills it with the specified color. |
|
|
|
|
|
|
Copies an image to another image. |
|
|
|
|
|
|
Copies the image of a control in a WINDEV window to a variable of type Image. |
|
|
|
|
|
|
Copies an image: - from an Image control to another Image control.
- from an Image variable to another Image variable.
|
|
|
|
|
|
|
Copies the screen contents to an Image variable or to an Image control. |
|
|
|
|
|
|
Copies the image from a WINDEV window to an Image variable or to an Image control. |
|
|
|
|
|
|
Returns the cropped part of an image. This image is in an Image variable. |
|
|
|
|
|
|
Compares two images and returns a grayscale image and a percentage determining the differences between the images. This new function is available from WINDEV Suite SaaS 2025 - Update 3. |
|
|
|
|
|
|
Displays the drawing in the Image control. |
|
|
|
|
|
|
Returns the dominant (i.e. most frequent) color of an image in an Image variable or in an Image control. |
|
|
|
|
|
|
Encrusts a color in an image found in an Image variable. |
|
|
|
|
|
|
Deletes all the drawings made since the last call to dStartDrawing. |
|
|
|
|
|
|
Colors an area: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Declares the font to be used by the dText function: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Adds a halo effect on an image found in an Image variable. |
|
|
|
|
|
|
Flips an image with respect to a horizontal axis (symmetry with respect to a horizontal axis). |
|
|
|
|
|
|
Copies the RGB pixels of the image into a one-dimensional or two-dimensional array. The array of colors is cleared then it is filled with the integers representing the colors (24 bits) of the image.
|
|
|
|
|
|
|
Reverses the colors: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Draws a line: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Loads an image in an Image variable from a memo, a file or a binary buffer. |
|
|
|
|
|
|
Changes the contrast of an image contained: - in an Image control,
- in an Image variable.
|
|
|
|
|
|
|
Modifies the hue, the saturation and the lightness of an image found: - in an Image control,
- in an Image variable.
|
|
|
|
|
|
|
Modifies the hue of an image found: - in an Image control,
- in an Image variable.
|
|
|
|
|
|
|
Changes the lightness of an image found: - in an Image control,
- in an Image variable.
|
|
|
|
|
|
|
Modifies the opacity of an image (which means the alpha channel of the image). |
|
|
|
|
|
|
Modifies the saturation of an image found: - in an Image control,
- in an Image variable.
|
|
|
|
|
|
|
Declares the default color and style for lines, rectangles, circles, etc. contained in: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Identifies the color of a pixel found: |
|
|
|
|
|
|
Identifies the opacity of a pixel in an image that has an Alpha channel. This image can be: - an Image control,
- an Image variable,
- a WDPic variable (on the background layer),
- a picLayer variable.
|
|
|
|
|
|
|
Draws a point: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Draws a polygon: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Draws a line composed of multiple segments. |
|
|
|
|
|
|
List of constants used by the drawing functions. |
|
|
|
|
|
|
WINDEV, WEBDEV and WINDEV Mobile include several functions for displaying, drawing, copying and saving the drawings and images from your applications or sites... |
|
|
|
|
|
|
Indicates whether the drawing features are supported by the browser.
|
|
|
|
|
|
|
Draws a rectangle: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Draws a rectangle: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Resizes an image found: - in an Image control.
- in an Image variable.
- in a picLayer variable].
|
|
|
|
|
|
|
Draws a rounded rectangle:- in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
dSaveImage is kept for backward compatibility. |
|
|
|
|
|
|
Saves an image:- in a file in BMP format.
- in memory.
|
|
|
|
|
|
|
Saves an image:- in a file in GIF format.
- in memory.
|
|
|
|
|
|
|
Saves an image in icon format either in a file, or in memory. |
|
|
|
|
|
|
Saves an image:- in a JPEG file.
- in memory.
|
|
|
|
|
|
|
Saves an image in TIFF format into a file or memory. |
|
|
|
|
|
|
Adds a shadow effect on an image found in an Image variable. |
|
|
|
|
|
|
Draws a circle section or an ellipse section: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Indicates that the drawing functions that will be used are intended for: - the specified Image control,
- the specified Image variable,
- the specified Image variable,
- the specified WDPic variable (on the background layer),
- the specified picLayer variable.
|
|
|
|
|
|
|
Transforms an image by applying perspective correction. |
|
|
|
|
|
|
Draws a text: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Calculates text height in pixels. This new function is available from WINDEV Suite SaaS 2025 Update 2. |
|
|
|
|
|
|
Draws Markdown text:- in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable].
|
|
|
|
|
|
|
Draws RTF text:- in an Image control,
- in an Image variable.
|
|
|
|
|
|
|
Calculates text width in pixels. This new function is available from WINDEV Suite SaaS 2025 Update 2. |
|
|
|
|
|
|
Usage example of the dTransferToImage function |
|
|
|
|
|
|
Creates an image from a buffer of pixels encoded in a specific format. This function is an advanced function. This function is mainly used to handle the images returned by external APIs via Image variables.
|
|
|
|
|
|
|
Flips an image with respect to a vertical axis (symmetry with respect to a vertical axis). |
|
|
|
|
|
|
List of SQL functions used to create and handle graphic strings |
|
|
|
|
|
|
Creates a color from its hue, saturation and lightness. |
|
|
|
|
|
|
Converts the HTML color into RGB color. |
|
|
|
|
|
|
List of image drawing and processing functions |
|
|
|
|
|
|
List of image drawing and processing functions (prefix syntax) |
|
|
|
|
|
|
Retrieves the characteristics of an image file or the characteristics of a PDF file:- format.
- width and height.
- number of bits per pixel.
- transparent area.
|
|
|
|
|
|
|
Merges the layers of a WDPic image. |
|
|
|
|
|
|
Opens an image in an Image Editor control. |
|
|
|
|
|
|
Saves the image found: - in an Image Editor control.
- in a WDPic variable.
|
|
|
|
|
|
|
Defines a color from its Red, Green and Blue components. |
|
|
|
|
|
|
Returns the blue component of an RGB color. |
|
|
|
|
|
|
Returns the green component of an RGB color. |
|
|
|
|
|
|
Returns the red component of an RGB color. |
|
|
|
|
|
|
Returns the HTML color corresponding to the RGB color. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|