DVUI

clipSet

Set the current clipping rect to the given physical rect.

Only valid between Window.beginand Window.end.

Parameters

#
r:Rect.Physical
Rect.Physical

Source

Implementation

#
pub fn clipSet(r: Rect.Physical) void {
    currentWindow().clipRect = r;
}