formatting

This commit is contained in:
Dane Springmeyer 2012-11-28 19:33:09 -08:00
parent 629d768eae
commit 5f900206d1

View file

@ -89,10 +89,14 @@ transform_type const& symbolizer_base::get_transform() const
std::string symbolizer_base::get_transform_string() const
{
if (affine_transform_)
{
return transform_processor_type::to_string(*affine_transform_);
}
else
{
return std::string();
}
}
void symbolizer_base::set_clip(bool clip)
{
@ -189,9 +193,13 @@ transform_type const& symbolizer_with_image::get_image_transform() const
std::string symbolizer_with_image::get_image_transform_string() const
{
if (image_transform_)
{
return transform_processor_type::to_string(*image_transform_);
}
else
{
return std::string();
}
}
} // end of namespace mapnik