Looking at the pattern usage of the functions on fl_vertex.cxx it seems that they are a class on itself:
Basically the pattern is: fl_push_matrix(); fl_translate(x, y); fl_scale(x, y); do any drawing work with the transformed matrix including any nested new transformations fl_pop_matrix(); // return the stack to it's original state. I didn't found a cross class usage of the matrix stack, so if the are used and restored inside each class (and only few classes use it) it seems that turning then into a class tha is instantiated by the class or function that will use it makes sense and eliminate this botleneck. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
