formatting
This commit is contained in:
parent
40b0ab8d6c
commit
2e2bce3126
3 changed files with 8 additions and 8 deletions
|
@ -71,7 +71,7 @@ void set_join_caps(Stroke const& stroke_, PathType & stroke)
|
|||
default:
|
||||
stroke.generator().line_join(agg::bevel_join);
|
||||
}
|
||||
|
||||
|
||||
line_cap_e cap=stroke_.get_line_cap();
|
||||
switch (cap)
|
||||
{
|
||||
|
@ -85,7 +85,7 @@ void set_join_caps(Stroke const& stroke_, PathType & stroke)
|
|||
stroke.generator().line_cap(agg::round_cap);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endif //MAPNIK_AGG_HELPERS_HPP
|
||||
|
|
|
@ -169,12 +169,12 @@ public:
|
|||
|
||||
glyph_ptr get_glyph(unsigned c) const
|
||||
{
|
||||
BOOST_FOREACH ( face_ptr const& face, faces_)
|
||||
BOOST_FOREACH ( face_ptr const& face, faces_)
|
||||
{
|
||||
FT_UInt g = face->get_char(c);
|
||||
if (g) return boost::make_shared<font_glyph>(face, g);
|
||||
}
|
||||
|
||||
|
||||
// Final fallback to empty square if nothing better in any font
|
||||
return boost::make_shared<font_glyph>(*faces_.begin(), 0);
|
||||
}
|
||||
|
@ -185,7 +185,7 @@ public:
|
|||
|
||||
void set_pixel_sizes(unsigned size)
|
||||
{
|
||||
BOOST_FOREACH ( face_ptr const& face, faces_)
|
||||
BOOST_FOREACH ( face_ptr const& face, faces_)
|
||||
{
|
||||
face->set_pixel_sizes(size);
|
||||
}
|
||||
|
@ -193,7 +193,7 @@ public:
|
|||
|
||||
void set_character_sizes(float size)
|
||||
{
|
||||
BOOST_FOREACH ( face_ptr const& face, faces_)
|
||||
BOOST_FOREACH ( face_ptr const& face, faces_)
|
||||
{
|
||||
face->set_character_sizes(size);
|
||||
}
|
||||
|
|
|
@ -83,12 +83,12 @@ struct MAPNIK_DECL line_symbolizer : public symbolizer_base
|
|||
{
|
||||
smooth_ = smooth;
|
||||
}
|
||||
|
||||
|
||||
double smooth() const
|
||||
{
|
||||
return smooth_;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
stroke stroke_;
|
||||
line_rasterizer_e rasterizer_p_;
|
||||
|
|
Loading…
Reference in a new issue