User's Guide > User Interface: Dialogs > Drawing_Area > Drawing Area Operations
Drawing Area Operations
Functions Introduced
Use the function ProUIDrawingareaAnchorSet() to set the position of the drawing area with respect to a given anchor location. This function is applicable only if the parent of the drawing area is another drawing area.
Use the function ProUIDrawingareaSizeGet() to get the size of the drawing area. This operation is applicable only if the parent is a drawing area.
Use the function ProUIDrawingareaSizeSet() to set the size of the drawing area. This operation is applicable only if the parent is a drawing area. The function will fail, if you specify a value smaller than the minimum size for the input arguments width or height.
Use the function ProUIDrawingareaMinimumsizeGet() to retrieve the minimum size of the width and height of the drawing area in pixels. Use this function only if the parent is a drawing area.
Use the function ProUIDrawingareaPositionGet() to get the position of the drawing area with respect to its parent. This operation is applicable only if the parent is a drawing area.
Use the function ProUIDrawingareaPositionSet() to set the position to the drawing area with respect to its parent. This operation is applicable only if the parent is a drawing area.
Use the function ProUIDrawingareaClear() to clear the contents of the drawing area by painting it in the drawing background color.
Use the function ProUIDrawingareaCopyArea() to copy the contents within a given boundary at a location in the drawing area to another location.
Use the function ProUIDrawingareaPointDraw() to draw a point in the drawing area.
Use the function ProUIDrawingareaPointsDraw() to draw an array of points in the drawing area.
Use the function ProUIDrawingareaLineDraw() to draw a line in the drawing area.
Use the function ProUIDrawingareaLinesDraw() to draw a set of lines between in the drawing area. Each line will be drawn from the indicated start point in the array to the corresponding endpoint.
Use the function ProUIDrawingareaPolylineDraw() to draw a series of connected lines in the drawing area.
Use the function ProUIDrawingareaRectDraw() to draw a rectangle in the drawing area.
Use the function ProUIDrawingareaRectsDraw() to draw a set of rectangles in the drawing area.
Use the function ProUIDrawingareaRectFill() to draw a filled rectangle in the drawing area.
Use the function ProUIDrawingareaRectsFill() to draw a set of filled rectangles in the drawing area.
Use the function ProUIDrawingareaShadowRectDraw() to draw a rectangle with a shadow border.
Use the function ProUIDrawingareaShadowRectsDraw() to draw a set of rectangles with shadow borders.
Use the function ProUIDrawingareaPolygonDraw() to draw a polygon in the drawing area.
Use the function ProUIDrawingareaPolygonFill() to draw a filled polygon in the drawing area.
Use the function ProUIDrawingareaArcDraw() to draw an arc in the drawing area.
Use the function ProUIDrawingareaArcsDraw() to draw a set of arcs in the drawing area.
Use the function ProUIDrawingareaArcFill() to draw a filled arc in the drawing area.
Use the function ProUIDrawingareaArcsFill() to draw a set of filled arcs in the drawing.
Use the function ProUIDrawingareaEllipseDraw() to draw an ellipse in the drawing area.
Use the function ProUIDrawingareaEllipsesDraw() to draw a set of ellipses in the drawing area.
Use the function ProUIDrawingareaEllipseFill() to draw a filled ellipse in the drawing area.
Use the function ProUIDrawingareaEllipsesFill() to draw a set of filled ellipses in the drawing area.
Use the function ProUIDrawingareaImageDraw() to draw an image in the drawing area.
Use the function ProUIDrawingareaImagesDraw() to draw images at the given positions in the drawing area.
Use the function ProUIDrawingareaStringDraw() to draw a string at the given position in the drawing area.
Use the function ProUIDrawingareaStringsDraw() to draw strings at the given positions in the drawing.
Use the function ProUIDrawingareaStringsizeGet() to get the size that the given text string will occupy in the drawing area, given the current drawing area font settings.
Use the function ProUIDrawingareaStringbaselineGet() to get the height from the top of the string border to the string baseline for the given text string in the drawing area, given the current drawing area font settings.
Use the function ProUIDrawingareaImagesizeGet() to get the size of the image in the drawing area.
Use the function ProUIDrawingareaCursorposGet() to get the position of the cursor in the drawing area.
Use the function ProUIDrawingareaCursorposSet() to set the cursor at the given location in the drawing area.
Was this helpful?