kicad/common/gal
John Beard c3ff34e0df Add reset text attributes function to GAL - use for arc tool
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.
2017-03-31 15:59:31 +02:00
..
cairo Init GAL class members (Coverity fixes) 2017-03-30 16:05:56 +02:00
opengl OPENGL_GAL: Init currentTarget 2017-03-23 14:08:26 +01:00
color4d.cpp Add output stream operator for COLOR4D 2017-03-31 06:48:04 -04:00
gal_display_options.cpp Move cursor shape flag into GAL settings 2017-03-22 10:24:48 +01:00
graphics_abstraction_layer.cpp Add reset text attributes function to GAL - use for arc tool 2017-03-31 15:59:31 +02:00
stroke_font.cpp Fixes: lp:1629387 (pagelayout text sometimes shrinking) 2016-10-06 17:19:55 +02:00