kmSetGlobalClipping

Sets global clipping.

KMSTATUS KMAPI
kmSetGlobalClipping(
IN KMINT32 nWidth,
IN KMINT32 nHeight
)

Description:

This function specifies a global clipping area. Rendering is performed only in the area determined by the 0,0 origin, Width, and Height.

Parameters:

nWidth, nHeight(input)
These parameters specify a global clipping area as a multiple of 32. To specify a 128 x 64 area, for example, set Width to 4 and Height to 2.

Return values:

Value | Explanation
--- | ---
KMSTATUS_SUCCESS | Success
KMSTATUS_INVALID_PARAMETER | Setting failed

kmSetGlobalClipping