Clipping

A display driver or display hardware can clip if it can discard output that would be outside of a specified rectangle or region if drawn on the screen. GDI checks the dpClip member in the GDIINFO structure to determine whether the display driver can clip output generated by the Output function. If a display driver can clip, it should set the bits in this member to specify clipping for rectangles or regions. If the display driver does not support clipping, GDI will simulate clipping. Drivers for Windows 95 typically set the dpClip member to CP_RECTANGLE. The DIB engine sets this bit for minidrivers.

Although dpClip only applies to output generated by the driver's Output function, other members in the GDIINFO structure specify clipping for other graphics output. For example, the dpText member specifies whether the display driver clips text.