kicad/include/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 Remove not used cursor fields & methods in Cairo GAL 2017-03-22 10:37:43 +01:00
opengl Smoother arc rendering in OpenGL GAL 2017-03-10 14:08:59 +01:00
color4d.h Add output stream operator for COLOR4D 2017-03-31 06:48:04 -04:00
compositor.h Initialize fields in COMPOSITOR 2017-01-13 16:46:45 +01:00
definitions.h Mainly case changes. 2013-10-14 20:40:36 +02:00
gal_display_options.h Move cursor shape flag into GAL settings 2017-03-22 10:24:48 +01:00
graphics_abstraction_layer.h Add reset text attributes function to GAL - use for arc tool 2017-03-31 15:59:31 +02:00
stroke_font.h Moved text settings from STROKE_FONT to GAL. 2016-05-02 15:56:12 +02:00