MgraFree
| Board | Supported |
|---|---|
| Host System | Yes |
| V4L2 | Yes |
| Clarity UHD | Yes |
| Concord PoE | No |
| GenTL | Yes |
| GevIQ | Yes |
| GigE Vision | Yes |
| Indio | No |
| Iris GTX | Yes |
| Radient eV-CL | Yes |
| Rapixo CL | Yes |
| Rapixo CoF | Yes |
| Rapixo CXP | Yes |
| USB3 Vision | Yes |
Free a 2D graphics context or a 2D graphics list.
Syntax
void MgraFree(
AIL_ID ObjectId //in
)
Description
This function deallocates a 2D graphics context or a 2D graphics list previously allocated with MgraAlloc or MgraAllocList.
If you free a 2D graphics list that is annotating the display non-destructively (specified using MdispControl with M_ASSOCIATED_GRAPHIC_LIST_ID), the 2D graphics list is automatically disassociated from the display.
All 2D graphics contexts or 2D graphics lists allocated on a particular system must be freed before the system can be freed, unless M_UNIQUE_ID was specified during allocation.
Parameters
ObjectId (in, AIL_ID)
Specifies the identifier of the 2D graphics context or 2D graphics list to deallocate. If M_DEFAULT is specified, an error will occur.