Category: Images and Rendering
SetClipRegion(x As Integer, y As Integer, width As Integer, height As Integer)
Void
Restricts subsequent drawing to the specified rectangular region on the current active target.
Use ClearClipRegion to remove the clip region and restore full-target drawing.
Graphics 640, 480
SetClipRegion 32, 32, 200, 120
SetDrawColor 255, 255, 255
DrawFilledRect 0, 0, 640, 480
ClearClipRegion