Blend2D
2D Vector Graphics Engine
BitSet word iterator [C++ API].
Low-level iterator that sees a BitSet as an array of bit words. It only iterates non-zero words and returns zero at the end of iteration.
A simple way of printing all non-zero words of a BitWord:
Creates a default constructed iterator, not initialized to iterate any BitSet.
Creates an iterator, that will iterate the given bitSet
.
bitSet
cannot change or be destroyed during iteration. Creates a copy of other
iterator.
Resets the iterator (puts it into a default constructed state).
Reinitializes the iterator to iterate the given bitSet
, from the beginning.
Returns the next (or the first, if called the first time) non-zero word of the BitSet or zero if the iteration ended.
Use wordIndex()
to get the index (in word units) of the word returned.
Returns the current bit index of a word returned by nextWord()
.
Returns the current word index of a word returned by nextWord()
.