## Printer Device Driver

[prev][next][parent][TOC]

### apply_clipping()

Determines the overall clipping rectangle and returns it to the caller. If the prIn of the passed-in rectangle is not zero, it is included. If the prIn of the passed-in rectangle is zero, it is ignored. The basic clipping information is obtained from the DDC.

Following are the three states of the clipping handles:

AC_RECT0 (Effectively) no clipping. prResult untouched.
AC_RECT1 One clip rectangle, returned in prResult.
AC_RECT2 Multiple clipping rectangles.