Package: gtk

Function gtk:bitset-remove-rectangle

Lambda List

gtk:bitset-remove-rectangle (bitset start width height stride)

Arguments

bitset -- a gtk:bitset instance
start -- an unsigned integer with the first value to remove
width -- an unsigned integer with the width of the rectangle
height -- an unsigned integer with the height of the rectangle
stride -- an unsigned integer with the row stride of the grid

Details

Interprets the values as a 2-dimensional boolean grid with the given stride and inside that grid, removes a rectangle with the given width and height.

Notes

This funtion is equivalent to:
(dotimes (i height)
  (gtk:bitset-remove-range bitset (+ (* i stride) start) width))    
 

See also

2023-9-27