pub unsafe fn vexDisplayClipRegionSetWithIndex(
index: i32,
x1: i32,
y1: i32,
x2: i32,
y2: i32,
)
Expand description
Sets a rectangular region of the display’s framebuffer that the a given task index is allowed to modify.
When set, any draws to the display made by the target task outside of its defined clip region will not be drawn.
Derived from https://github.com/jpearman/V5_CompetitionTest/blob/efb7214b983d30d5583e39b343161c26d7187766/include/comp_debug.h#L40
§Safety
Calls to jumptable functions are unsafe because jumptable functions are owned by VEXos and we cannot guarantee their safety.