added reference_point to glyphs for legends
added quad legends