ufmFree(3w) ufmFree(3w)
ufmFree - free an area of memory that was allocated by UFM
#include <ufm.h>
void ufmFree(void *ufmPointer)
ufmFree frees the data the pointer ufmPointer points to. You must use
the function ufmFree to free any objects that were allocated by the
Universal Font Manager (UFM), unless an alternate UFM function is
explicitly specified for the object.
For example, your program should call ufmFree if it wants to free the
memory allocated for a font path by ufmGetFontPath. If it wants to free
character bitmaps, font information, character outlines, scalable
character metrics, typeface information, or typeface lists returned by
ufmGetBitmap, ufmGetFontInfo, ufmGetOutline, ufmGetScalableMetrics,
ufmGetTypefaceInfo or ufmGetTypefaceList, it should call ufmFreeBitmap,
ufmFreeFontInfo, ufmFreeOutline, ufmFreeScalableMetrics,
ufmFreeTypefaceInfo and ufmFreeTypefaceList, respectively.
ufmFreeBitmap(3w), ufmFreeFontInfo(3w), ufmFreeOutline(3w),
ufmFreeScalableMetrics(3w), ufmFreeTypefaceInfo(3w),
ufmFreeTypefaceList(3w), ufmGetFontPath(3w).
If the argument ufmPointer has the value NULL, ufmFree will not use that
value.
PPPPaaaaggggeeee 1111 [ Back ]
|