c3ff34e0df
Independent drawing functions (that don't expect any particular state to be set up fo them) on the GAL need to reset the GAL properties they use. This adds GAL::ResetTextAttributes() to make this easier. This is important, as failing to reset mirroring can cause asserts in OpenGL. This is used in the Ruler tool (which previously did it one attribute at a time) and also the Arc layout assistant, which previously failed to reset mirroring. Also reset on GAL construction, as these members appear to be uninitialised. |
||
---|---|---|
.. | ||
arc_assistant.cpp | ||
arc_geom_manager.cpp | ||
bright_box.cpp | ||
centreline_rect_item.cpp | ||
polygon_geom_manager.cpp | ||
polygon_item.cpp | ||
preview_utils.cpp | ||
ruler_item.cpp | ||
selection_area.cpp | ||
simple_overlay_item.cpp |