From ae9dedeb27506b1a17fa5dab449d786eca20085e Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 9 Sep 2011 23:46:39 +0000 Subject: [PATCH] add line_symbolizer cpp --- src/build.py | 1 + src/line_symbolizer.cpp | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 src/line_symbolizer.cpp diff --git a/src/build.py b/src/build.py index c53e8312a..2d62eb709 100644 --- a/src/build.py +++ b/src/build.py @@ -112,6 +112,7 @@ source = Split( image_reader.cpp image_util.cpp layer.cpp + line_symbolizer.cpp line_pattern_symbolizer.cpp map.cpp load_map.cpp diff --git a/src/line_symbolizer.cpp b/src/line_symbolizer.cpp new file mode 100644 index 000000000..d6ae7e08f --- /dev/null +++ b/src/line_symbolizer.cpp @@ -0,0 +1,41 @@ +/***************************************************************************** + * + * This file is part of Mapnik (c++ mapping toolkit) + * + * Copyright (C) 2006 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 + * + *****************************************************************************/ + +//$Id$ +// mapnik +#include +#include + +namespace mapnik +{ + +static const char * line_rasterizer_strings[] = { + "full", + "fast", + "" +}; + + +IMPLEMENT_ENUM( line_rasterizer_e, line_rasterizer_strings ) + +} +