Group 2D Graphics
GraArc()
Draws a circle, arc, or ellipse. The default value of <aEllipse> is {1,0,0,1}.
GraArc( [<oPS>], [<aCenter>], <nRadius>, [<aEllipse>], [<nStartAngle>], [<nSweepAngle>], [<nFill>] ) --> lSuccess
GraBackground()
Draw the background of an Xbase Part.
GraBackground( <oPS>, [<aStart>], [<aEnd>], [<lErase>], [<nPart>] ) --> <lSuccess>
GraBitBlt()
Copies section of a raster image into a presentation space (bit-blitting).
GraBitBlt( [<oTargetPS>], [<oSourcePS>], <aTargetRect>, <aSourceRect>, [<nRasterOP>], [<nCompress>] ) --> lSuccess
GraBox()
Draws rectangle.
GraBox( [<oPS>], [<aLeftBottom>], <aRightTop>, [<nFill>], [<nHRadius>], [<nVRadius>] ) --> lSuccess
GraCaptionStr()
Draws a caption.
GraCaptionStr( [<oPS>], <aStartPoint>, [<aEndPoint>], <cCaption>, [<nAlign>], [<nTabChars>] ) --> lSuccess
GraEdge()
Draws parts of a rectangle.
GraEdge( <oPS>, [<aStart>], [<aEnd>], [<nStyle>], [<nElems>] ) --> lSuccess
GraError()
Determines the error code of the last graphic function called.
GraError( [<oPS>] ) --> nErrorCode
GraFocusRect()
Draws a rectangle using imagery that denotes input focus.
GraFocusRect( [<oPS>], [<aStartPoint>], [<aEndPoint>] ) --> lSuccess
GraGetRGBIntensity()
Calculates color intensities for red, green and blue from a RGB color value.
GraGetRGBIntensity( <nRGBColor> ) --> aRGB | NIL
GraGradient()
Draws a shape filled with a gradient.
GraGradient( [<oPS>], [<aStart>], <aVertices>, [<aColors>], [<nMode>] ) --> lSuccess
GraIsRGBColor()
Checks if a numeric value is a valid RGB color value.
GraIsRGBColor( <nColor> ) --> lIsRGBColor
GraLine()
Draws a straight line or a portion of a polygon.
GraLine( [<oPS>], [<aStartPoint>], <aEndPoint> ) --> lSuccess
GraMakeRGBColor()
Calculates a RGB color value from color intensities of red, green and blue.
GraMakeRGBColor( <aRGB> ) --> nRGBColor | NIL
GraMarker()
Displays a marker (point).
GraMarker( [<oPS>], [<aPoint>] ) --> lSuccess
GraPathBegin()
Begins definition of a graphic path.
GraPathBegin( [<oPS>] ) --> lSuccess
GraPathClip()
Defines graphic path as a clipping path.
GraPathClip( [<oPS>], [<lClip>], [<nClipMode>] ) --> lSuccess
GraPathEnd()
Ends the definition of a graphic path.
GraPathEnd( [<oPS>], [<lCloseFigure>] ) --> lSuccess
GraPathFill()
Fills a defined graphic path with a pattern.
GraPathFill( [<oPS>], [<nFillMode>] ) --> lSuccess
GraPathOutline()
Outlines a defined graphic path.
GraPathOutline( [<oPS>] ) --> lSuccess
GraPos()
Determines pen position or moves pen.
GraPos( [<oPS>], [ <aPoint> ] ) --> aPenPosition
GraQueryTextBox()
Determines coordinates for the boundaries of a character string.
GraQueryTextBox( [<oPS>], <cString> ) --> aPoints
GraRotate()
Calculates a rotational transformation for a matrix.
GraRotate( [<oPS>], <aMatrix>, <nAngle>, <aPoint>, [<nMode>] ) --> lSuccess
GraScale()
Calculates scaling transformation for a matrix.
GraScale( [<oPS>], <aMatrix>, <aScale>, <aPoint>, [<nMode>] ) --> lSuccess
GraSegClose()
Ends the definition of a graphic segment.
GraSegClose( [<oPS>] ) --> lSuccess
GraSegDestroy()
Deletes a specific graphic segment.
GraSegDestroy( [<oPS>], <nSegmentID> ) --> lSuccess
GraSegDraw()
Draws one or more graphic segments.
GraSegDraw( [<oPS>], [<nSegmentID>], [<aMatrix>], [<nMode>] ) --> lSuccess
GraSegDrawMode()
Sets or retrieves drawing mode for graphic segments.
GraSegDrawMode( [<oPS>], [<nDrawMode>] ) --> nOldMode
GraSegFind()
Identifies graphic segment based on a given point in the coordinate system.
GraSegFind( [<oPS>], <aPoint> ) --> aSegmentIDs
GraSegLoad()
Load a graphic segment from disk
GraSegLoad( [oPS], <cFileName>, [<nMode>] ) --> nSegId GraSegLoad( [oPS], <aSegBuf>, [<nMode>] ) --> aSegIds
GraSegOpen()
Begins the definition of a graphic segment.
GraSegOpen( [<oPS>], [<nMode>], [<nSegmentID>] ) --> nSegmentID
GraSegPickResolution()
Determines size of the sensitive region around the mouse pointer used to search for segments.
GraSegPickResolution( [<oPS>], [<aCenter>], [<aSize>] ) --> lSuccess
GraSegPriority()
Changes priority of a graphic segment in relation to a second segment.
GraSegPriority( [<oPS>], <nSegmentA>, <nSegmentB>, <nPriority> ) --> lSuccess
GraSegSave()
Save a graphic segment to disk
GraSegSave( [oPS], <cFileName>, <nSegId> ) --> <lSuccess> GraSegSave( [oPS], @<aSegBuf>, [<aSegIds>] ) --> <lSuccess>
GraSetAttrArea()
Determines attributes for areas which are drawn by GraArc() or GraBox()
GraSetAttrArea( [<oPS>], [<aAttributes>] ) --> aOldAttributes
GraSetAttrLine()
Determines attributes for lines which are drawn with GraLine().
GraSetAttrLine( [<oPS>], [<aAttributes>] ) --> aOldAttributes
GraSetAttrMarker()
Determines attributes for markers which are drawn by GraMarker().
GraSetAttrMarker( [<oPS>], [<aAttributes>] ) --> aOldAttributes
GraSetAttrString()
Determines attributes for characters drawn by GraStringAt().
GraSetAttrString( [<oPS>], [<aAttributes>] ) --> aOldAttributes
GraSetColor()
Determines default colors for all graphic functions.
GraSetColor( [<oPS>], [<nForeground>], [<nBackground>] ) --> aOldColor
GraSetFont()
Determines font for the display of characters drawn by GraStringAt().
GraSetFont( [<oPS>], [<oXbpFont>] ) --> oXbpCurrentFont
GraSpline()
Draws spline (curve).
GraSpline( [<oPS>], <aPoints>, [<lPenPos>] ) --> lSuccess
GraStringAt()
Displays character string using a graphic function.
GraStringAt( [<oPS>], [<aPoint>], <cString> ) --> lSuccess
GraTranslate()
Calculates translation (shift) transformation for a matrix.
GraTranslate( [<oPS>], <aMatrix>, <nXDiff>, <nYDiff>, [<nMode>] ) --> lSuccess
TranslateSysColor()
Converts a system color to an RGB-encoded color value.
TranslateSysColor( <nSysColor> ) --> nRGB
XbpBitmap()
Class
Class function of the XbpBitmap class.
XbpFileDev()
Class
Class function of the XbpFileDev class.
XbpMetaFile()
Class
Class function of the XbpMetaFile class.
XbpPresSpace()
Class
Class function of the XbpPresSpace class.
XbpPrinter()
Class
Class function of the XbpPrinter class.