# cdContextCaps

Definition: | include pGUI.e atom res = cdContextCaps(cdContext context)
Description: | Returns the resources available for that context.
pwa/p2js: | Not supported.
Comments: | To verify if a given resource is available, perform and_bits() with the following values: CD_CAP_FLUSH CD_CAP_CLEAR CD_CAP_PLAY CD_CAP_YAXIS - The native Y axis orientation is bottom-up. CD_CAP_CLIPAREA CD_CAP_CLIPPOLY - Usually is not implemented. CD_CAP_REGION - Usually is not implemented. CD_CAP_RECT - Rectangles are implemented directly in the driver (they are usually simulated). CD_CAP_CHORD CD_CAP_IMAGERGB CD_CAP_IMAGERGBA - If this is not implemented, but cdGetImageRGB is, then it is simulated using cdGetImageRGB and cdPutImageRGB. CD_CAP_IMAGEMAP CD_CAP_GETIMAGERGB CD_CAP_IMAGESRV - Usually is only implemented in contexts of window graphics systems (Native Window and IUP). CD_CAP_BACKGROUND CD_CAP_BACKOPACITY CD_CAP_WRITEMODE CD_CAP_LINESTYLE CD_CAP_LINEWITH CD_CAP_FPRIMTIVES - Primitives using floatig point coordinates are implemented directly in the driver (they are usually simulated). CD_CAP_HATCH CD_CAP_STIPPLE CD_CAP_PATTERN CD_CAP_FONT CD_CAP_FONTDIM - If not defined, the function is implemented using an internal heuristics of the library. CD_CAP_TEXTSIZE - If not defined, the function is implemented using an internal heuristics of the library. CD_CAP_TEXTORIENTATION - Usually is not implemented. CD_CAP_PALETTE - Usually is only implemented in contexts of window graphics systems (Native Window and IUP). CD_CAP_LINECAP CD_CAP_LINEJOIN CD_CAP_PATH CD_CAP_BEZIER