rename stroke=>line, add line painter classes

This commit is contained in:
Konstantin Käfer
2014-01-28 14:09:07 +01:00
parent 31fca20c16
commit f19d5c95db
14 changed files with 104 additions and 66 deletions

View File

@@ -328,6 +328,10 @@ void Painter::renderFill(FillBucket& bucket, const std::string& layer_name) {
glStencilFunc(GL_EQUAL, 0x80, 0x80);
}
void Painter::renderLine(LineBucket& bucket, const std::string& layer_name) {
const LineProperties& properties = style.computed.lines[layer_name];
}
void Painter::renderDebug(const Tile::Ptr& tile) {
// Blend to the front, not the back.
glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);