GsSetClip2D

Sets a 2-dimensional clipping area

void GsSetClip2D (
        RECT *rectp
)

Arguments

rectp Pointer to a 2D clipping area

Return Value

None.

Explanation

The 2D area pointed to by rectp is set as the clipping area.
The clipping area is not affected by double buffer swapping, so the same area is automatically clipped regardless of which buffer is active.
GsSetDrawBuffClip() must be called in order for the clip area to take effect immediately. Otherwise, the setting becomes valid with the next frame.

See Also

GsSetDrawBuffClip(), RECT