CLIPOBJ_ppoGetPath

PATHOBJ  *CLIPOBJ_ppoGetPath(

    CLIPOBJ  *pco
  );

CLIPOBJ_ppoGetPath creates a PATHOBJ structure that contains the outline of the specified clip region.

Parameters

pco

Pointer to a CLIPOBJ structure that defines the specified clip region.

Return Value

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.

Comments

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.

See Also

CLIPOBJ, EngDeletePath, PATHOBJ