SetClippingPath

Vector graphics, Path definition and drawing

Description

Uses the current path as a clipping path for subsequent drawing operations.

The current path is combined with the existing clipping path, this means that the clipping area can only be made smaller.

To restore the clipping path, call SaveState before calling this function and then LoadState to restore the clipping path to its previous state.

Syntax

Delphi

function TPDFlib.SetClippingPath: Integer;

ActiveX

Function PDFlib::SetClippingPath As Long

DLL

int DLSetClippingPath(int InstanceID);