From fcb747658bec94cc69344e2e561b63bf00b31765 Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Wed, 17 Apr 2013 10:51:45 +0200 Subject: [PATCH] Remove old file. --- include/mapnik/char_info.hpp | 69 ------------------------------------ 1 file changed, 69 deletions(-) delete mode 100644 include/mapnik/char_info.hpp diff --git a/include/mapnik/char_info.hpp b/include/mapnik/char_info.hpp deleted file mode 100644 index bd55b6a84..000000000 --- a/include/mapnik/char_info.hpp +++ /dev/null @@ -1,69 +0,0 @@ -/***************************************************************************** - * - * This file is part of Mapnik (c++ mapping toolkit) - * - * Copyright (C) 2011 Artem Pavlenko - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - * - *****************************************************************************/ - -#ifndef MAPNIK_CHAR_INFO_HPP -#define MAPNIK_CHAR_INFO_HPP - -#include -#include - -namespace mapnik { - -class char_info -{ -public: - char_info(unsigned c_, double width_, double ymax_, double ymin_, double line_height_) - : c(c_), - width(width_), - line_height(line_height_), - ymin(ymin_), - ymax(ymax_), - avg_height(ymax - ymin), - format() - { - } - - char_info() - : c(0), - width(0), - line_height(0), - ymin(0), - ymax(0), - avg_height(0), - format() - { - } - - double height() const { return ymax-ymin; } - - unsigned c; - double width; - double line_height; - double ymin; - double ymax; - double avg_height; - char_properties_ptr format; - -}; -} - -#endif //MAPNIK_CHAR_INFO_HPP