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. |
||
---|---|---|
.. | ||
cairo | ||
opengl | ||
color4d.h | ||
compositor.h | ||
definitions.h | ||
gal_display_options.h | ||
graphics_abstraction_layer.h | ||
stroke_font.h |