From abae1a1fec490645fa17b1ab278fb6bc6deef74f Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Fri, 20 Jan 2012 22:28:06 +0100 Subject: [PATCH] Remove unused file. --- include/mapnik/label_placement.hpp | 53 ------------------------------ workspace/mapnik.pro | 1 - 2 files changed, 54 deletions(-) delete mode 100644 include/mapnik/label_placement.hpp diff --git a/include/mapnik/label_placement.hpp b/include/mapnik/label_placement.hpp deleted file mode 100644 index a667516a9..000000000 --- a/include/mapnik/label_placement.hpp +++ /dev/null @@ -1,53 +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_LABEL_PLACEMENT_HPP -#define MAPNIK_LABEL_PLACEMENT_HPP - -namespace mapnik -{ -struct point_ -{ - double x; - double y; - point_() - : x(0),y(0) {} - point_(double x_,double y_) - : x(x_),y(y_) {} -}; - -class label_placement -{ -private: - point_ anchor_; - point_ displacement_; - double rotation_; -public: - label_placement() - : anchor_(), - displacement_(), - rotation_(0.0) {} - -}; -} - -#endif // MAPNIK_LABEL_PLACEMENT_HPP diff --git a/workspace/mapnik.pro b/workspace/mapnik.pro index a297e8fc9..5f9f9c615 100644 --- a/workspace/mapnik.pro +++ b/workspace/mapnik.pro @@ -91,7 +91,6 @@ HEADERS += \ ../include/mapnik/image_view.hpp \ ../include/mapnik/jpeg_io.hpp \ ../include/mapnik/label_collision_detector.hpp \ - ../include/mapnik/label_placement.hpp \ ../include/mapnik/layer.hpp \ ../include/mapnik/libxml2_loader.hpp \ ../include/mapnik/line_pattern_symbolizer.hpp \