# -*- coding: utf-8 -*- #Copyright (c) 2012 Walter Bender # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # You should have received a copy of the GNU General Public License # along with this library; if not, write to the Free Software # Foundation, 51 Franklin Street, Suite 500 Boston, MA 02110-1335 def svg_header(colors): return '\n\ \n\ \n\ ]>\n\ \n' % (colors[0], colors[1]) def svg_king(color): return ' \n\ \n\ \n\ \n\ \n\ \n\ ' % (color) def svg_queen(color): return ' \n\ \n\ \n\ \n\ \n\ \n\ ' % (color) def svg_bishop(color): return ' \n\ \n\ \n\ \n\ \n\ \n\ ' % (color) def svg_knight(color): return ' \n\ \n\ \n\ \n\ \n\ \n\ ' % (color) def svg_rook(color): return ' \n\ \n\ \n\ \n\ \n\ \n\ ' % (color) def svg_pawn(color): return ' \n\ \n\ \n\ \n\ ' % (color) def svg_footer(): return '\n'