PATHOBJ *CLIPOBJ_ppoGetPath(
CLIPOBJ *pco | |
); |
CLIPOBJ_ppoGetPath creates a PATHOBJ structure that contains the outline of the specified clip region.
The return value is a pointer to a PATHOBJ structure if the function is successful. Otherwise, it is null, and an error code is logged.
The returned PATHOBJ should be deleted using EngDeletePath when the driver no longer needs it.
A driver for a device that can download a clipping path might prefer this function for defining complex regions.