2013/10/15 Johan Engelen <jbc.engelen@...2592...>:
Hi all, I just found this in sp-root.h:
class SPRoot : public SPGroup { ... bool viewBox_set : true;
I do not know what it means. Does it mean: bool viewBox_set : 1;
If so, let's change it to a more recognizable format?
I guess this was made by the same person who made a mess in the display tree with the same sort of changes. Preferably it should be reverted - there should be no performance difference between bools and bitfields on modern processors, since accesses to memory locations smaller than int are implemented in the microcode as aligned access + bit operations.
In the longer term, this particular bitfield should be replaced with Geom::ViewBox, which I recently added to 2Geom.
Regards, Krzysztof