Definition at line 188 of file ___pixeltypes.h.
189 {
190 int size = 0;
191 for (int i = 0; i < num_strips; i++) {
192 size += sizes[i];
193 pib->_sizes[i] = sizes[i];
194 }
195
196 pib->_num_strips = num_strips;
197
198 ledpointer = (Pixel *)calloc(size,
sizeof(Pixel));
200 pib->_size = 0;
201 } else {
202 pib->_size = size;
203 }
204 pib->_direction = direction;
205 }
References Pixels(), _direction, _num_strips, _size, _sizes, and ledpointer.