|
|
|
|
|
|
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 the rectangles and circles, ... used in an Image variable.
|
|
|
|
|
|
|
Blurs the entire given area in a variable of type Image.
|
|
|
|
|
|
|
Changes the drawing mode used by the drawing functions ( dLine, dRectangle, ....).
|
|
|
|
|
|
|
Copies an image to another image.
|
|
|
|
|
|
|
Returns the cropped part of an image. This image is found in an Image variable.
|
|
|
|
|
|
|
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 that will be used by dText in an Image 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 the lines, rectangles, circles, ... in an Image variable.
|
|
|
|
|
|
|
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 the rectangles and circles, ... 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, ....).
|
|
|
|
|
|
|
Copies an image to another image.
|
|
|
|
|
|
|
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 that will be used by dTexte 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 the lines, rectangles, circles, ... 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 the rectangles and circles, ... used in a picLayer variable.
|
|
|
|
|
|
|
Blurs the entire given area in a variable of type picLayer.
|
|
|
|
|
|
|
Changes the drawing mode used by the drawing functions ( dLine, dRectangle, ....).
|
|
|
|
|
|
|
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 that will be used by dText in a picLayer 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 the lines, rectangles, circles, ... in a picLayer variable.
|
|
|
|
|
|
|
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 the rectangles and circles, ... used in a WDPic variable.
|
|
|
|
|
|
|
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, ....).
|
|
|
|
|
|
|
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 that will be used by dText in a WDPic 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 the lines, rectangles, circles, ... in a WDPic variable.
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
Usage example of the dArc function
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
Usage example of the dBackground function
|
|
|
|
|
|
|
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, ....).
|
|
|
|
|
|
|
Usage example of the dChord function
|
|
|
|
|
|
|
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 the image of a control in a WINDEV window to a variable of type Image.
|
|
|
|
|
|
|
Copies an image to another image.
|
|
|
|
|
|
|
Usage example of the dCopyImage function
|
|
|
|
|
|
|
Copies an image: - from an Image control to another Image control.
- from an Image variable to another Image variable.
|
|
|
|
|
|
|
Copies the screen content 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.
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
Usage example of the dFill function
|
|
|
|
|
|
|
Colors an area: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Usage example of the dFont function
|
|
|
|
|
|
|
Declares the font that will be used by dText: - 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.
|
|
|
|
|
|
|
Inverts the colors: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Usage example of the dLine function
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
Changes the hue of an image: - 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.
|
|
|
|
|
|
|
Usage example of the dPen function
|
|
|
|
|
|
|
Declares the default color and style for the lines, rectangles, circles, ... found: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Usage example of the dPixelColor function
|
|
|
|
|
|
|
Identifies the color of a pixel:
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
Usage example of the dPoint function
|
|
|
|
|
|
|
Draws a point: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
Usage example of the dPolygon function
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
Usage example of the dRectangle function
|
|
|
|
|
|
|
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: - 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.
|
|
|
|
|
|
|
Usage example of the dSaveImageBMP function
|
|
|
|
|
|
|
Saves an image: - in a file in BMP format.
- in memory.
|
|
|
|
|
|
|
Usage example of the dSaveImageGIF function
|
|
|
|
|
|
|
Saves an image: - in a file in GIF format.
- in memory.
|
|
|
|
|
|
|
Saves an image in icon format either in a file, or in memory.
|
|
|
|
|
|
|
Usage example of the dSaveImageJPEG function
|
|
|
|
|
|
|
Saves an image: - in a JPEG file.
- in memory.
|
|
|
|
|
|
|
Usage example of the dSaveImagePNG function
|
|
|
|
|
|
|
Saves an image in TIFF format into a file or memory.
|
|
|
|
|
|
|
Adds a shadow effect on an image found in an Image variable].
|
|
|
|
|
|
|
Usage example of the dSlice function
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
Usage example of the dText function
|
|
|
|
|
|
|
Draws a text: - in an Image control,
- in an Image variable,
- in a WDPic variable (on the background layer),
- in a picLayer variable.
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|