formatting
This commit is contained in:
parent
629d768eae
commit
5f900206d1
1 changed files with 8 additions and 0 deletions
|
@ -89,9 +89,13 @@ 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
|
||||
|
|
Loading…
Reference in a new issue