+ add get/set opacity impl
This commit is contained in:
parent
9826cf98c5
commit
d4643e6d87
1 changed files with 10 additions and 0 deletions
|
@ -63,6 +63,16 @@ transform_type const& symbolizer_with_image::get_transform() const
|
||||||
return matrix_;
|
return matrix_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void symbolizer_with_image::set_opacity(float opacity)
|
||||||
|
{
|
||||||
|
opacity_ = opacity;
|
||||||
|
}
|
||||||
|
|
||||||
|
float symbolizer_with_image::get_opacity() const
|
||||||
|
{
|
||||||
|
return opacity_;
|
||||||
|
}
|
||||||
|
|
||||||
} // end of namespace mapnik
|
} // end of namespace mapnik
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue